-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
vi/drivers #44
vi/drivers #44
Conversation
…ixed FLL propagation to SECD/RT clocks
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Overall good
@@ -400,7 +400,7 @@ module astral_wrap | |||
.DIV_VALUE ( 100 ), | |||
.ENABLE_CLOCK_IN_RESET( 1'b1 ) | |||
) i_rt_clk_div ( | |||
.clk_i ( clk_fll_out[3] ), | |||
.clk_i ( clk_fll_out[4] ), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Forse qua si può direttamente passare clk_fll_out[carfield_pkg::NumFll-1]
così cambia dinamicamente col parametro, ma minor fix,
#define PLL_ADDR_SPACE 0x200 | ||
#define PLL_BASE_ADDRESS(id) (CAR_PLL_BASE_ADDRESS + (id+1)*PLL_ADDR_SPACE) | ||
// FLL | ||
#define FLL_BASE_ADDRESS 0x21003000 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Qui si potrebbe usare direttamente *fll
preso dai params.h ma anche questo minor fix.
#define FLL_INTEGR_REG 0x18 | ||
|
||
// Padframe | ||
#define PADFRAME_BASE_ADDRESS 0x21000000 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Qui si potrebbe usare direttamente *padframel
preso dai params.h ma anche questo minor fix.
Added FLL and Padframe drivers
Updated FLL test to use the driver
Fixed FLL propagation to SECD/RT clocks