mirror of
https://github.com/VLSIDA/OpenRAM.git
synced 2026-08-29 17:39:02 +02:00
Template section clone method
This commit is contained in:
@@ -43,6 +43,8 @@ class verilog:
|
||||
self.vf.write("`endif\n")
|
||||
|
||||
for port in self.all_ports:
|
||||
self.template.cloneSection("PORTS", "PORTS" + str(port))
|
||||
|
||||
if port in self.readwrite_ports:
|
||||
self.vf.write("// Port {0}: RW\n".format(port))
|
||||
elif port in self.read_ports:
|
||||
|
||||
Reference in New Issue
Block a user