mirror of https://github.com/VLSIDA/OpenRAM.git
Remove experimental power option.
This commit is contained in:
parent
51b0f125fb
commit
8c85230033
|
|
@ -154,7 +154,7 @@ class dff_buf_array(design.design):
|
||||||
gndn_pin=self.dff_insts[row, self.columns - 1].get_pin("gnd")
|
gndn_pin=self.dff_insts[row, self.columns - 1].get_pin("gnd")
|
||||||
self.add_path(gnd0_pin.layer, [gnd0_pin.lc(), gndn_pin.rc()], width=gnd0_pin.height())
|
self.add_path(gnd0_pin.layer, [gnd0_pin.lc(), gndn_pin.rc()], width=gnd0_pin.height())
|
||||||
|
|
||||||
if OPTS.experimental_power and self.rows > 1:
|
if self.rows > 1:
|
||||||
# Vertical straps on ends if multiple rows
|
# Vertical straps on ends if multiple rows
|
||||||
left_dff_insts = [self.dff_insts[x, 0] for x in range(self.rows)]
|
left_dff_insts = [self.dff_insts[x, 0] for x in range(self.rows)]
|
||||||
right_dff_insts = [self.dff_insts[x, self.columns-1] for x in range(self.rows)]
|
right_dff_insts = [self.dff_insts[x, self.columns-1] for x in range(self.rows)]
|
||||||
|
|
|
||||||
|
|
@ -256,15 +256,7 @@ class write_driver_array(design.design):
|
||||||
width=self.width)
|
width=self.width)
|
||||||
|
|
||||||
def route_supplies(self):
|
def route_supplies(self):
|
||||||
if OPTS.experimental_power:
|
|
||||||
self.route_horizontal_pins("vdd")
|
self.route_horizontal_pins("vdd")
|
||||||
self.route_horizontal_pins("gnd")
|
self.route_horizontal_pins("gnd")
|
||||||
else:
|
|
||||||
for i in range(self.word_size + self.num_spare_cols):
|
|
||||||
inst = self.local_insts[i]
|
|
||||||
for n in ["vdd", "gnd"]:
|
|
||||||
pin_list = inst.get_pins(n)
|
|
||||||
for pin in pin_list:
|
|
||||||
self.copy_power_pin(pin, directions=("V", "V"))
|
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -194,6 +194,3 @@ class options(optparse.Values):
|
||||||
write_driver_array = "write_driver_array"
|
write_driver_array = "write_driver_array"
|
||||||
write_driver = "write_driver"
|
write_driver = "write_driver"
|
||||||
write_mask_and_array = "write_mask_and_array"
|
write_mask_and_array = "write_mask_and_array"
|
||||||
|
|
||||||
# Non-public options
|
|
||||||
experimental_power = True
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue