From ee20126da6a0f51b3fd9c895463731951da7f4f4 Mon Sep 17 00:00:00 2001 From: Dennis Date: Thu, 3 Jun 2021 12:56:26 +0200 Subject: [PATCH] Add missing 'endmodule' keyword to addrmap --- srdl2sv/components/addrmap.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/srdl2sv/components/addrmap.py b/srdl2sv/components/addrmap.py index f65ff75..3a0ecc7 100644 --- a/srdl2sv/components/addrmap.py +++ b/srdl2sv/components/addrmap.py @@ -140,6 +140,9 @@ class AddrMap(Component): outputs = '\n'.join(output_ports_rtl))) + # Add endmodule keyword + self.rtl_footer.append('endmodule') + def __process_global_resets(self): field_reset_list = \ [x for x in self.obj.signals() if x.get_property('field_reset')]