Merge pull request #134 from Disasm/fix-orangecrab
Fix FPGA reset logic for orangecrab target
This commit is contained in:
commit
36b7fb1033
|
@ -69,7 +69,7 @@ class _CRG(Module):
|
||||||
reset_timer = WaitTimer(sys_clk_freq)
|
reset_timer = WaitTimer(sys_clk_freq)
|
||||||
self.submodules += reset_timer
|
self.submodules += reset_timer
|
||||||
self.comb += reset_timer.wait.eq(~rst_n)
|
self.comb += reset_timer.wait.eq(~rst_n)
|
||||||
self.comb += platform.request("rst_n").eq(reset_timer.done)
|
self.comb += platform.request("rst_n").eq(~reset_timer.done)
|
||||||
|
|
||||||
|
|
||||||
class _CRGSDRAM(Module):
|
class _CRGSDRAM(Module):
|
||||||
|
|
Loading…
Reference in New Issue