mirror of https://github.com/VLSIDA/OpenRAM.git
Add multiple control logic port types.
This commit is contained in:
parent
e550d6ff10
commit
37c15937e2
|
|
@ -22,10 +22,17 @@ class control_logic_test(openram_test):
|
|||
import control_logic
|
||||
import tech
|
||||
|
||||
# check control logic for single port
|
||||
debug.info(1, "Testing sample for control_logic")
|
||||
debug.info(1, "Testing sample for control_logic_rw")
|
||||
a = factory.create(module_type="control_logic", num_rows=128, words_per_row=1, word_size=32, write_size=32)
|
||||
self.local_check(a)
|
||||
|
||||
debug.info(1, "Testing sample for control_logic_r")
|
||||
a = factory.create(module_type="control_logic", num_rows=128, words_per_row=1, word_size=32, write_size=32, port_type="r")
|
||||
self.local_check(a)
|
||||
|
||||
debug.info(1, "Testing sample for control_logic_w")
|
||||
a = factory.create(module_type="control_logic", num_rows=128, words_per_row=1, word_size=32, write_size=32, port_type="w")
|
||||
self.local_check(a)
|
||||
|
||||
# run the test from the command line
|
||||
if __name__ == "__main__":
|
||||
|
|
|
|||
Loading…
Reference in New Issue