mirror of https://github.com/VLSIDA/OpenRAM.git
Comment updates
This commit is contained in:
parent
60224b105f
commit
3a692e2846
|
|
@ -230,13 +230,14 @@ class design(hierarchy_design):
|
||||||
self.write_ports = []
|
self.write_ports = []
|
||||||
# These are the write-only port indices.
|
# These are the write-only port indices.
|
||||||
self.writeonly_ports = []
|
self.writeonly_ports = []
|
||||||
# These are teh read/write and read-only port indice
|
# These are the read/write and read-only port indices
|
||||||
self.read_ports = []
|
self.read_ports = []
|
||||||
# These are the read-only port indices.
|
# These are the read-only port indices.
|
||||||
self.readonly_ports = []
|
self.readonly_ports = []
|
||||||
# These are all the ports
|
# These are all the ports
|
||||||
self.all_ports = list(range(total_ports))
|
self.all_ports = list(range(total_ports))
|
||||||
|
|
||||||
|
# The order is always fixed as RW, W, R
|
||||||
port_number = 0
|
port_number = 0
|
||||||
for port in range(OPTS.num_rw_ports):
|
for port in range(OPTS.num_rw_ports):
|
||||||
self.readwrite_ports.append(port_number)
|
self.readwrite_ports.append(port_number)
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue