mirror of https://github.com/VLSIDA/OpenRAM.git
Use non-channel route for s8 port_data
This commit is contained in:
parent
45b0601e4b
commit
f1b7b91b1a
|
|
@ -180,6 +180,7 @@ class port_data(design.design):
|
|||
# Precharge will be shifted left if needed
|
||||
self.precharge_array = factory.create(module_type="precharge_array",
|
||||
columns=self.num_cols + 1,
|
||||
port=self.port,
|
||||
bitcell_bl=self.bl_names[self.port],
|
||||
bitcell_br=self.br_names[self.port])
|
||||
self.add_mod(self.precharge_array)
|
||||
|
|
@ -250,6 +251,7 @@ class port_data(design.design):
|
|||
# module, which happens before we create the real precharge_array
|
||||
self.precharge_array = factory.create(module_type="precharge_array",
|
||||
columns=self.num_cols + 1,
|
||||
port=self.port,
|
||||
bitcell_bl=self.bl_names[self.port],
|
||||
bitcell_br=self.br_names[self.port])
|
||||
|
||||
|
|
@ -536,6 +538,13 @@ class port_data(design.design):
|
|||
|
||||
# This could be a channel route, but in some techs the bitlines
|
||||
# are too close together.
|
||||
if OPTS.tech_name == "s8":
|
||||
self.connect_bitlines(inst1=inst1,
|
||||
inst1_bls_template=inst1_bls_templ,
|
||||
inst2=inst2,
|
||||
num_bits=self.word_size,
|
||||
inst1_start_bit=start_bit)
|
||||
else:
|
||||
self.channel_route_bitlines(inst1=inst1,
|
||||
inst1_bls_template=inst1_bls_templ,
|
||||
inst2=inst2,
|
||||
|
|
@ -562,6 +571,12 @@ class port_data(design.design):
|
|||
|
||||
# This could be a channel route, but in some techs the bitlines
|
||||
# are too close together.
|
||||
if OPTS.tech_name == "s8":
|
||||
self.connect_bitlines(inst1=inst1, inst2=inst2,
|
||||
num_bits=self.word_size,
|
||||
inst1_bls_template=inst1_bls_templ,
|
||||
inst1_start_bit=start_bit)
|
||||
else:
|
||||
self.channel_route_bitlines(inst1=inst1, inst2=inst2,
|
||||
num_bits=self.word_size,
|
||||
inst1_bls_template=inst1_bls_templ,
|
||||
|
|
|
|||
Loading…
Reference in New Issue