mirror of https://github.com/VLSIDA/OpenRAM.git
trim bitcells and fix replica column excluding
This commit is contained in:
parent
3fc2a1e229
commit
be72bcfa01
|
|
@ -67,9 +67,9 @@ class bitcell_array(bitcell_base_array):
|
|||
self.pattern = pattern(self, "bitcell_array", core_block, num_rows=self.row_size, num_cols=self.column_size,name_template="bit_r{0}_c{1}")
|
||||
self.pattern.connect_array()
|
||||
|
||||
#for key in self.cell_inst.keys():
|
||||
# if key != (0,0):
|
||||
# self.trim_insts.add(self.cell_inst[key].name)
|
||||
for key in self.cell_inst.keys():
|
||||
if key != (0,0):
|
||||
self.trim_insts.add(self.cell_inst[key].name)
|
||||
|
||||
def analytical_power(self, corner, load):
|
||||
"""Power of Bitcell array and bitline in nW."""
|
||||
|
|
|
|||
|
|
@ -180,4 +180,4 @@ class replica_column(bitcell_base_array):
|
|||
|
||||
for row, cell in enumerate(self.cell_inst):
|
||||
if row != self.replica_bit:
|
||||
self.graph_inst_exclude.add(cell)
|
||||
self.graph_inst_exclude.add(self.cell_inst[cell])
|
||||
|
|
|
|||
Loading…
Reference in New Issue