mirror of https://github.com/VLSIDA/OpenRAM.git
uncomment test (passing)
This commit is contained in:
parent
d3199ea70e
commit
31364e508e
|
|
@ -227,7 +227,7 @@ class column_mux(pgate.pgate):
|
||||||
strap = factory.create(module_type=cell_props.strap_module, version=cell_props.strap_version)
|
strap = factory.create(module_type=cell_props.strap_module, version=cell_props.strap_version)
|
||||||
rbc_width = self.bitcell.width + strap.width
|
rbc_width = self.bitcell.width + strap.width
|
||||||
else:
|
else:
|
||||||
rbc_width = cell.width
|
rbc_width = self.bitcell.width
|
||||||
# Add it to the right, aligned in between the two tx
|
# Add it to the right, aligned in between the two tx
|
||||||
active_pos = vector(rbc_width,
|
active_pos = vector(rbc_width,
|
||||||
self.nmos_upper.by() - 0.5 * self.poly_space)
|
self.nmos_upper.by() - 0.5 * self.poly_space)
|
||||||
|
|
|
||||||
|
|
@ -26,20 +26,20 @@ class single_bank_test(openram_test):
|
||||||
c = sram_config(word_size=4,
|
c = sram_config(word_size=4,
|
||||||
num_words=16)
|
num_words=16)
|
||||||
|
|
||||||
# c.words_per_row=1
|
c.words_per_row=1
|
||||||
# factory.reset()
|
factory.reset()
|
||||||
# c.recompute_sizes()
|
c.recompute_sizes()
|
||||||
# debug.info(1, "No column mux")
|
debug.info(1, "No column mux")
|
||||||
# a = factory.create("bank", sram_config=c)
|
a = factory.create("bank", sram_config=c)
|
||||||
# self.local_check(a)
|
self.local_check(a)
|
||||||
|
|
||||||
# c.num_words=32
|
c.num_words=32
|
||||||
# c.words_per_row=2
|
c.words_per_row=2
|
||||||
# factory.reset()
|
factory.reset()
|
||||||
# c.recompute_sizes()
|
c.recompute_sizes()
|
||||||
# debug.info(1, "Two way column mux")
|
debug.info(1, "Two way column mux")
|
||||||
# a = factory.create("bank", sram_config=c)
|
a = factory.create("bank", sram_config=c)
|
||||||
# self.local_check(a)
|
self.local_check(a)
|
||||||
|
|
||||||
c.num_words=64
|
c.num_words=64
|
||||||
c.words_per_row=4
|
c.words_per_row=4
|
||||||
|
|
@ -49,14 +49,14 @@ class single_bank_test(openram_test):
|
||||||
a = factory.create("bank", sram_config=c)
|
a = factory.create("bank", sram_config=c)
|
||||||
self.local_check(a)
|
self.local_check(a)
|
||||||
|
|
||||||
#c.word_size=2
|
c.word_size=2
|
||||||
#c.num_words=128
|
c.num_words=128
|
||||||
#c.words_per_row=8
|
c.words_per_row=8
|
||||||
#factory.reset()
|
factory.reset()
|
||||||
#c.recompute_sizes()
|
c.recompute_sizes()
|
||||||
#debug.info(1, "Eight way column mux")
|
debug.info(1, "Eight way column mux")
|
||||||
#a = factory.create("bank", sram_config=c)
|
a = factory.create("bank", sram_config=c)
|
||||||
#self.local_check(a)
|
self.local_check(a)
|
||||||
|
|
||||||
globals.end_openram()
|
globals.end_openram()
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue