Add missing 'endmodule' keyword to addrmap

This commit is contained in:
Dennis Potter 2021-06-03 12:56:26 +02:00
parent 22f88efcd8
commit ee20126da6
Signed by: Dennis
GPG Key ID: 186A8AD440942BAF

View File

@ -140,6 +140,9 @@ class AddrMap(Component):
outputs = '\n'.join(output_ports_rtl))) outputs = '\n'.join(output_ports_rtl)))
# Add endmodule keyword
self.rtl_footer.append('endmodule')
def __process_global_resets(self): def __process_global_resets(self):
field_reset_list = \ field_reset_list = \
[x for x in self.obj.signals() if x.get_property('field_reset')] [x for x in self.obj.signals() if x.get_property('field_reset')]