mirror of https://github.com/VLSIDA/OpenRAM.git
Fix syntax error
This commit is contained in:
parent
a62b85a6b1
commit
4fef632dce
|
|
@ -28,7 +28,7 @@ class write_mask_and_array(design.design):
|
||||||
self.columns = columns
|
self.columns = columns
|
||||||
self.word_size = word_size
|
self.word_size = word_size
|
||||||
self.write_size = write_size
|
self.write_size = write_size
|
||||||
self.column_offset
|
self.column_offset = column_offset
|
||||||
self.words_per_row = int(columns / word_size)
|
self.words_per_row = int(columns / word_size)
|
||||||
self.num_wmasks = int(word_size / write_size)
|
self.num_wmasks = int(word_size / write_size)
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -21,15 +21,15 @@ class single_level_column_mux_test(openram_test):
|
||||||
globals.init_openram(config_file)
|
globals.init_openram(config_file)
|
||||||
|
|
||||||
debug.info(1, "Testing sample for 2-way column_mux_array")
|
debug.info(1, "Testing sample for 2-way column_mux_array")
|
||||||
a = factory.create(module_type="single_level_column_mux_array", columns=16, port=0, word_size=8)
|
a = factory.create(module_type="single_level_column_mux_array", columns=16, word_size=8)
|
||||||
self.local_check(a)
|
self.local_check(a)
|
||||||
|
|
||||||
debug.info(1, "Testing sample for 4-way column_mux_array")
|
debug.info(1, "Testing sample for 4-way column_mux_array")
|
||||||
a = factory.create(module_type="single_level_column_mux_array", columns=16, port=0, word_size=4)
|
a = factory.create(module_type="single_level_column_mux_array", columns=16, word_size=4)
|
||||||
self.local_check(a)
|
self.local_check(a)
|
||||||
|
|
||||||
debug.info(1, "Testing sample for 8-way column_mux_array")
|
debug.info(1, "Testing sample for 8-way column_mux_array")
|
||||||
a = factory.create(module_type="single_level_column_mux_array", columns=32, port=0, word_size=4)
|
a = factory.create(module_type="single_level_column_mux_array", columns=32, word_size=4)
|
||||||
self.local_check(a)
|
self.local_check(a)
|
||||||
|
|
||||||
globals.end_openram()
|
globals.end_openram()
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue