Fix active_low/active_high reset bug

A negation was added for active_high, rather than an active_low reset.
This commit is contained in:
Dennis Potter 2021-05-24 11:49:51 +02:00
parent b7c1a12179
commit 44c87af8cb
Signed by: Dennis
GPG Key ID: 186A8AD440942BAF
1 changed files with 1 additions and 1 deletions

View File

@ -239,7 +239,7 @@ class Field(Component):
Field.templ_dict['rst_field_assign']['rtl'].format(
path = self.path_underscored,
rst_name = self.rst['name'],
rst_negl = "!" if self.rst['active'] == "active_high" else "",
rst_negl = "!" if self.rst['active'] == "active_low" else "",
rst_value = self.rst['value'],
genvars = self.genvars_str))