mirror of
https://github.com/VLSIDA/OpenRAM.git
synced 2026-08-29 17:39:02 +02:00
Move place function to instance class rather than hierarchy.
This commit is contained in:
@@ -63,10 +63,8 @@ class tri_gate_array(design.design):
|
||||
def place_array(self):
|
||||
""" Place the tri gate to the array """
|
||||
for i in range(0,self.columns,self.words_per_row):
|
||||
name = "Xtri_gate{0}".format(i)
|
||||
base = vector(i*self.tri.width, 0)
|
||||
self.place_inst(name=name,
|
||||
offset=base)
|
||||
self.tri_inst[i].place(base)
|
||||
|
||||
|
||||
def add_layout_pins(self):
|
||||
|
||||
Reference in New Issue
Block a user