mirror of
https://github.com/VLSIDA/OpenRAM.git
synced 2026-09-03 16:31:08 +02:00
Make pinvbuf have unique names for GDS compliance.
Add back gating of w_en since write should happen in second half or else we will have write and precharge simultaneously active.
This commit is contained in:
@@ -349,12 +349,12 @@ class control_logic(design.design):
|
||||
|
||||
# input: WE, CS output: w_en_bar
|
||||
w_en_bar_offset = vector(x_off, y_off)
|
||||
self.w_en_bar_inst=self.add_inst(name="nand2_w_en_bar",
|
||||
mod=self.nand2,
|
||||
self.w_en_bar_inst=self.add_inst(name="nand3_w_en_bar",
|
||||
mod=self.nand3,
|
||||
offset=w_en_bar_offset,
|
||||
mirror=mirror)
|
||||
self.connect_inst(["cs", "we", "w_en_bar", "vdd", "gnd"])
|
||||
x_off += self.nand2.width
|
||||
self.connect_inst(["clk_buf_bar", "cs", "we", "w_en_bar", "vdd", "gnd"])
|
||||
x_off += self.nand3.width
|
||||
|
||||
# input: w_en_bar, output: pre_w_en
|
||||
pre_w_en_offset = vector(x_off, y_off)
|
||||
@@ -460,7 +460,7 @@ class control_logic(design.design):
|
||||
|
||||
|
||||
def route_wen(self):
|
||||
wen_map = zip(["A", "B"], ["cs", "we"])
|
||||
wen_map = zip(["A", "B", "C"], ["clk_buf_bar", "cs", "we"])
|
||||
self.connect_vertical_bus(wen_map, self.w_en_bar_inst, self.rail_offsets)
|
||||
|
||||
# Connect the NAND3 output to the inverter
|
||||
|
||||
Reference in New Issue
Block a user