self.check_if_exists(name)
if with_build_time:
identifier += " " + build_time()
- setattr(self.submodules, name, Identifier(ident))
+ setattr(self.submodules, name, Identifier(identifier))
self.csr.add(name + "_mem", use_loc_if_exists=True)
# Add UART -------------------------------------------------------------------------------------
if integrated_main_ram_size:
self.add_ram("main_ram", self.mem_map["main_ram"], integrated_main_ram_size)
+ # Add Identifier
+ if ident != "":
+ self.add_identifier("identifier", identifier=ident, with_build_time=ident_version)
+
# Add UART
if with_uart:
self.add_uart(name=uart_name, baudrate=uart_baudrate)