frontend/bist: make LFSR output comb
Otherwise first output after reset is 0. Signed-off-by: Michal Sieron <msieron@antmicro.com>
This commit is contained in:
parent
f466c5f1db
commit
73c3ec6b68
|
@ -52,10 +52,8 @@ class LFSR(Module):
|
|||
curval.insert(0, nv)
|
||||
curval.pop()
|
||||
|
||||
self.sync += [
|
||||
state.eq(Cat(*curval[:n_state])),
|
||||
self.o.eq(Cat(*curval))
|
||||
]
|
||||
self.sync += state.eq(Cat(*curval[:n_state]))
|
||||
self.comb += self.o.eq(Cat(*curval))
|
||||
|
||||
# Counter ------------------------------------------------------------------------------------------
|
||||
|
||||
|
|
Loading…
Reference in New Issue