mirror of
https://github.com/VLSIDA/OpenRAM.git
synced 2026-09-04 08:44:12 +02:00
Move place function to instance class rather than hierarchy.
This commit is contained in:
@@ -75,12 +75,10 @@ class dff_inv(design.design):
|
||||
|
||||
def place_modules(self):
|
||||
# Place the DFF
|
||||
self.place_inst(name="dff_inv_dff",
|
||||
offset=vector(0,0))
|
||||
self.dff_inst.place(vector(0,0))
|
||||
|
||||
# Place the INV1 to the right
|
||||
self.place_inst(name="dff_inv_inv1",
|
||||
offset=vector(self.dff_inst.rx(),0))
|
||||
self.inv1_inst.place(vector(self.dff_inst.rx(),0))
|
||||
|
||||
|
||||
def add_wires(self):
|
||||
|
||||
Reference in New Issue
Block a user