enjoy-digital / litedram

Small footprint and configurable DRAM core
Other
365 stars 115 forks source link

Setting for user_clk #333

Open ztachip opened 1 year ago

ztachip commented 1 year ago

I assume that user_clk is the clock for the AXI interface. Do I have a choice on this clock? Can I set user_clk to any clock value? Thanks

enjoy-digital commented 1 year ago

Hi @ztachip,

user_clk is indeed the clock of the user interfaces. This is provided by the core and you have to use it for the user interfaces. It's possible to adjust this clk by setting sys_clk_freq but I would first recommend using a value closed to the one used in an example to start with and then do small change/test increments.

The variation range will be limited by: