VhdlRegMapGeneratorWrapper.py
def write_reg_map_implementation(self, vhdlGen, dir_path):
		"""
		Write register map implementation. Create separate entity file for
		each register memory block.
		"""
		for block in vhdlGen.memMap.addressBlock:
			print("Processing memory block: " + block.name)
			
			if (block.usage == "register"):
				file_path = os.path.join(dir_path, block.name.lower() + "_reg_map.vhd")

				of = open(file_path, 'w')
				vhdlGen.set_of(of)

				write_license(self.lic_text, '-', of)
				vhdlGen.write_reg_block(block)
				vhdlGen.commit_to_file()

				of.close()

			else:
				print("Skipping unsupported block type: " + block.usage)

			print("\n")

		Write register map implementation. Create separate entity file for
		each register memory block.
		
Write register map implementation. Create separate entity file for
each register memory block.
Write register map implementation . Create separate entity file for each register memory block .
def write_reg_map_implementation(self, vhdlGen, dir_path):
		for block in vhdlGen.memMap.addressBlock:
			print("Processing memory block: " + block.name)
			if (block.usage == "register"):
				file_path = os.path.join(dir_path, block.name.lower() + "_reg_map.vhd")
				of = open(file_path, 'w')
				vhdlGen.set_of(of)
				write_license(self.lic_text, '-', of)
				vhdlGen.write_reg_block(block)
				vhdlGen.commit_to_file()
				of.close()
			else:
				print("Skipping unsupported block type: " + block.usage)
			print("\n")
def write_reg_map_implementation ( self , vhdlGen , dir_path ) : for block in vhdlGen . memMap . addressBlock : print ( "Processing memory block: " + block . name ) if ( block . usage == "register" ) : file_path = os . path . join ( dir_path , block . name . lower ( ) + "_reg_map.vhd" ) of = open ( file_path , 'w' ) vhdlGen . set_of ( of ) write_license ( self . lic_text , '-' , of ) vhdlGen . write_reg_block ( block ) vhdlGen . commit_to_file ( ) of . close ( ) else : print ( "Skipping unsupported block type: " + block . usage ) print ( "\n" )
Write register map implementation.
Write register map implementation .
"""
		Write register map implementation. Create separate entity file for
		each register memory block.
		"""
self
vhdlGen
dir_path