mirror of https://github.com/VLSIDA/OpenRAM.git
Fix replica column bit index
This commit is contained in:
parent
2954f13294
commit
da48b8d98c
|
|
@ -180,7 +180,7 @@ class replica_column(bitcell_base_array):
|
||||||
for port in self.all_ports:
|
for port in self.all_ports:
|
||||||
for row in range(row_range_min, row_range_max):
|
for row in range(row_range_min, row_range_max):
|
||||||
wl_pin = self.cell_inst[row].get_pin(self.cell.get_wl_name(port))
|
wl_pin = self.cell_inst[row].get_pin(self.cell.get_wl_name(port))
|
||||||
self.add_layout_pin(text="wl_{0}_{1}".format(port, row),
|
self.add_layout_pin(text="wl_{0}_{1}".format(port, row - row_range_min),
|
||||||
layer=wl_pin.layer,
|
layer=wl_pin.layer,
|
||||||
offset=wl_pin.ll().scale(0, 1),
|
offset=wl_pin.ll().scale(0, 1),
|
||||||
width=self.width,
|
width=self.width,
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue