Altering control logic for read ports and write ports, by including only read or write specific circuitry. Altering replica bitline layout to support multiport

This commit is contained in:
Michael Timothy Grimes
2018-09-25 20:00:25 -07:00
parent 934959952b
commit f1560375fc
4 changed files with 157 additions and 102 deletions
+17
View File
@@ -51,6 +51,23 @@ class replica_bitline_test(openram_test):
a = replica_bitline.replica_bitline(stages,fanout,rows)
self.local_check(a)
OPTS.num_rw_ports = 1
OPTS.num_w_ports = 1
OPTS.num_r_ports = 1
stages=4
fanout=4
rows=13
debug.info(2, "Testing RBL with {0} FO4 stages, {1} rows".format(stages,rows))
a = replica_bitline.replica_bitline(stages,fanout,rows)
self.local_check(a)
stages=8
rows=100
debug.info(2, "Testing RBL with {0} FO4 stages, {1} rows".format(stages,rows))
a = replica_bitline.replica_bitline(stages,fanout,rows)
self.local_check(a)
globals.end_openram()
# instantiate a copy of the class to actually run the test
+13 -1
View File
@@ -24,7 +24,6 @@ class control_logic_test(openram_test):
self.local_check(a)
# check control logic for multi-port
# only layout for 1RW is supported at the moment
OPTS.bitcell = "pbitcell"
OPTS.replica_bitcell = "replica_pbitcell"
OPTS.num_rw_ports = 1
@@ -34,6 +33,19 @@ class control_logic_test(openram_test):
debug.info(1, "Testing sample for control_logic for multiport")
a = control_logic.control_logic(num_rows=128)
self.local_check(a)
# Check write-only and read-only control logic
OPTS.num_rw_ports = 1
OPTS.num_w_ports = 1
OPTS.num_r_ports = 1
debug.info(1, "Testing sample for control_logic for multiport, only write control logic")
a = control_logic.control_logic(num_rows=128, port="w")
self.local_check(a)
debug.info(1, "Testing sample for control_logic for multiport, only read control logic")
a = control_logic.control_logic(num_rows=128, port="r")
self.local_check(a)
globals.end_openram()