mirror of
https://github.com/enjoy-digital/litex.git
synced 2025-01-04 09:52:26 -05:00
cores/uart/RS232ClkPhaseAccum: Avoid reset on phase signal, improve timings/resources on iCE40.
This commit is contained in:
parent
4c8184fbb6
commit
d6f24f2f68
1 changed files with 1 additions and 1 deletions
|
@ -46,7 +46,7 @@ class RS232ClkPhaseAccum(Module):
|
|||
|
||||
# # #
|
||||
|
||||
phase = Signal(32)
|
||||
phase = Signal(32, reset_less=True)
|
||||
self.sync += Cat(phase, self.tick).eq(tuning_word if mode == "tx" else 2**31)
|
||||
self.sync += If(self.enable, Cat(phase, self.tick).eq(phase + tuning_word))
|
||||
|
||||
|
|
Loading…
Reference in a new issue