Fix issue that causes 'input None' if no reset is present for a field

This commit is contained in:
Dennis Potter 2021-09-06 22:42:32 -07:00
parent 24d5534037
commit 5475bbf62d
Signed by: Dennis
GPG Key ID: 186A8AD440942BAF

View File

@ -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'] = \