targets/nexys4ddr: fix sdcard clocker initialization #408
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Following the new clocker from enjoy-digital/litesdcard@2d4230c this is my attempt to get the nexys4ddr to successfully build using
--with-sdcard
once again. Based on my experiments, one would now have to go with at leastfrom the LiteX bios command line. Anything below 20 and initialization fails for me (rocket cpu at
sys_clk_freq=67e6
-- the maximum that will pass timing for rocket when--with-ethernet
is also selected).@enjoy-digital PTAL at the new
add_period_constraint()
statements in particular, as I'm not sureperiod_ns(self.sys_clk_freq))
is the right value for the constraints (in fact I'm not sure I understand how that part works at all, so if you can explain or point me to where I can figure it out more easily, I'd appreciate that too :) )