Use single height for netlist_only mode

This commit is contained in:
mrg 2020-04-09 09:48:54 -07:00
parent 58fbc5351a
commit 8a55c223df
1 changed files with 3 additions and 1 deletions

View File

@ -38,9 +38,11 @@ class hierarchical_decoder(design.design):
self.create_layout()
def find_decoder_height(self):
b = factory.create(module_type="bitcell")
# Old behavior
# return (b.height, 1)
if OPTS.netlist_only:
return (b.height, 1)
# Search for the smallest multiple that works
cell_multiple = 1