mirror of https://github.com/VLSIDA/OpenRAM.git
Use single height for netlist_only mode
This commit is contained in:
parent
58fbc5351a
commit
8a55c223df
|
|
@ -38,9 +38,11 @@ class hierarchical_decoder(design.design):
|
||||||
self.create_layout()
|
self.create_layout()
|
||||||
|
|
||||||
def find_decoder_height(self):
|
def find_decoder_height(self):
|
||||||
|
|
||||||
b = factory.create(module_type="bitcell")
|
b = factory.create(module_type="bitcell")
|
||||||
# Old behavior
|
# Old behavior
|
||||||
# return (b.height, 1)
|
if OPTS.netlist_only:
|
||||||
|
return (b.height, 1)
|
||||||
|
|
||||||
# Search for the smallest multiple that works
|
# Search for the smallest multiple that works
|
||||||
cell_multiple = 1
|
cell_multiple = 1
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue