mirror of https://github.com/VLSIDA/OpenRAM.git
Template section clone method
This commit is contained in:
parent
9158e92a71
commit
bde4a389aa
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Reference in New Issue