mirror of
https://github.com/Silicon1602/srdl2sv.git
synced 2024-12-22 06:58:41 +00:00
Fix issue that causes 'input None' if no reset is present for a field
This commit is contained in:
parent
24d5534037
commit
5475bbf62d
@ -1068,7 +1068,8 @@ class Field(Component):
|
||||
self.rst = Field.process_reset_signal(
|
||||
obj.get_property("resetsignal"))
|
||||
|
||||
self.resets.add(self.rst['name'])
|
||||
if self.rst['name']:
|
||||
self.resets.add(self.rst['name'])
|
||||
|
||||
# Value of reset must always be determined on field level
|
||||
self.rst['value'] = \
|
||||
|
Loading…
Reference in New Issue
Block a user