mirror of
https://github.com/Silicon1602/srdl2sv.git
synced 2024-12-22 15:08:39 +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,6 +1068,7 @@ class Field(Component):
|
|||||||
self.rst = Field.process_reset_signal(
|
self.rst = Field.process_reset_signal(
|
||||||
obj.get_property("resetsignal"))
|
obj.get_property("resetsignal"))
|
||||||
|
|
||||||
|
if self.rst['name']:
|
||||||
self.resets.add(self.rst['name'])
|
self.resets.add(self.rst['name'])
|
||||||
|
|
||||||
# Value of reset must always be determined on field level
|
# Value of reset must always be determined on field level
|
||||||
|
Loading…
Reference in New Issue
Block a user