mirror of https://github.com/VLSIDA/OpenRAM.git
Change default to scmos. Refactor add column mux.
This commit is contained in:
parent
c75eafe085
commit
929122b6dc
|
|
@ -51,10 +51,10 @@ def parse_args():
|
|||
version="OpenRAM")
|
||||
|
||||
(options, args) = parser.parse_args(values=OPTS)
|
||||
# If we don't specify a tech, assume freepdk45.
|
||||
# If we don't specify a tech, assume scmos.
|
||||
# This may be overridden when we read a config file though...
|
||||
if OPTS.tech_name == "":
|
||||
OPTS.tech_name = "freepdk45"
|
||||
OPTS.tech_name = "scmos"
|
||||
# Alias SCMOS to AMI 0.5um
|
||||
if OPTS.tech_name == "scmos":
|
||||
OPTS.tech_name = "scn3me_subm"
|
||||
|
|
|
|||
|
|
@ -116,13 +116,7 @@ class bank(design.design):
|
|||
self.add_precharge_array()
|
||||
|
||||
# Below the bitcell array
|
||||
if self.col_addr_size > 0:
|
||||
# The m2 width is because the 6T cell may have vias on the boundary edge for
|
||||
# overlapping when making the array
|
||||
self.column_mux_height = self.column_mux_array.height + 0.5*self.m2_width
|
||||
self.add_column_mux_array()
|
||||
else:
|
||||
self.column_mux_height = 0
|
||||
self.add_column_mux_array()
|
||||
self.add_sense_amp_array()
|
||||
self.add_write_driver_array()
|
||||
self.add_tri_gate_array()
|
||||
|
|
@ -259,6 +253,13 @@ class bank(design.design):
|
|||
|
||||
def add_column_mux_array(self):
|
||||
""" Adding Column Mux when words_per_row > 1 . """
|
||||
if self.col_addr_size > 0:
|
||||
# The m2 width is because the 6T cell may have vias on the boundary edge for
|
||||
# overlapping when making the array
|
||||
self.column_mux_height = self.column_mux_array.height + 0.5*self.m2_width
|
||||
else:
|
||||
self.column_mux_height = 0
|
||||
return
|
||||
|
||||
y_offset = self.column_mux_height
|
||||
self.col_mux_array_inst=self.add_inst(name="column_mux_array",
|
||||
|
|
|
|||
Loading…
Reference in New Issue