mirror of
https://github.com/myhdl/myhdl.git
synced 2025-01-24 21:52:56 +08:00
fix for reset=None
This commit is contained in:
parent
41ee7bb219
commit
2b613d6d77
@ -169,14 +169,13 @@ class _AlwaysSeq(_Instantiator):
|
||||
def genfunc_no_reset(self):
|
||||
senslist = self.senslist
|
||||
assert len(senslist) == 1
|
||||
senslist = senslist[0]
|
||||
func = self.func
|
||||
while 1:
|
||||
yield senslist
|
||||
func()
|
||||
|
||||
|
||||
|
||||
|
||||
# similar to always_comb, calls for refactoring
|
||||
# note: make a difference between augmented assign and inout signals
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user