mirror of https://github.com/VLSIDA/OpenRAM.git
Change default cell height and fix contact width error
This commit is contained in:
parent
35110a4453
commit
6bcffb8efb
|
|
@ -26,8 +26,8 @@ class pgate(design.design):
|
||||||
if height:
|
if height:
|
||||||
self.height = height
|
self.height = height
|
||||||
elif not height:
|
elif not height:
|
||||||
# By default, we make it 8 M1 pitch tall
|
# By default, we make it 10 M1 pitch tall
|
||||||
self.height = 8*self.m1_pitch
|
self.height = 10*self.m1_pitch
|
||||||
|
|
||||||
self.create_netlist()
|
self.create_netlist()
|
||||||
if not OPTS.netlist_only:
|
if not OPTS.netlist_only:
|
||||||
|
|
@ -103,7 +103,7 @@ class pgate(design.design):
|
||||||
- vector(0.5 * contact_width - 0.5 * self.poly_width, 0)
|
- vector(0.5 * contact_width - 0.5 * self.poly_width, 0)
|
||||||
elif position == "right":
|
elif position == "right":
|
||||||
contact_offset = left_gate_offset \
|
contact_offset = left_gate_offset \
|
||||||
+ vector(0.5 * contact.width + 0.5 * self.poly_width, 0)
|
+ vector(0.5 * contact_width + 0.5 * self.poly_width, 0)
|
||||||
else:
|
else:
|
||||||
debug.error("Invalid contact placement option.", -1)
|
debug.error("Invalid contact placement option.", -1)
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue