|
|
|
|
@@ -59,34 +59,34 @@ class WriteEnableTest extends MacroCompilerSpec with HasSRAMGenerator {
|
|
|
|
|
|
|
|
|
|
val output =
|
|
|
|
|
"""
|
|
|
|
|
circuit cc_banks_0_ext :
|
|
|
|
|
module cc_banks_0_ext :
|
|
|
|
|
input RW0_addr : UInt<12>
|
|
|
|
|
input RW0_clk : Clock
|
|
|
|
|
input RW0_wdata : UInt<64>
|
|
|
|
|
output RW0_rdata : UInt<64>
|
|
|
|
|
input RW0_en : UInt<1>
|
|
|
|
|
input RW0_wmode : UInt<1>
|
|
|
|
|
circuit cc_banks_0_ext :
|
|
|
|
|
module cc_banks_0_ext :
|
|
|
|
|
input RW0_addr : UInt<12>
|
|
|
|
|
input RW0_clk : Clock
|
|
|
|
|
input RW0_wdata : UInt<64>
|
|
|
|
|
output RW0_rdata : UInt<64>
|
|
|
|
|
input RW0_en : UInt<1>
|
|
|
|
|
input RW0_wmode : UInt<1>
|
|
|
|
|
|
|
|
|
|
inst mem_0_0 of fake_mem
|
|
|
|
|
mem_0_0.clk <= RW0_clk
|
|
|
|
|
mem_0_0.addr <= RW0_addr
|
|
|
|
|
node RW0_rdata_0_0 = bits(mem_0_0.dataout, 63, 0)
|
|
|
|
|
mem_0_0.datain <= bits(RW0_wdata, 63, 0)
|
|
|
|
|
mem_0_0.ren <= and(and(not(RW0_wmode), RW0_en), UInt<1>("h1"))
|
|
|
|
|
mem_0_0.wen <= and(and(and(RW0_wmode, RW0_en), UInt<1>("h1")), UInt<1>("h1"))
|
|
|
|
|
node RW0_rdata_0 = RW0_rdata_0_0
|
|
|
|
|
RW0_rdata <= mux(UInt<1>("h1"), RW0_rdata_0, UInt<1>("h0"))
|
|
|
|
|
inst mem_0_0 of fake_mem
|
|
|
|
|
mem_0_0.clk <= RW0_clk
|
|
|
|
|
mem_0_0.addr <= RW0_addr
|
|
|
|
|
node RW0_rdata_0_0 = bits(mem_0_0.dataout, 63, 0)
|
|
|
|
|
mem_0_0.datain <= bits(RW0_wdata, 63, 0)
|
|
|
|
|
mem_0_0.ren <= and(and(not(RW0_wmode), RW0_en), UInt<1>("h1"))
|
|
|
|
|
mem_0_0.wen <= and(and(and(RW0_wmode, RW0_en), UInt<1>("h1")), UInt<1>("h1"))
|
|
|
|
|
node RW0_rdata_0 = RW0_rdata_0_0
|
|
|
|
|
RW0_rdata <= mux(UInt<1>("h1"), RW0_rdata_0, UInt<1>("h0"))
|
|
|
|
|
|
|
|
|
|
extmodule fake_mem :
|
|
|
|
|
input addr : UInt<12>
|
|
|
|
|
input clk : Clock
|
|
|
|
|
input datain : UInt<64>
|
|
|
|
|
output dataout : UInt<64>
|
|
|
|
|
input ren : UInt<1>
|
|
|
|
|
input wen : UInt<1>
|
|
|
|
|
extmodule fake_mem :
|
|
|
|
|
input addr : UInt<12>
|
|
|
|
|
input clk : Clock
|
|
|
|
|
input datain : UInt<64>
|
|
|
|
|
output dataout : UInt<64>
|
|
|
|
|
input ren : UInt<1>
|
|
|
|
|
input wen : UInt<1>
|
|
|
|
|
|
|
|
|
|
defname = fake_mem
|
|
|
|
|
defname = fake_mem
|
|
|
|
|
"""
|
|
|
|
|
|
|
|
|
|
compileExecuteAndTest(mem, lib, v, output)
|
|
|
|
|
@@ -148,14 +148,14 @@ circuit cc_dir_ext :
|
|
|
|
|
mem_0_0.addr <= RW0_addr
|
|
|
|
|
node RW0_rdata_0_0 = bits(mem_0_0.dataout, 63, 0)
|
|
|
|
|
mem_0_0.datain <= bits(RW0_wdata, 63, 0)
|
|
|
|
|
mem_0_0.ren <= and(not(RW0_wmode), UInt<1>("h1"))
|
|
|
|
|
mem_0_0.ren <= and(and(not(RW0_wmode), RW0_en), UInt<1>("h1"))
|
|
|
|
|
mem_0_0.mport <= not(cat(bits(RW0_wmask, 3, 3), cat(bits(RW0_wmask, 3, 3), cat(bits(RW0_wmask, 3, 3), cat(bits(RW0_wmask, 3, 3), cat(bits(RW0_wmask, 3, 3), cat(bits(RW0_wmask, 3, 3), cat(bits(RW0_wmask, 3, 3), cat(bits(RW0_wmask, 3, 3), cat(bits(RW0_wmask, 3, 3), cat(bits(RW0_wmask, 3, 3), cat(bits(RW0_wmask, 3, 3), cat(bits(RW0_wmask, 3, 3), cat(bits(RW0_wmask, 3, 3), cat(bits(RW0_wmask, 3, 3), cat(bits(RW0_wmask, 3, 3), cat(bits(RW0_wmask, 3, 3), cat(bits(RW0_wmask, 2, 2), cat(bits(RW0_wmask, 2, 2), cat(bits(RW0_wmask, 2, 2), cat(bits(RW0_wmask, 2, 2), cat(bits(RW0_wmask, 2, 2), cat(bits(RW0_wmask, 2, 2), cat(bits(RW0_wmask, 2, 2), cat(bits(RW0_wmask, 2, 2), cat(bits(RW0_wmask, 2, 2), cat(bits(RW0_wmask, 2, 2), cat(bits(RW0_wmask, 2, 2), cat(bits(RW0_wmask, 2, 2), cat(bits(RW0_wmask, 2, 2), cat(bits(RW0_wmask, 2, 2), cat(bits(RW0_wmask, 2, 2), cat(bits(RW0_wmask, 2, 2), cat(bits(RW0_wmask, 1, 1), cat(bits(RW0_wmask, 1, 1), cat(bits(RW0_wmask, 1, 1), cat(bits(RW0_wmask, 1, 1), cat(bits(RW0_wmask, 1, 1), cat(bits(RW0_wmask, 1, 1), cat(bits(RW0_wmask, 1, 1), cat(bits(RW0_wmask, 1, 1), cat(bits(RW0_wmask, 1, 1), cat(bits(RW0_wmask, 1, 1), cat(bits(RW0_wmask, 1, 1), cat(bits(RW0_wmask, 1, 1), cat(bits(RW0_wmask, 1, 1), cat(bits(RW0_wmask, 1, 1), cat(bits(RW0_wmask, 1, 1), cat(bits(RW0_wmask, 1, 1), cat(bits(RW0_wmask, 0, 0), cat(bits(RW0_wmask, 0, 0), cat(bits(RW0_wmask, 0, 0), cat(bits(RW0_wmask, 0, 0), cat(bits(RW0_wmask, 0, 0), cat(bits(RW0_wmask, 0, 0), cat(bits(RW0_wmask, 0, 0), cat(bits(RW0_wmask, 0, 0), cat(bits(RW0_wmask, 0, 0), cat(bits(RW0_wmask, 0, 0), cat(bits(RW0_wmask, 0, 0), cat(bits(RW0_wmask, 0, 0), cat(bits(RW0_wmask, 0, 0), cat(bits(RW0_wmask, 0, 0), cat(bits(RW0_wmask, 0, 0), bits(RW0_wmask, 0, 0)))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))
|
|
|
|
|
mem_0_0.wen <= and(and(RW0_wmode, RW0_en), UInt<1>("h1"))
|
|
|
|
|
mem_0_1.clk <= RW0_clk
|
|
|
|
|
mem_0_1.addr <= RW0_addr
|
|
|
|
|
node RW0_rdata_0_1 = bits(mem_0_1.dataout, 63, 0)
|
|
|
|
|
mem_0_1.datain <= bits(RW0_wdata, 127, 64)
|
|
|
|
|
mem_0_1.ren <= and(not(RW0_wmode), UInt<1>("h1"))
|
|
|
|
|
mem_0_1.ren <= and(and(not(RW0_wmode), RW0_en), UInt<1>("h1"))
|
|
|
|
|
mem_0_1.mport <= not(cat(bits(RW0_wmask, 7, 7), cat(bits(RW0_wmask, 7, 7), cat(bits(RW0_wmask, 7, 7), cat(bits(RW0_wmask, 7, 7), cat(bits(RW0_wmask, 7, 7), cat(bits(RW0_wmask, 7, 7), cat(bits(RW0_wmask, 7, 7), cat(bits(RW0_wmask, 7, 7), cat(bits(RW0_wmask, 7, 7), cat(bits(RW0_wmask, 7, 7), cat(bits(RW0_wmask, 7, 7), cat(bits(RW0_wmask, 7, 7), cat(bits(RW0_wmask, 7, 7), cat(bits(RW0_wmask, 7, 7), cat(bits(RW0_wmask, 7, 7), cat(bits(RW0_wmask, 7, 7), cat(bits(RW0_wmask, 6, 6), cat(bits(RW0_wmask, 6, 6), cat(bits(RW0_wmask, 6, 6), cat(bits(RW0_wmask, 6, 6), cat(bits(RW0_wmask, 6, 6), cat(bits(RW0_wmask, 6, 6), cat(bits(RW0_wmask, 6, 6), cat(bits(RW0_wmask, 6, 6), cat(bits(RW0_wmask, 6, 6), cat(bits(RW0_wmask, 6, 6), cat(bits(RW0_wmask, 6, 6), cat(bits(RW0_wmask, 6, 6), cat(bits(RW0_wmask, 6, 6), cat(bits(RW0_wmask, 6, 6), cat(bits(RW0_wmask, 6, 6), cat(bits(RW0_wmask, 6, 6), cat(bits(RW0_wmask, 5, 5), cat(bits(RW0_wmask, 5, 5), cat(bits(RW0_wmask, 5, 5), cat(bits(RW0_wmask, 5, 5), cat(bits(RW0_wmask, 5, 5), cat(bits(RW0_wmask, 5, 5), cat(bits(RW0_wmask, 5, 5), cat(bits(RW0_wmask, 5, 5), cat(bits(RW0_wmask, 5, 5), cat(bits(RW0_wmask, 5, 5), cat(bits(RW0_wmask, 5, 5), cat(bits(RW0_wmask, 5, 5), cat(bits(RW0_wmask, 5, 5), cat(bits(RW0_wmask, 5, 5), cat(bits(RW0_wmask, 5, 5), cat(bits(RW0_wmask, 5, 5), cat(bits(RW0_wmask, 4, 4), cat(bits(RW0_wmask, 4, 4), cat(bits(RW0_wmask, 4, 4), cat(bits(RW0_wmask, 4, 4), cat(bits(RW0_wmask, 4, 4), cat(bits(RW0_wmask, 4, 4), cat(bits(RW0_wmask, 4, 4), cat(bits(RW0_wmask, 4, 4), cat(bits(RW0_wmask, 4, 4), cat(bits(RW0_wmask, 4, 4), cat(bits(RW0_wmask, 4, 4), cat(bits(RW0_wmask, 4, 4), cat(bits(RW0_wmask, 4, 4), cat(bits(RW0_wmask, 4, 4), cat(bits(RW0_wmask, 4, 4), bits(RW0_wmask, 4, 4)))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))))
|
|
|
|
|
mem_0_1.wen <= and(and(RW0_wmode, RW0_en), UInt<1>("h1"))
|
|
|
|
|
node RW0_rdata_0 = cat(RW0_rdata_0_1, RW0_rdata_0_0)
|
|
|
|
|
@@ -379,53 +379,53 @@ circuit smem_0_ext :
|
|
|
|
|
mem_0_0.CE1 <= W0_clk
|
|
|
|
|
mem_0_0.A1 <= W0_addr
|
|
|
|
|
mem_0_0.I1 <= bits(W0_data, 21, 0)
|
|
|
|
|
mem_0_0.OEB1 <= not(and(not(UInt<1>("h1")), eq(W0_addr_sel, UInt<1>("h0"))))
|
|
|
|
|
mem_0_0.OEB1 <= not(and(and(not(UInt<1>("h1")), W0_en), eq(W0_addr_sel, UInt<1>("h0"))))
|
|
|
|
|
mem_0_0.WEB1 <= not(and(and(UInt<1>("h1"), bits(W0_mask, 0, 0)), eq(W0_addr_sel, UInt<1>("h0"))))
|
|
|
|
|
mem_0_0.CSB1 <= not(and(W0_en, eq(W0_addr_sel, UInt<1>("h0"))))
|
|
|
|
|
mem_0_1.CE1 <= W0_clk
|
|
|
|
|
mem_0_1.A1 <= W0_addr
|
|
|
|
|
mem_0_1.I1 <= bits(W0_data, 43, 22)
|
|
|
|
|
mem_0_1.OEB1 <= not(and(not(UInt<1>("h1")), eq(W0_addr_sel, UInt<1>("h0"))))
|
|
|
|
|
mem_0_1.OEB1 <= not(and(and(not(UInt<1>("h1")), W0_en), eq(W0_addr_sel, UInt<1>("h0"))))
|
|
|
|
|
mem_0_1.WEB1 <= not(and(and(UInt<1>("h1"), bits(W0_mask, 1, 1)), eq(W0_addr_sel, UInt<1>("h0"))))
|
|
|
|
|
mem_0_1.CSB1 <= not(and(W0_en, eq(W0_addr_sel, UInt<1>("h0"))))
|
|
|
|
|
mem_0_2.CE1 <= W0_clk
|
|
|
|
|
mem_0_2.A1 <= W0_addr
|
|
|
|
|
mem_0_2.I1 <= bits(W0_data, 65, 44)
|
|
|
|
|
mem_0_2.OEB1 <= not(and(not(UInt<1>("h1")), eq(W0_addr_sel, UInt<1>("h0"))))
|
|
|
|
|
mem_0_2.OEB1 <= not(and(and(not(UInt<1>("h1")), W0_en), eq(W0_addr_sel, UInt<1>("h0"))))
|
|
|
|
|
mem_0_2.WEB1 <= not(and(and(UInt<1>("h1"), bits(W0_mask, 2, 2)), eq(W0_addr_sel, UInt<1>("h0"))))
|
|
|
|
|
mem_0_2.CSB1 <= not(and(W0_en, eq(W0_addr_sel, UInt<1>("h0"))))
|
|
|
|
|
mem_0_3.CE1 <= W0_clk
|
|
|
|
|
mem_0_3.A1 <= W0_addr
|
|
|
|
|
mem_0_3.I1 <= bits(W0_data, 87, 66)
|
|
|
|
|
mem_0_3.OEB1 <= not(and(not(UInt<1>("h1")), eq(W0_addr_sel, UInt<1>("h0"))))
|
|
|
|
|
mem_0_3.OEB1 <= not(and(and(not(UInt<1>("h1")), W0_en), eq(W0_addr_sel, UInt<1>("h0"))))
|
|
|
|
|
mem_0_3.WEB1 <= not(and(and(UInt<1>("h1"), bits(W0_mask, 3, 3)), eq(W0_addr_sel, UInt<1>("h0"))))
|
|
|
|
|
mem_0_3.CSB1 <= not(and(W0_en, eq(W0_addr_sel, UInt<1>("h0"))))
|
|
|
|
|
mem_0_0.CE2 <= R0_clk
|
|
|
|
|
mem_0_0.A2 <= R0_addr
|
|
|
|
|
node R0_data_0_0 = bits(mem_0_0.O2, 21, 0)
|
|
|
|
|
mem_0_0.I2 is invalid
|
|
|
|
|
mem_0_0.OEB2 <= not(and(not(UInt<1>("h0")), eq(R0_addr_sel, UInt<1>("h0"))))
|
|
|
|
|
mem_0_0.OEB2 <= not(and(and(not(UInt<1>("h0")), R0_en), eq(R0_addr_sel, UInt<1>("h0"))))
|
|
|
|
|
mem_0_0.WEB2 <= not(and(and(UInt<1>("h0"), UInt<1>("h1")), eq(R0_addr_sel, UInt<1>("h0"))))
|
|
|
|
|
mem_0_0.CSB2 <= not(and(R0_en, eq(R0_addr_sel, UInt<1>("h0"))))
|
|
|
|
|
mem_0_1.CE2 <= R0_clk
|
|
|
|
|
mem_0_1.A2 <= R0_addr
|
|
|
|
|
node R0_data_0_1 = bits(mem_0_1.O2, 21, 0)
|
|
|
|
|
mem_0_1.I2 is invalid
|
|
|
|
|
mem_0_1.OEB2 <= not(and(not(UInt<1>("h0")), eq(R0_addr_sel, UInt<1>("h0"))))
|
|
|
|
|
mem_0_1.OEB2 <= not(and(and(not(UInt<1>("h0")), R0_en), eq(R0_addr_sel, UInt<1>("h0"))))
|
|
|
|
|
mem_0_1.WEB2 <= not(and(and(UInt<1>("h0"), UInt<1>("h1")), eq(R0_addr_sel, UInt<1>("h0"))))
|
|
|
|
|
mem_0_1.CSB2 <= not(and(R0_en, eq(R0_addr_sel, UInt<1>("h0"))))
|
|
|
|
|
mem_0_2.CE2 <= R0_clk
|
|
|
|
|
mem_0_2.A2 <= R0_addr
|
|
|
|
|
node R0_data_0_2 = bits(mem_0_2.O2, 21, 0)
|
|
|
|
|
mem_0_2.I2 is invalid
|
|
|
|
|
mem_0_2.OEB2 <= not(and(not(UInt<1>("h0")), eq(R0_addr_sel, UInt<1>("h0"))))
|
|
|
|
|
mem_0_2.OEB2 <= not(and(and(not(UInt<1>("h0")), R0_en), eq(R0_addr_sel, UInt<1>("h0"))))
|
|
|
|
|
mem_0_2.WEB2 <= not(and(and(UInt<1>("h0"), UInt<1>("h1")), eq(R0_addr_sel, UInt<1>("h0"))))
|
|
|
|
|
mem_0_2.CSB2 <= not(and(R0_en, eq(R0_addr_sel, UInt<1>("h0"))))
|
|
|
|
|
mem_0_3.CE2 <= R0_clk
|
|
|
|
|
mem_0_3.A2 <= R0_addr
|
|
|
|
|
node R0_data_0_3 = bits(mem_0_3.O2, 21, 0)
|
|
|
|
|
mem_0_3.I2 is invalid
|
|
|
|
|
mem_0_3.OEB2 <= not(and(not(UInt<1>("h0")), eq(R0_addr_sel, UInt<1>("h0"))))
|
|
|
|
|
mem_0_3.OEB2 <= not(and(and(not(UInt<1>("h0")), R0_en), eq(R0_addr_sel, UInt<1>("h0"))))
|
|
|
|
|
mem_0_3.WEB2 <= not(and(and(UInt<1>("h0"), UInt<1>("h1")), eq(R0_addr_sel, UInt<1>("h0"))))
|
|
|
|
|
mem_0_3.CSB2 <= not(and(R0_en, eq(R0_addr_sel, UInt<1>("h0"))))
|
|
|
|
|
node R0_data_0 = cat(R0_data_0_3, cat(R0_data_0_2, cat(R0_data_0_1, R0_data_0_0)))
|
|
|
|
|
@@ -436,53 +436,53 @@ circuit smem_0_ext :
|
|
|
|
|
mem_1_0.CE1 <= W0_clk
|
|
|
|
|
mem_1_0.A1 <= W0_addr
|
|
|
|
|
mem_1_0.I1 <= bits(W0_data, 21, 0)
|
|
|
|
|
mem_1_0.OEB1 <= not(and(not(UInt<1>("h1")), eq(W0_addr_sel, UInt<1>("h1"))))
|
|
|
|
|
mem_1_0.OEB1 <= not(and(and(not(UInt<1>("h1")), W0_en), eq(W0_addr_sel, UInt<1>("h1"))))
|
|
|
|
|
mem_1_0.WEB1 <= not(and(and(UInt<1>("h1"), bits(W0_mask, 0, 0)), eq(W0_addr_sel, UInt<1>("h1"))))
|
|
|
|
|
mem_1_0.CSB1 <= not(and(W0_en, eq(W0_addr_sel, UInt<1>("h1"))))
|
|
|
|
|
mem_1_1.CE1 <= W0_clk
|
|
|
|
|
mem_1_1.A1 <= W0_addr
|
|
|
|
|
mem_1_1.I1 <= bits(W0_data, 43, 22)
|
|
|
|
|
mem_1_1.OEB1 <= not(and(not(UInt<1>("h1")), eq(W0_addr_sel, UInt<1>("h1"))))
|
|
|
|
|
mem_1_1.OEB1 <= not(and(and(not(UInt<1>("h1")), W0_en), eq(W0_addr_sel, UInt<1>("h1"))))
|
|
|
|
|
mem_1_1.WEB1 <= not(and(and(UInt<1>("h1"), bits(W0_mask, 1, 1)), eq(W0_addr_sel, UInt<1>("h1"))))
|
|
|
|
|
mem_1_1.CSB1 <= not(and(W0_en, eq(W0_addr_sel, UInt<1>("h1"))))
|
|
|
|
|
mem_1_2.CE1 <= W0_clk
|
|
|
|
|
mem_1_2.A1 <= W0_addr
|
|
|
|
|
mem_1_2.I1 <= bits(W0_data, 65, 44)
|
|
|
|
|
mem_1_2.OEB1 <= not(and(not(UInt<1>("h1")), eq(W0_addr_sel, UInt<1>("h1"))))
|
|
|
|
|
mem_1_2.OEB1 <= not(and(and(not(UInt<1>("h1")), W0_en), eq(W0_addr_sel, UInt<1>("h1"))))
|
|
|
|
|
mem_1_2.WEB1 <= not(and(and(UInt<1>("h1"), bits(W0_mask, 2, 2)), eq(W0_addr_sel, UInt<1>("h1"))))
|
|
|
|
|
mem_1_2.CSB1 <= not(and(W0_en, eq(W0_addr_sel, UInt<1>("h1"))))
|
|
|
|
|
mem_1_3.CE1 <= W0_clk
|
|
|
|
|
mem_1_3.A1 <= W0_addr
|
|
|
|
|
mem_1_3.I1 <= bits(W0_data, 87, 66)
|
|
|
|
|
mem_1_3.OEB1 <= not(and(not(UInt<1>("h1")), eq(W0_addr_sel, UInt<1>("h1"))))
|
|
|
|
|
mem_1_3.OEB1 <= not(and(and(not(UInt<1>("h1")), W0_en), eq(W0_addr_sel, UInt<1>("h1"))))
|
|
|
|
|
mem_1_3.WEB1 <= not(and(and(UInt<1>("h1"), bits(W0_mask, 3, 3)), eq(W0_addr_sel, UInt<1>("h1"))))
|
|
|
|
|
mem_1_3.CSB1 <= not(and(W0_en, eq(W0_addr_sel, UInt<1>("h1"))))
|
|
|
|
|
mem_1_0.CE2 <= R0_clk
|
|
|
|
|
mem_1_0.A2 <= R0_addr
|
|
|
|
|
node R0_data_1_0 = bits(mem_1_0.O2, 21, 0)
|
|
|
|
|
mem_1_0.I2 is invalid
|
|
|
|
|
mem_1_0.OEB2 <= not(and(not(UInt<1>("h0")), eq(R0_addr_sel, UInt<1>("h1"))))
|
|
|
|
|
mem_1_0.OEB2 <= not(and(and(not(UInt<1>("h0")), R0_en), eq(R0_addr_sel, UInt<1>("h1"))))
|
|
|
|
|
mem_1_0.WEB2 <= not(and(and(UInt<1>("h0"), UInt<1>("h1")), eq(R0_addr_sel, UInt<1>("h1"))))
|
|
|
|
|
mem_1_0.CSB2 <= not(and(R0_en, eq(R0_addr_sel, UInt<1>("h1"))))
|
|
|
|
|
mem_1_1.CE2 <= R0_clk
|
|
|
|
|
mem_1_1.A2 <= R0_addr
|
|
|
|
|
node R0_data_1_1 = bits(mem_1_1.O2, 21, 0)
|
|
|
|
|
mem_1_1.I2 is invalid
|
|
|
|
|
mem_1_1.OEB2 <= not(and(not(UInt<1>("h0")), eq(R0_addr_sel, UInt<1>("h1"))))
|
|
|
|
|
mem_1_1.OEB2 <= not(and(and(not(UInt<1>("h0")), R0_en), eq(R0_addr_sel, UInt<1>("h1"))))
|
|
|
|
|
mem_1_1.WEB2 <= not(and(and(UInt<1>("h0"), UInt<1>("h1")), eq(R0_addr_sel, UInt<1>("h1"))))
|
|
|
|
|
mem_1_1.CSB2 <= not(and(R0_en, eq(R0_addr_sel, UInt<1>("h1"))))
|
|
|
|
|
mem_1_2.CE2 <= R0_clk
|
|
|
|
|
mem_1_2.A2 <= R0_addr
|
|
|
|
|
node R0_data_1_2 = bits(mem_1_2.O2, 21, 0)
|
|
|
|
|
mem_1_2.I2 is invalid
|
|
|
|
|
mem_1_2.OEB2 <= not(and(not(UInt<1>("h0")), eq(R0_addr_sel, UInt<1>("h1"))))
|
|
|
|
|
mem_1_2.OEB2 <= not(and(and(not(UInt<1>("h0")), R0_en), eq(R0_addr_sel, UInt<1>("h1"))))
|
|
|
|
|
mem_1_2.WEB2 <= not(and(and(UInt<1>("h0"), UInt<1>("h1")), eq(R0_addr_sel, UInt<1>("h1"))))
|
|
|
|
|
mem_1_2.CSB2 <= not(and(R0_en, eq(R0_addr_sel, UInt<1>("h1"))))
|
|
|
|
|
mem_1_3.CE2 <= R0_clk
|
|
|
|
|
mem_1_3.A2 <= R0_addr
|
|
|
|
|
node R0_data_1_3 = bits(mem_1_3.O2, 21, 0)
|
|
|
|
|
mem_1_3.I2 is invalid
|
|
|
|
|
mem_1_3.OEB2 <= not(and(not(UInt<1>("h0")), eq(R0_addr_sel, UInt<1>("h1"))))
|
|
|
|
|
mem_1_3.OEB2 <= not(and(and(not(UInt<1>("h0")), R0_en), eq(R0_addr_sel, UInt<1>("h1"))))
|
|
|
|
|
mem_1_3.WEB2 <= not(and(and(UInt<1>("h0"), UInt<1>("h1")), eq(R0_addr_sel, UInt<1>("h1"))))
|
|
|
|
|
mem_1_3.CSB2 <= not(and(R0_en, eq(R0_addr_sel, UInt<1>("h1"))))
|
|
|
|
|
node R0_data_1 = cat(R0_data_1_3, cat(R0_data_1_2, cat(R0_data_1_1, R0_data_1_0)))
|
|
|
|
|
@@ -510,27 +510,27 @@ circuit smem_0_ext :
|
|
|
|
|
mem_0_0.CE1 <= W0_clk
|
|
|
|
|
mem_0_0.A1 <= W0_addr
|
|
|
|
|
mem_0_0.I1 <= bits(W0_data, 31, 0)
|
|
|
|
|
mem_0_0.OEB1 <= not(and(not(UInt<1>("h1")), eq(W0_addr_sel, UInt<2>("h0"))))
|
|
|
|
|
mem_0_0.OEB1 <= not(and(and(not(UInt<1>("h1")), W0_en), eq(W0_addr_sel, UInt<2>("h0"))))
|
|
|
|
|
mem_0_0.WEB1 <= not(and(and(UInt<1>("h1"), bits(W0_mask, 0, 0)), eq(W0_addr_sel, UInt<2>("h0"))))
|
|
|
|
|
mem_0_0.CSB1 <= not(and(W0_en, eq(W0_addr_sel, UInt<2>("h0"))))
|
|
|
|
|
mem_0_1.CE1 <= W0_clk
|
|
|
|
|
mem_0_1.A1 <= W0_addr
|
|
|
|
|
mem_0_1.I1 <= bits(W0_data, 63, 32)
|
|
|
|
|
mem_0_1.OEB1 <= not(and(not(UInt<1>("h1")), eq(W0_addr_sel, UInt<2>("h0"))))
|
|
|
|
|
mem_0_1.OEB1 <= not(and(and(not(UInt<1>("h1")), W0_en), eq(W0_addr_sel, UInt<2>("h0"))))
|
|
|
|
|
mem_0_1.WEB1 <= not(and(and(UInt<1>("h1"), bits(W0_mask, 0, 0)), eq(W0_addr_sel, UInt<2>("h0"))))
|
|
|
|
|
mem_0_1.CSB1 <= not(and(W0_en, eq(W0_addr_sel, UInt<2>("h0"))))
|
|
|
|
|
mem_0_0.CE2 <= R0_clk
|
|
|
|
|
mem_0_0.A2 <= R0_addr
|
|
|
|
|
node R0_data_0_0 = bits(mem_0_0.O2, 31, 0)
|
|
|
|
|
mem_0_0.I2 is invalid
|
|
|
|
|
mem_0_0.OEB2 <= not(and(not(UInt<1>("h0")), eq(R0_addr_sel, UInt<2>("h0"))))
|
|
|
|
|
mem_0_0.OEB2 <= not(and(and(not(UInt<1>("h0")), R0_en), eq(R0_addr_sel, UInt<2>("h0"))))
|
|
|
|
|
mem_0_0.WEB2 <= not(and(and(UInt<1>("h0"), UInt<1>("h1")), eq(R0_addr_sel, UInt<2>("h0"))))
|
|
|
|
|
mem_0_0.CSB2 <= not(and(R0_en, eq(R0_addr_sel, UInt<2>("h0"))))
|
|
|
|
|
mem_0_1.CE2 <= R0_clk
|
|
|
|
|
mem_0_1.A2 <= R0_addr
|
|
|
|
|
node R0_data_0_1 = bits(mem_0_1.O2, 31, 0)
|
|
|
|
|
mem_0_1.I2 is invalid
|
|
|
|
|
mem_0_1.OEB2 <= not(and(not(UInt<1>("h0")), eq(R0_addr_sel, UInt<2>("h0"))))
|
|
|
|
|
mem_0_1.OEB2 <= not(and(and(not(UInt<1>("h0")), R0_en), eq(R0_addr_sel, UInt<2>("h0"))))
|
|
|
|
|
mem_0_1.WEB2 <= not(and(and(UInt<1>("h0"), UInt<1>("h1")), eq(R0_addr_sel, UInt<2>("h0"))))
|
|
|
|
|
mem_0_1.CSB2 <= not(and(R0_en, eq(R0_addr_sel, UInt<2>("h0"))))
|
|
|
|
|
node R0_data_0 = cat(R0_data_0_1, R0_data_0_0)
|
|
|
|
|
@@ -539,27 +539,27 @@ circuit smem_0_ext :
|
|
|
|
|
mem_1_0.CE1 <= W0_clk
|
|
|
|
|
mem_1_0.A1 <= W0_addr
|
|
|
|
|
mem_1_0.I1 <= bits(W0_data, 31, 0)
|
|
|
|
|
mem_1_0.OEB1 <= not(and(not(UInt<1>("h1")), eq(W0_addr_sel, UInt<2>("h1"))))
|
|
|
|
|
mem_1_0.OEB1 <= not(and(and(not(UInt<1>("h1")), W0_en), eq(W0_addr_sel, UInt<2>("h1"))))
|
|
|
|
|
mem_1_0.WEB1 <= not(and(and(UInt<1>("h1"), bits(W0_mask, 0, 0)), eq(W0_addr_sel, UInt<2>("h1"))))
|
|
|
|
|
mem_1_0.CSB1 <= not(and(W0_en, eq(W0_addr_sel, UInt<2>("h1"))))
|
|
|
|
|
mem_1_1.CE1 <= W0_clk
|
|
|
|
|
mem_1_1.A1 <= W0_addr
|
|
|
|
|
mem_1_1.I1 <= bits(W0_data, 63, 32)
|
|
|
|
|
mem_1_1.OEB1 <= not(and(not(UInt<1>("h1")), eq(W0_addr_sel, UInt<2>("h1"))))
|
|
|
|
|
mem_1_1.OEB1 <= not(and(and(not(UInt<1>("h1")), W0_en), eq(W0_addr_sel, UInt<2>("h1"))))
|
|
|
|
|
mem_1_1.WEB1 <= not(and(and(UInt<1>("h1"), bits(W0_mask, 0, 0)), eq(W0_addr_sel, UInt<2>("h1"))))
|
|
|
|
|
mem_1_1.CSB1 <= not(and(W0_en, eq(W0_addr_sel, UInt<2>("h1"))))
|
|
|
|
|
mem_1_0.CE2 <= R0_clk
|
|
|
|
|
mem_1_0.A2 <= R0_addr
|
|
|
|
|
node R0_data_1_0 = bits(mem_1_0.O2, 31, 0)
|
|
|
|
|
mem_1_0.I2 is invalid
|
|
|
|
|
mem_1_0.OEB2 <= not(and(not(UInt<1>("h0")), eq(R0_addr_sel, UInt<2>("h1"))))
|
|
|
|
|
mem_1_0.OEB2 <= not(and(and(not(UInt<1>("h0")), R0_en), eq(R0_addr_sel, UInt<2>("h1"))))
|
|
|
|
|
mem_1_0.WEB2 <= not(and(and(UInt<1>("h0"), UInt<1>("h1")), eq(R0_addr_sel, UInt<2>("h1"))))
|
|
|
|
|
mem_1_0.CSB2 <= not(and(R0_en, eq(R0_addr_sel, UInt<2>("h1"))))
|
|
|
|
|
mem_1_1.CE2 <= R0_clk
|
|
|
|
|
mem_1_1.A2 <= R0_addr
|
|
|
|
|
node R0_data_1_1 = bits(mem_1_1.O2, 31, 0)
|
|
|
|
|
mem_1_1.I2 is invalid
|
|
|
|
|
mem_1_1.OEB2 <= not(and(not(UInt<1>("h0")), eq(R0_addr_sel, UInt<2>("h1"))))
|
|
|
|
|
mem_1_1.OEB2 <= not(and(and(not(UInt<1>("h0")), R0_en), eq(R0_addr_sel, UInt<2>("h1"))))
|
|
|
|
|
mem_1_1.WEB2 <= not(and(and(UInt<1>("h0"), UInt<1>("h1")), eq(R0_addr_sel, UInt<2>("h1"))))
|
|
|
|
|
mem_1_1.CSB2 <= not(and(R0_en, eq(R0_addr_sel, UInt<2>("h1"))))
|
|
|
|
|
node R0_data_1 = cat(R0_data_1_1, R0_data_1_0)
|
|
|
|
|
@@ -568,27 +568,27 @@ circuit smem_0_ext :
|
|
|
|
|
mem_2_0.CE1 <= W0_clk
|
|
|
|
|
mem_2_0.A1 <= W0_addr
|
|
|
|
|
mem_2_0.I1 <= bits(W0_data, 31, 0)
|
|
|
|
|
mem_2_0.OEB1 <= not(and(not(UInt<1>("h1")), eq(W0_addr_sel, UInt<2>("h2"))))
|
|
|
|
|
mem_2_0.OEB1 <= not(and(and(not(UInt<1>("h1")), W0_en), eq(W0_addr_sel, UInt<2>("h2"))))
|
|
|
|
|
mem_2_0.WEB1 <= not(and(and(UInt<1>("h1"), bits(W0_mask, 0, 0)), eq(W0_addr_sel, UInt<2>("h2"))))
|
|
|
|
|
mem_2_0.CSB1 <= not(and(W0_en, eq(W0_addr_sel, UInt<2>("h2"))))
|
|
|
|
|
mem_2_1.CE1 <= W0_clk
|
|
|
|
|
mem_2_1.A1 <= W0_addr
|
|
|
|
|
mem_2_1.I1 <= bits(W0_data, 63, 32)
|
|
|
|
|
mem_2_1.OEB1 <= not(and(not(UInt<1>("h1")), eq(W0_addr_sel, UInt<2>("h2"))))
|
|
|
|
|
mem_2_1.OEB1 <= not(and(and(not(UInt<1>("h1")), W0_en), eq(W0_addr_sel, UInt<2>("h2"))))
|
|
|
|
|
mem_2_1.WEB1 <= not(and(and(UInt<1>("h1"), bits(W0_mask, 0, 0)), eq(W0_addr_sel, UInt<2>("h2"))))
|
|
|
|
|
mem_2_1.CSB1 <= not(and(W0_en, eq(W0_addr_sel, UInt<2>("h2"))))
|
|
|
|
|
mem_2_0.CE2 <= R0_clk
|
|
|
|
|
mem_2_0.A2 <= R0_addr
|
|
|
|
|
node R0_data_2_0 = bits(mem_2_0.O2, 31, 0)
|
|
|
|
|
mem_2_0.I2 is invalid
|
|
|
|
|
mem_2_0.OEB2 <= not(and(not(UInt<1>("h0")), eq(R0_addr_sel, UInt<2>("h2"))))
|
|
|
|
|
mem_2_0.OEB2 <= not(and(and(not(UInt<1>("h0")), R0_en), eq(R0_addr_sel, UInt<2>("h2"))))
|
|
|
|
|
mem_2_0.WEB2 <= not(and(and(UInt<1>("h0"), UInt<1>("h1")), eq(R0_addr_sel, UInt<2>("h2"))))
|
|
|
|
|
mem_2_0.CSB2 <= not(and(R0_en, eq(R0_addr_sel, UInt<2>("h2"))))
|
|
|
|
|
mem_2_1.CE2 <= R0_clk
|
|
|
|
|
mem_2_1.A2 <= R0_addr
|
|
|
|
|
node R0_data_2_1 = bits(mem_2_1.O2, 31, 0)
|
|
|
|
|
mem_2_1.I2 is invalid
|
|
|
|
|
mem_2_1.OEB2 <= not(and(not(UInt<1>("h0")), eq(R0_addr_sel, UInt<2>("h2"))))
|
|
|
|
|
mem_2_1.OEB2 <= not(and(and(not(UInt<1>("h0")), R0_en), eq(R0_addr_sel, UInt<2>("h2"))))
|
|
|
|
|
mem_2_1.WEB2 <= not(and(and(UInt<1>("h0"), UInt<1>("h1")), eq(R0_addr_sel, UInt<2>("h2"))))
|
|
|
|
|
mem_2_1.CSB2 <= not(and(R0_en, eq(R0_addr_sel, UInt<2>("h2"))))
|
|
|
|
|
node R0_data_2 = cat(R0_data_2_1, R0_data_2_0)
|
|
|
|
|
@@ -597,27 +597,27 @@ circuit smem_0_ext :
|
|
|
|
|
mem_3_0.CE1 <= W0_clk
|
|
|
|
|
mem_3_0.A1 <= W0_addr
|
|
|
|
|
mem_3_0.I1 <= bits(W0_data, 31, 0)
|
|
|
|
|
mem_3_0.OEB1 <= not(and(not(UInt<1>("h1")), eq(W0_addr_sel, UInt<2>("h3"))))
|
|
|
|
|
mem_3_0.OEB1 <= not(and(and(not(UInt<1>("h1")), W0_en), eq(W0_addr_sel, UInt<2>("h3"))))
|
|
|
|
|
mem_3_0.WEB1 <= not(and(and(UInt<1>("h1"), bits(W0_mask, 0, 0)), eq(W0_addr_sel, UInt<2>("h3"))))
|
|
|
|
|
mem_3_0.CSB1 <= not(and(W0_en, eq(W0_addr_sel, UInt<2>("h3"))))
|
|
|
|
|
mem_3_1.CE1 <= W0_clk
|
|
|
|
|
mem_3_1.A1 <= W0_addr
|
|
|
|
|
mem_3_1.I1 <= bits(W0_data, 63, 32)
|
|
|
|
|
mem_3_1.OEB1 <= not(and(not(UInt<1>("h1")), eq(W0_addr_sel, UInt<2>("h3"))))
|
|
|
|
|
mem_3_1.OEB1 <= not(and(and(not(UInt<1>("h1")), W0_en), eq(W0_addr_sel, UInt<2>("h3"))))
|
|
|
|
|
mem_3_1.WEB1 <= not(and(and(UInt<1>("h1"), bits(W0_mask, 0, 0)), eq(W0_addr_sel, UInt<2>("h3"))))
|
|
|
|
|
mem_3_1.CSB1 <= not(and(W0_en, eq(W0_addr_sel, UInt<2>("h3"))))
|
|
|
|
|
mem_3_0.CE2 <= R0_clk
|
|
|
|
|
mem_3_0.A2 <= R0_addr
|
|
|
|
|
node R0_data_3_0 = bits(mem_3_0.O2, 31, 0)
|
|
|
|
|
mem_3_0.I2 is invalid
|
|
|
|
|
mem_3_0.OEB2 <= not(and(not(UInt<1>("h0")), eq(R0_addr_sel, UInt<2>("h3"))))
|
|
|
|
|
mem_3_0.OEB2 <= not(and(and(not(UInt<1>("h0")), R0_en), eq(R0_addr_sel, UInt<2>("h3"))))
|
|
|
|
|
mem_3_0.WEB2 <= not(and(and(UInt<1>("h0"), UInt<1>("h1")), eq(R0_addr_sel, UInt<2>("h3"))))
|
|
|
|
|
mem_3_0.CSB2 <= not(and(R0_en, eq(R0_addr_sel, UInt<2>("h3"))))
|
|
|
|
|
mem_3_1.CE2 <= R0_clk
|
|
|
|
|
mem_3_1.A2 <= R0_addr
|
|
|
|
|
node R0_data_3_1 = bits(mem_3_1.O2, 31, 0)
|
|
|
|
|
mem_3_1.I2 is invalid
|
|
|
|
|
mem_3_1.OEB2 <= not(and(not(UInt<1>("h0")), eq(R0_addr_sel, UInt<2>("h3"))))
|
|
|
|
|
mem_3_1.OEB2 <= not(and(and(not(UInt<1>("h0")), R0_en), eq(R0_addr_sel, UInt<2>("h3"))))
|
|
|
|
|
mem_3_1.WEB2 <= not(and(and(UInt<1>("h0"), UInt<1>("h1")), eq(R0_addr_sel, UInt<2>("h3"))))
|
|
|
|
|
mem_3_1.CSB2 <= not(and(R0_en, eq(R0_addr_sel, UInt<2>("h3"))))
|
|
|
|
|
node R0_data_3 = cat(R0_data_3_1, R0_data_3_0)
|
|
|
|
|
@@ -659,28 +659,28 @@ circuit smem_0_ext :
|
|
|
|
|
mem_0_0.A <= RW0_addr
|
|
|
|
|
node RW0_rdata_0_0 = bits(mem_0_0.O, 19, 0)
|
|
|
|
|
mem_0_0.I <= bits(RW0_wdata, 19, 0)
|
|
|
|
|
mem_0_0.OEB <= not(and(not(RW0_wmode), UInt<1>("h1")))
|
|
|
|
|
mem_0_0.OEB <= not(and(and(not(RW0_wmode), RW0_en), UInt<1>("h1")))
|
|
|
|
|
mem_0_0.WEB <= not(and(and(RW0_wmode, bits(RW0_wmask, 0, 0)), UInt<1>("h1")))
|
|
|
|
|
mem_0_0.CSB <= not(and(RW0_en, UInt<1>("h1")))
|
|
|
|
|
mem_0_1.CE <= RW0_clk
|
|
|
|
|
mem_0_1.A <= RW0_addr
|
|
|
|
|
node RW0_rdata_0_1 = bits(mem_0_1.O, 19, 0)
|
|
|
|
|
mem_0_1.I <= bits(RW0_wdata, 39, 20)
|
|
|
|
|
mem_0_1.OEB <= not(and(not(RW0_wmode), UInt<1>("h1")))
|
|
|
|
|
mem_0_1.OEB <= not(and(and(not(RW0_wmode), RW0_en), UInt<1>("h1")))
|
|
|
|
|
mem_0_1.WEB <= not(and(and(RW0_wmode, bits(RW0_wmask, 1, 1)), UInt<1>("h1")))
|
|
|
|
|
mem_0_1.CSB <= not(and(RW0_en, UInt<1>("h1")))
|
|
|
|
|
mem_0_2.CE <= RW0_clk
|
|
|
|
|
mem_0_2.A <= RW0_addr
|
|
|
|
|
node RW0_rdata_0_2 = bits(mem_0_2.O, 19, 0)
|
|
|
|
|
mem_0_2.I <= bits(RW0_wdata, 59, 40)
|
|
|
|
|
mem_0_2.OEB <= not(and(not(RW0_wmode), UInt<1>("h1")))
|
|
|
|
|
mem_0_2.OEB <= not(and(and(not(RW0_wmode), RW0_en), UInt<1>("h1")))
|
|
|
|
|
mem_0_2.WEB <= not(and(and(RW0_wmode, bits(RW0_wmask, 2, 2)), UInt<1>("h1")))
|
|
|
|
|
mem_0_2.CSB <= not(and(RW0_en, UInt<1>("h1")))
|
|
|
|
|
mem_0_3.CE <= RW0_clk
|
|
|
|
|
mem_0_3.A <= RW0_addr
|
|
|
|
|
node RW0_rdata_0_3 = bits(mem_0_3.O, 19, 0)
|
|
|
|
|
mem_0_3.I <= bits(RW0_wdata, 79, 60)
|
|
|
|
|
mem_0_3.OEB <= not(and(not(RW0_wmode), UInt<1>("h1")))
|
|
|
|
|
mem_0_3.OEB <= not(and(and(not(RW0_wmode), RW0_en), UInt<1>("h1")))
|
|
|
|
|
mem_0_3.WEB <= not(and(and(RW0_wmode, bits(RW0_wmask, 3, 3)), UInt<1>("h1")))
|
|
|
|
|
mem_0_3.CSB <= not(and(RW0_en, UInt<1>("h1")))
|
|
|
|
|
node RW0_rdata_0 = cat(RW0_rdata_0_3, cat(RW0_rdata_0_2, cat(RW0_rdata_0_1, RW0_rdata_0_0)))
|
|
|
|
|
@@ -712,14 +712,14 @@ circuit smem_0_ext :
|
|
|
|
|
mem_0_0.A <= RW0_addr
|
|
|
|
|
node RW0_rdata_0_0 = bits(mem_0_0.O, 31, 0)
|
|
|
|
|
mem_0_0.I <= bits(RW0_wdata, 31, 0)
|
|
|
|
|
mem_0_0.OEB <= not(and(not(RW0_wmode), UInt<1>("h1")))
|
|
|
|
|
mem_0_0.OEB <= not(and(and(not(RW0_wmode), RW0_en), UInt<1>("h1")))
|
|
|
|
|
mem_0_0.WEB <= not(and(and(RW0_wmode, UInt<1>("h1")), UInt<1>("h1")))
|
|
|
|
|
mem_0_0.CSB <= not(and(RW0_en, UInt<1>("h1")))
|
|
|
|
|
mem_0_1.CE <= RW0_clk
|
|
|
|
|
mem_0_1.A <= RW0_addr
|
|
|
|
|
node RW0_rdata_0_1 = bits(mem_0_1.O, 31, 0)
|
|
|
|
|
mem_0_1.I <= bits(RW0_wdata, 63, 32)
|
|
|
|
|
mem_0_1.OEB <= not(and(not(RW0_wmode), UInt<1>("h1")))
|
|
|
|
|
mem_0_1.OEB <= not(and(and(not(RW0_wmode), RW0_en), UInt<1>("h1")))
|
|
|
|
|
mem_0_1.WEB <= not(and(and(RW0_wmode, UInt<1>("h1")), UInt<1>("h1")))
|
|
|
|
|
mem_0_1.CSB <= not(and(RW0_en, UInt<1>("h1")))
|
|
|
|
|
node RW0_rdata_0 = cat(RW0_rdata_0_1, RW0_rdata_0_0)
|
|
|
|
|
@@ -752,27 +752,27 @@ circuit smem_0_ext :
|
|
|
|
|
mem_0_0.CE1 <= W0_clk
|
|
|
|
|
mem_0_0.A1 <= W0_addr
|
|
|
|
|
mem_0_0.I1 <= bits(W0_data, 21, 0)
|
|
|
|
|
mem_0_0.OEB1 <= not(and(not(UInt<1>("h1")), UInt<1>("h1")))
|
|
|
|
|
mem_0_0.OEB1 <= not(and(and(not(UInt<1>("h1")), W0_en), UInt<1>("h1")))
|
|
|
|
|
mem_0_0.WEB1 <= not(and(and(UInt<1>("h1"), UInt<1>("h1")), UInt<1>("h1")))
|
|
|
|
|
mem_0_0.CSB1 <= not(and(W0_en, UInt<1>("h1")))
|
|
|
|
|
mem_0_1.CE1 <= W0_clk
|
|
|
|
|
mem_0_1.A1 <= W0_addr
|
|
|
|
|
mem_0_1.I1 <= bits(W0_data, 39, 22)
|
|
|
|
|
mem_0_1.OEB1 <= not(and(not(UInt<1>("h1")), UInt<1>("h1")))
|
|
|
|
|
mem_0_1.OEB1 <= not(and(and(not(UInt<1>("h1")), W0_en), UInt<1>("h1")))
|
|
|
|
|
mem_0_1.WEB1 <= not(and(and(UInt<1>("h1"), UInt<1>("h1")), UInt<1>("h1")))
|
|
|
|
|
mem_0_1.CSB1 <= not(and(W0_en, UInt<1>("h1")))
|
|
|
|
|
mem_0_0.CE2 <= R0_clk
|
|
|
|
|
mem_0_0.A2 <= R0_addr
|
|
|
|
|
node R0_data_0_0 = bits(mem_0_0.O2, 21, 0)
|
|
|
|
|
mem_0_0.I2 is invalid
|
|
|
|
|
mem_0_0.OEB2 <= not(and(not(UInt<1>("h0")), UInt<1>("h1")))
|
|
|
|
|
mem_0_0.OEB2 <= not(and(and(not(UInt<1>("h0")), R0_en), UInt<1>("h1")))
|
|
|
|
|
mem_0_0.WEB2 <= not(and(and(UInt<1>("h0"), UInt<1>("h1")), UInt<1>("h1")))
|
|
|
|
|
mem_0_0.CSB2 <= not(and(R0_en, UInt<1>("h1")))
|
|
|
|
|
mem_0_1.CE2 <= R0_clk
|
|
|
|
|
mem_0_1.A2 <= R0_addr
|
|
|
|
|
node R0_data_0_1 = bits(mem_0_1.O2, 17, 0)
|
|
|
|
|
mem_0_1.I2 is invalid
|
|
|
|
|
mem_0_1.OEB2 <= not(and(not(UInt<1>("h0")), UInt<1>("h1")))
|
|
|
|
|
mem_0_1.OEB2 <= not(and(and(not(UInt<1>("h0")), R0_en), UInt<1>("h1")))
|
|
|
|
|
mem_0_1.WEB2 <= not(and(and(UInt<1>("h0"), UInt<1>("h1")), UInt<1>("h1")))
|
|
|
|
|
mem_0_1.CSB2 <= not(and(R0_en, UInt<1>("h1")))
|
|
|
|
|
node R0_data_0 = cat(R0_data_0_1, R0_data_0_0)
|
|
|
|
|
@@ -842,224 +842,224 @@ circuit smem_0_ext :
|
|
|
|
|
mem_0_0.A <= RW0_addr
|
|
|
|
|
node RW0_rdata_0_0 = bits(mem_0_0.O, 0, 0)
|
|
|
|
|
mem_0_0.I <= bits(RW0_wdata, 0, 0)
|
|
|
|
|
mem_0_0.OEB <= not(and(not(RW0_wmode), UInt<1>("h1")))
|
|
|
|
|
mem_0_0.OEB <= not(and(and(not(RW0_wmode), RW0_en), UInt<1>("h1")))
|
|
|
|
|
mem_0_0.WEB <= not(and(and(RW0_wmode, bits(RW0_wmask, 0, 0)), UInt<1>("h1")))
|
|
|
|
|
mem_0_0.CSB <= not(and(RW0_en, UInt<1>("h1")))
|
|
|
|
|
mem_0_1.CE <= RW0_clk
|
|
|
|
|
mem_0_1.A <= RW0_addr
|
|
|
|
|
node RW0_rdata_0_1 = bits(mem_0_1.O, 0, 0)
|
|
|
|
|
mem_0_1.I <= bits(RW0_wdata, 1, 1)
|
|
|
|
|
mem_0_1.OEB <= not(and(not(RW0_wmode), UInt<1>("h1")))
|
|
|
|
|
mem_0_1.OEB <= not(and(and(not(RW0_wmode), RW0_en), UInt<1>("h1")))
|
|
|
|
|
mem_0_1.WEB <= not(and(and(RW0_wmode, bits(RW0_wmask, 1, 1)), UInt<1>("h1")))
|
|
|
|
|
mem_0_1.CSB <= not(and(RW0_en, UInt<1>("h1")))
|
|
|
|
|
mem_0_2.CE <= RW0_clk
|
|
|
|
|
mem_0_2.A <= RW0_addr
|
|
|
|
|
node RW0_rdata_0_2 = bits(mem_0_2.O, 0, 0)
|
|
|
|
|
mem_0_2.I <= bits(RW0_wdata, 2, 2)
|
|
|
|
|
mem_0_2.OEB <= not(and(not(RW0_wmode), UInt<1>("h1")))
|
|
|
|
|
mem_0_2.OEB <= not(and(and(not(RW0_wmode), RW0_en), UInt<1>("h1")))
|
|
|
|
|
mem_0_2.WEB <= not(and(and(RW0_wmode, bits(RW0_wmask, 2, 2)), UInt<1>("h1")))
|
|
|
|
|
mem_0_2.CSB <= not(and(RW0_en, UInt<1>("h1")))
|
|
|
|
|
mem_0_3.CE <= RW0_clk
|
|
|
|
|
mem_0_3.A <= RW0_addr
|
|
|
|
|
node RW0_rdata_0_3 = bits(mem_0_3.O, 0, 0)
|
|
|
|
|
mem_0_3.I <= bits(RW0_wdata, 3, 3)
|
|
|
|
|
mem_0_3.OEB <= not(and(not(RW0_wmode), UInt<1>("h1")))
|
|
|
|
|
mem_0_3.OEB <= not(and(and(not(RW0_wmode), RW0_en), UInt<1>("h1")))
|
|
|
|
|
mem_0_3.WEB <= not(and(and(RW0_wmode, bits(RW0_wmask, 3, 3)), UInt<1>("h1")))
|
|
|
|
|
mem_0_3.CSB <= not(and(RW0_en, UInt<1>("h1")))
|
|
|
|
|
mem_0_4.CE <= RW0_clk
|
|
|
|
|
mem_0_4.A <= RW0_addr
|
|
|
|
|
node RW0_rdata_0_4 = bits(mem_0_4.O, 0, 0)
|
|
|
|
|
mem_0_4.I <= bits(RW0_wdata, 4, 4)
|
|
|
|
|
mem_0_4.OEB <= not(and(not(RW0_wmode), UInt<1>("h1")))
|
|
|
|
|
mem_0_4.OEB <= not(and(and(not(RW0_wmode), RW0_en), UInt<1>("h1")))
|
|
|
|
|
mem_0_4.WEB <= not(and(and(RW0_wmode, bits(RW0_wmask, 4, 4)), UInt<1>("h1")))
|
|
|
|
|
mem_0_4.CSB <= not(and(RW0_en, UInt<1>("h1")))
|
|
|
|
|
mem_0_5.CE <= RW0_clk
|
|
|
|
|
mem_0_5.A <= RW0_addr
|
|
|
|
|
node RW0_rdata_0_5 = bits(mem_0_5.O, 0, 0)
|
|
|
|
|
mem_0_5.I <= bits(RW0_wdata, 5, 5)
|
|
|
|
|
mem_0_5.OEB <= not(and(not(RW0_wmode), UInt<1>("h1")))
|
|
|
|
|
mem_0_5.OEB <= not(and(and(not(RW0_wmode), RW0_en), UInt<1>("h1")))
|
|
|
|
|
mem_0_5.WEB <= not(and(and(RW0_wmode, bits(RW0_wmask, 5, 5)), UInt<1>("h1")))
|
|
|
|
|
mem_0_5.CSB <= not(and(RW0_en, UInt<1>("h1")))
|
|
|
|
|
mem_0_6.CE <= RW0_clk
|
|
|
|
|
mem_0_6.A <= RW0_addr
|
|
|
|
|
node RW0_rdata_0_6 = bits(mem_0_6.O, 0, 0)
|
|
|
|
|
mem_0_6.I <= bits(RW0_wdata, 6, 6)
|
|
|
|
|
mem_0_6.OEB <= not(and(not(RW0_wmode), UInt<1>("h1")))
|
|
|
|
|
mem_0_6.OEB <= not(and(and(not(RW0_wmode), RW0_en), UInt<1>("h1")))
|
|
|
|
|
mem_0_6.WEB <= not(and(and(RW0_wmode, bits(RW0_wmask, 6, 6)), UInt<1>("h1")))
|
|
|
|
|
mem_0_6.CSB <= not(and(RW0_en, UInt<1>("h1")))
|
|
|
|
|
mem_0_7.CE <= RW0_clk
|
|
|
|
|
mem_0_7.A <= RW0_addr
|
|
|
|
|
node RW0_rdata_0_7 = bits(mem_0_7.O, 0, 0)
|
|
|
|
|
mem_0_7.I <= bits(RW0_wdata, 7, 7)
|
|
|
|
|
mem_0_7.OEB <= not(and(not(RW0_wmode), UInt<1>("h1")))
|
|
|
|
|
mem_0_7.OEB <= not(and(and(not(RW0_wmode), RW0_en), UInt<1>("h1")))
|
|
|
|
|
mem_0_7.WEB <= not(and(and(RW0_wmode, bits(RW0_wmask, 7, 7)), UInt<1>("h1")))
|
|
|
|
|
mem_0_7.CSB <= not(and(RW0_en, UInt<1>("h1")))
|
|
|
|
|
mem_0_8.CE <= RW0_clk
|
|
|
|
|
mem_0_8.A <= RW0_addr
|
|
|
|
|
node RW0_rdata_0_8 = bits(mem_0_8.O, 0, 0)
|
|
|
|
|
mem_0_8.I <= bits(RW0_wdata, 8, 8)
|
|
|
|
|
mem_0_8.OEB <= not(and(not(RW0_wmode), UInt<1>("h1")))
|
|
|
|
|
mem_0_8.OEB <= not(and(and(not(RW0_wmode), RW0_en), UInt<1>("h1")))
|
|
|
|
|
mem_0_8.WEB <= not(and(and(RW0_wmode, bits(RW0_wmask, 8, 8)), UInt<1>("h1")))
|
|
|
|
|
mem_0_8.CSB <= not(and(RW0_en, UInt<1>("h1")))
|
|
|
|
|
mem_0_9.CE <= RW0_clk
|
|
|
|
|
mem_0_9.A <= RW0_addr
|
|
|
|
|
node RW0_rdata_0_9 = bits(mem_0_9.O, 0, 0)
|
|
|
|
|
mem_0_9.I <= bits(RW0_wdata, 9, 9)
|
|
|
|
|
mem_0_9.OEB <= not(and(not(RW0_wmode), UInt<1>("h1")))
|
|
|
|
|
mem_0_9.OEB <= not(and(and(not(RW0_wmode), RW0_en), UInt<1>("h1")))
|
|
|
|
|
mem_0_9.WEB <= not(and(and(RW0_wmode, bits(RW0_wmask, 9, 9)), UInt<1>("h1")))
|
|
|
|
|
mem_0_9.CSB <= not(and(RW0_en, UInt<1>("h1")))
|
|
|
|
|
mem_0_10.CE <= RW0_clk
|
|
|
|
|
mem_0_10.A <= RW0_addr
|
|
|
|
|
node RW0_rdata_0_10 = bits(mem_0_10.O, 0, 0)
|
|
|
|
|
mem_0_10.I <= bits(RW0_wdata, 10, 10)
|
|
|
|
|
mem_0_10.OEB <= not(and(not(RW0_wmode), UInt<1>("h1")))
|
|
|
|
|
mem_0_10.OEB <= not(and(and(not(RW0_wmode), RW0_en), UInt<1>("h1")))
|
|
|
|
|
mem_0_10.WEB <= not(and(and(RW0_wmode, bits(RW0_wmask, 10, 10)), UInt<1>("h1")))
|
|
|
|
|
mem_0_10.CSB <= not(and(RW0_en, UInt<1>("h1")))
|
|
|
|
|
mem_0_11.CE <= RW0_clk
|
|
|
|
|
mem_0_11.A <= RW0_addr
|
|
|
|
|
node RW0_rdata_0_11 = bits(mem_0_11.O, 0, 0)
|
|
|
|
|
mem_0_11.I <= bits(RW0_wdata, 11, 11)
|
|
|
|
|
mem_0_11.OEB <= not(and(not(RW0_wmode), UInt<1>("h1")))
|
|
|
|
|
mem_0_11.OEB <= not(and(and(not(RW0_wmode), RW0_en), UInt<1>("h1")))
|
|
|
|
|
mem_0_11.WEB <= not(and(and(RW0_wmode, bits(RW0_wmask, 11, 11)), UInt<1>("h1")))
|
|
|
|
|
mem_0_11.CSB <= not(and(RW0_en, UInt<1>("h1")))
|
|
|
|
|
mem_0_12.CE <= RW0_clk
|
|
|
|
|
mem_0_12.A <= RW0_addr
|
|
|
|
|
node RW0_rdata_0_12 = bits(mem_0_12.O, 0, 0)
|
|
|
|
|
mem_0_12.I <= bits(RW0_wdata, 12, 12)
|
|
|
|
|
mem_0_12.OEB <= not(and(not(RW0_wmode), UInt<1>("h1")))
|
|
|
|
|
mem_0_12.OEB <= not(and(and(not(RW0_wmode), RW0_en), UInt<1>("h1")))
|
|
|
|
|
mem_0_12.WEB <= not(and(and(RW0_wmode, bits(RW0_wmask, 12, 12)), UInt<1>("h1")))
|
|
|
|
|
mem_0_12.CSB <= not(and(RW0_en, UInt<1>("h1")))
|
|
|
|
|
mem_0_13.CE <= RW0_clk
|
|
|
|
|
mem_0_13.A <= RW0_addr
|
|
|
|
|
node RW0_rdata_0_13 = bits(mem_0_13.O, 0, 0)
|
|
|
|
|
mem_0_13.I <= bits(RW0_wdata, 13, 13)
|
|
|
|
|
mem_0_13.OEB <= not(and(not(RW0_wmode), UInt<1>("h1")))
|
|
|
|
|
mem_0_13.OEB <= not(and(and(not(RW0_wmode), RW0_en), UInt<1>("h1")))
|
|
|
|
|
mem_0_13.WEB <= not(and(and(RW0_wmode, bits(RW0_wmask, 13, 13)), UInt<1>("h1")))
|
|
|
|
|
mem_0_13.CSB <= not(and(RW0_en, UInt<1>("h1")))
|
|
|
|
|
mem_0_14.CE <= RW0_clk
|
|
|
|
|
mem_0_14.A <= RW0_addr
|
|
|
|
|
node RW0_rdata_0_14 = bits(mem_0_14.O, 0, 0)
|
|
|
|
|
mem_0_14.I <= bits(RW0_wdata, 14, 14)
|
|
|
|
|
mem_0_14.OEB <= not(and(not(RW0_wmode), UInt<1>("h1")))
|
|
|
|
|
mem_0_14.OEB <= not(and(and(not(RW0_wmode), RW0_en), UInt<1>("h1")))
|
|
|
|
|
mem_0_14.WEB <= not(and(and(RW0_wmode, bits(RW0_wmask, 14, 14)), UInt<1>("h1")))
|
|
|
|
|
mem_0_14.CSB <= not(and(RW0_en, UInt<1>("h1")))
|
|
|
|
|
mem_0_15.CE <= RW0_clk
|
|
|
|
|
mem_0_15.A <= RW0_addr
|
|
|
|
|
node RW0_rdata_0_15 = bits(mem_0_15.O, 0, 0)
|
|
|
|
|
mem_0_15.I <= bits(RW0_wdata, 15, 15)
|
|
|
|
|
mem_0_15.OEB <= not(and(not(RW0_wmode), UInt<1>("h1")))
|
|
|
|
|
mem_0_15.OEB <= not(and(and(not(RW0_wmode), RW0_en), UInt<1>("h1")))
|
|
|
|
|
mem_0_15.WEB <= not(and(and(RW0_wmode, bits(RW0_wmask, 15, 15)), UInt<1>("h1")))
|
|
|
|
|
mem_0_15.CSB <= not(and(RW0_en, UInt<1>("h1")))
|
|
|
|
|
mem_0_16.CE <= RW0_clk
|
|
|
|
|
mem_0_16.A <= RW0_addr
|
|
|
|
|
node RW0_rdata_0_16 = bits(mem_0_16.O, 0, 0)
|
|
|
|
|
mem_0_16.I <= bits(RW0_wdata, 16, 16)
|
|
|
|
|
mem_0_16.OEB <= not(and(not(RW0_wmode), UInt<1>("h1")))
|
|
|
|
|
mem_0_16.OEB <= not(and(and(not(RW0_wmode), RW0_en), UInt<1>("h1")))
|
|
|
|
|
mem_0_16.WEB <= not(and(and(RW0_wmode, bits(RW0_wmask, 16, 16)), UInt<1>("h1")))
|
|
|
|
|
mem_0_16.CSB <= not(and(RW0_en, UInt<1>("h1")))
|
|
|
|
|
mem_0_17.CE <= RW0_clk
|
|
|
|
|
mem_0_17.A <= RW0_addr
|
|
|
|
|
node RW0_rdata_0_17 = bits(mem_0_17.O, 0, 0)
|
|
|
|
|
mem_0_17.I <= bits(RW0_wdata, 17, 17)
|
|
|
|
|
mem_0_17.OEB <= not(and(not(RW0_wmode), UInt<1>("h1")))
|
|
|
|
|
mem_0_17.OEB <= not(and(and(not(RW0_wmode), RW0_en), UInt<1>("h1")))
|
|
|
|
|
mem_0_17.WEB <= not(and(and(RW0_wmode, bits(RW0_wmask, 17, 17)), UInt<1>("h1")))
|
|
|
|
|
mem_0_17.CSB <= not(and(RW0_en, UInt<1>("h1")))
|
|
|
|
|
mem_0_18.CE <= RW0_clk
|
|
|
|
|
mem_0_18.A <= RW0_addr
|
|
|
|
|
node RW0_rdata_0_18 = bits(mem_0_18.O, 0, 0)
|
|
|
|
|
mem_0_18.I <= bits(RW0_wdata, 18, 18)
|
|
|
|
|
mem_0_18.OEB <= not(and(not(RW0_wmode), UInt<1>("h1")))
|
|
|
|
|
mem_0_18.OEB <= not(and(and(not(RW0_wmode), RW0_en), UInt<1>("h1")))
|
|
|
|
|
mem_0_18.WEB <= not(and(and(RW0_wmode, bits(RW0_wmask, 18, 18)), UInt<1>("h1")))
|
|
|
|
|
mem_0_18.CSB <= not(and(RW0_en, UInt<1>("h1")))
|
|
|
|
|
mem_0_19.CE <= RW0_clk
|
|
|
|
|
mem_0_19.A <= RW0_addr
|
|
|
|
|
node RW0_rdata_0_19 = bits(mem_0_19.O, 0, 0)
|
|
|
|
|
mem_0_19.I <= bits(RW0_wdata, 19, 19)
|
|
|
|
|
mem_0_19.OEB <= not(and(not(RW0_wmode), UInt<1>("h1")))
|
|
|
|
|
mem_0_19.OEB <= not(and(and(not(RW0_wmode), RW0_en), UInt<1>("h1")))
|
|
|
|
|
mem_0_19.WEB <= not(and(and(RW0_wmode, bits(RW0_wmask, 19, 19)), UInt<1>("h1")))
|
|
|
|
|
mem_0_19.CSB <= not(and(RW0_en, UInt<1>("h1")))
|
|
|
|
|
mem_0_20.CE <= RW0_clk
|
|
|
|
|
mem_0_20.A <= RW0_addr
|
|
|
|
|
node RW0_rdata_0_20 = bits(mem_0_20.O, 0, 0)
|
|
|
|
|
mem_0_20.I <= bits(RW0_wdata, 20, 20)
|
|
|
|
|
mem_0_20.OEB <= not(and(not(RW0_wmode), UInt<1>("h1")))
|
|
|
|
|
mem_0_20.OEB <= not(and(and(not(RW0_wmode), RW0_en), UInt<1>("h1")))
|
|
|
|
|
mem_0_20.WEB <= not(and(and(RW0_wmode, bits(RW0_wmask, 20, 20)), UInt<1>("h1")))
|
|
|
|
|
mem_0_20.CSB <= not(and(RW0_en, UInt<1>("h1")))
|
|
|
|
|
mem_0_21.CE <= RW0_clk
|
|
|
|
|
mem_0_21.A <= RW0_addr
|
|
|
|
|
node RW0_rdata_0_21 = bits(mem_0_21.O, 0, 0)
|
|
|
|
|
mem_0_21.I <= bits(RW0_wdata, 21, 21)
|
|
|
|
|
mem_0_21.OEB <= not(and(not(RW0_wmode), UInt<1>("h1")))
|
|
|
|
|
mem_0_21.OEB <= not(and(and(not(RW0_wmode), RW0_en), UInt<1>("h1")))
|
|
|
|
|
mem_0_21.WEB <= not(and(and(RW0_wmode, bits(RW0_wmask, 21, 21)), UInt<1>("h1")))
|
|
|
|
|
mem_0_21.CSB <= not(and(RW0_en, UInt<1>("h1")))
|
|
|
|
|
mem_0_22.CE <= RW0_clk
|
|
|
|
|
mem_0_22.A <= RW0_addr
|
|
|
|
|
node RW0_rdata_0_22 = bits(mem_0_22.O, 0, 0)
|
|
|
|
|
mem_0_22.I <= bits(RW0_wdata, 22, 22)
|
|
|
|
|
mem_0_22.OEB <= not(and(not(RW0_wmode), UInt<1>("h1")))
|
|
|
|
|
mem_0_22.OEB <= not(and(and(not(RW0_wmode), RW0_en), UInt<1>("h1")))
|
|
|
|
|
mem_0_22.WEB <= not(and(and(RW0_wmode, bits(RW0_wmask, 22, 22)), UInt<1>("h1")))
|
|
|
|
|
mem_0_22.CSB <= not(and(RW0_en, UInt<1>("h1")))
|
|
|
|
|
mem_0_23.CE <= RW0_clk
|
|
|
|
|
mem_0_23.A <= RW0_addr
|
|
|
|
|
node RW0_rdata_0_23 = bits(mem_0_23.O, 0, 0)
|
|
|
|
|
mem_0_23.I <= bits(RW0_wdata, 23, 23)
|
|
|
|
|
mem_0_23.OEB <= not(and(not(RW0_wmode), UInt<1>("h1")))
|
|
|
|
|
mem_0_23.OEB <= not(and(and(not(RW0_wmode), RW0_en), UInt<1>("h1")))
|
|
|
|
|
mem_0_23.WEB <= not(and(and(RW0_wmode, bits(RW0_wmask, 23, 23)), UInt<1>("h1")))
|
|
|
|
|
mem_0_23.CSB <= not(and(RW0_en, UInt<1>("h1")))
|
|
|
|
|
mem_0_24.CE <= RW0_clk
|
|
|
|
|
mem_0_24.A <= RW0_addr
|
|
|
|
|
node RW0_rdata_0_24 = bits(mem_0_24.O, 0, 0)
|
|
|
|
|
mem_0_24.I <= bits(RW0_wdata, 24, 24)
|
|
|
|
|
mem_0_24.OEB <= not(and(not(RW0_wmode), UInt<1>("h1")))
|
|
|
|
|
mem_0_24.OEB <= not(and(and(not(RW0_wmode), RW0_en), UInt<1>("h1")))
|
|
|
|
|
mem_0_24.WEB <= not(and(and(RW0_wmode, bits(RW0_wmask, 24, 24)), UInt<1>("h1")))
|
|
|
|
|
mem_0_24.CSB <= not(and(RW0_en, UInt<1>("h1")))
|
|
|
|
|
mem_0_25.CE <= RW0_clk
|
|
|
|
|
mem_0_25.A <= RW0_addr
|
|
|
|
|
node RW0_rdata_0_25 = bits(mem_0_25.O, 0, 0)
|
|
|
|
|
mem_0_25.I <= bits(RW0_wdata, 25, 25)
|
|
|
|
|
mem_0_25.OEB <= not(and(not(RW0_wmode), UInt<1>("h1")))
|
|
|
|
|
mem_0_25.OEB <= not(and(and(not(RW0_wmode), RW0_en), UInt<1>("h1")))
|
|
|
|
|
mem_0_25.WEB <= not(and(and(RW0_wmode, bits(RW0_wmask, 25, 25)), UInt<1>("h1")))
|
|
|
|
|
mem_0_25.CSB <= not(and(RW0_en, UInt<1>("h1")))
|
|
|
|
|
mem_0_26.CE <= RW0_clk
|
|
|
|
|
mem_0_26.A <= RW0_addr
|
|
|
|
|
node RW0_rdata_0_26 = bits(mem_0_26.O, 0, 0)
|
|
|
|
|
mem_0_26.I <= bits(RW0_wdata, 26, 26)
|
|
|
|
|
mem_0_26.OEB <= not(and(not(RW0_wmode), UInt<1>("h1")))
|
|
|
|
|
mem_0_26.OEB <= not(and(and(not(RW0_wmode), RW0_en), UInt<1>("h1")))
|
|
|
|
|
mem_0_26.WEB <= not(and(and(RW0_wmode, bits(RW0_wmask, 26, 26)), UInt<1>("h1")))
|
|
|
|
|
mem_0_26.CSB <= not(and(RW0_en, UInt<1>("h1")))
|
|
|
|
|
mem_0_27.CE <= RW0_clk
|
|
|
|
|
mem_0_27.A <= RW0_addr
|
|
|
|
|
node RW0_rdata_0_27 = bits(mem_0_27.O, 0, 0)
|
|
|
|
|
mem_0_27.I <= bits(RW0_wdata, 27, 27)
|
|
|
|
|
mem_0_27.OEB <= not(and(not(RW0_wmode), UInt<1>("h1")))
|
|
|
|
|
mem_0_27.OEB <= not(and(and(not(RW0_wmode), RW0_en), UInt<1>("h1")))
|
|
|
|
|
mem_0_27.WEB <= not(and(and(RW0_wmode, bits(RW0_wmask, 27, 27)), UInt<1>("h1")))
|
|
|
|
|
mem_0_27.CSB <= not(and(RW0_en, UInt<1>("h1")))
|
|
|
|
|
mem_0_28.CE <= RW0_clk
|
|
|
|
|
mem_0_28.A <= RW0_addr
|
|
|
|
|
node RW0_rdata_0_28 = bits(mem_0_28.O, 0, 0)
|
|
|
|
|
mem_0_28.I <= bits(RW0_wdata, 28, 28)
|
|
|
|
|
mem_0_28.OEB <= not(and(not(RW0_wmode), UInt<1>("h1")))
|
|
|
|
|
mem_0_28.OEB <= not(and(and(not(RW0_wmode), RW0_en), UInt<1>("h1")))
|
|
|
|
|
mem_0_28.WEB <= not(and(and(RW0_wmode, bits(RW0_wmask, 28, 28)), UInt<1>("h1")))
|
|
|
|
|
mem_0_28.CSB <= not(and(RW0_en, UInt<1>("h1")))
|
|
|
|
|
mem_0_29.CE <= RW0_clk
|
|
|
|
|
mem_0_29.A <= RW0_addr
|
|
|
|
|
node RW0_rdata_0_29 = bits(mem_0_29.O, 0, 0)
|
|
|
|
|
mem_0_29.I <= bits(RW0_wdata, 29, 29)
|
|
|
|
|
mem_0_29.OEB <= not(and(not(RW0_wmode), UInt<1>("h1")))
|
|
|
|
|
mem_0_29.OEB <= not(and(and(not(RW0_wmode), RW0_en), UInt<1>("h1")))
|
|
|
|
|
mem_0_29.WEB <= not(and(and(RW0_wmode, bits(RW0_wmask, 29, 29)), UInt<1>("h1")))
|
|
|
|
|
mem_0_29.CSB <= not(and(RW0_en, UInt<1>("h1")))
|
|
|
|
|
mem_0_30.CE <= RW0_clk
|
|
|
|
|
mem_0_30.A <= RW0_addr
|
|
|
|
|
node RW0_rdata_0_30 = bits(mem_0_30.O, 0, 0)
|
|
|
|
|
mem_0_30.I <= bits(RW0_wdata, 30, 30)
|
|
|
|
|
mem_0_30.OEB <= not(and(not(RW0_wmode), UInt<1>("h1")))
|
|
|
|
|
mem_0_30.OEB <= not(and(and(not(RW0_wmode), RW0_en), UInt<1>("h1")))
|
|
|
|
|
mem_0_30.WEB <= not(and(and(RW0_wmode, bits(RW0_wmask, 30, 30)), UInt<1>("h1")))
|
|
|
|
|
mem_0_30.CSB <= not(and(RW0_en, UInt<1>("h1")))
|
|
|
|
|
mem_0_31.CE <= RW0_clk
|
|
|
|
|
mem_0_31.A <= RW0_addr
|
|
|
|
|
node RW0_rdata_0_31 = bits(mem_0_31.O, 0, 0)
|
|
|
|
|
mem_0_31.I <= bits(RW0_wdata, 31, 31)
|
|
|
|
|
mem_0_31.OEB <= not(and(not(RW0_wmode), UInt<1>("h1")))
|
|
|
|
|
mem_0_31.OEB <= not(and(and(not(RW0_wmode), RW0_en), UInt<1>("h1")))
|
|
|
|
|
mem_0_31.WEB <= not(and(and(RW0_wmode, bits(RW0_wmask, 31, 31)), UInt<1>("h1")))
|
|
|
|
|
mem_0_31.CSB <= not(and(RW0_en, UInt<1>("h1")))
|
|
|
|
|
node RW0_rdata_0 = cat(RW0_rdata_0_31, cat(RW0_rdata_0_30, cat(RW0_rdata_0_29, cat(RW0_rdata_0_28, cat(RW0_rdata_0_27, cat(RW0_rdata_0_26, cat(RW0_rdata_0_25, cat(RW0_rdata_0_24, cat(RW0_rdata_0_23, cat(RW0_rdata_0_22, cat(RW0_rdata_0_21, cat(RW0_rdata_0_20, cat(RW0_rdata_0_19, cat(RW0_rdata_0_18, cat(RW0_rdata_0_17, cat(RW0_rdata_0_16, cat(RW0_rdata_0_15, cat(RW0_rdata_0_14, cat(RW0_rdata_0_13, cat(RW0_rdata_0_12, cat(RW0_rdata_0_11, cat(RW0_rdata_0_10, cat(RW0_rdata_0_9, cat(RW0_rdata_0_8, cat(RW0_rdata_0_7, cat(RW0_rdata_0_6, cat(RW0_rdata_0_5, cat(RW0_rdata_0_4, cat(RW0_rdata_0_3, cat(RW0_rdata_0_2, cat(RW0_rdata_0_1, RW0_rdata_0_0)))))))))))))))))))))))))))))))
|
|
|
|
|
@@ -1110,224 +1110,224 @@ circuit smem_0_ext :
|
|
|
|
|
mem_0_0.A <= RW0_addr
|
|
|
|
|
node RW0_rdata_0_0 = bits(mem_0_0.O, 0, 0)
|
|
|
|
|
mem_0_0.I <= bits(RW0_wdata, 0, 0)
|
|
|
|
|
mem_0_0.OEB <= not(and(not(RW0_wmode), UInt<1>("h1")))
|
|
|
|
|
mem_0_0.OEB <= not(and(and(not(RW0_wmode), RW0_en), UInt<1>("h1")))
|
|
|
|
|
mem_0_0.WEB <= not(and(and(RW0_wmode, bits(RW0_wmask, 0, 0)), UInt<1>("h1")))
|
|
|
|
|
mem_0_0.CSB <= not(and(RW0_en, UInt<1>("h1")))
|
|
|
|
|
mem_0_1.CE <= RW0_clk
|
|
|
|
|
mem_0_1.A <= RW0_addr
|
|
|
|
|
node RW0_rdata_0_1 = bits(mem_0_1.O, 0, 0)
|
|
|
|
|
mem_0_1.I <= bits(RW0_wdata, 1, 1)
|
|
|
|
|
mem_0_1.OEB <= not(and(not(RW0_wmode), UInt<1>("h1")))
|
|
|
|
|
mem_0_1.OEB <= not(and(and(not(RW0_wmode), RW0_en), UInt<1>("h1")))
|
|
|
|
|
mem_0_1.WEB <= not(and(and(RW0_wmode, bits(RW0_wmask, 1, 1)), UInt<1>("h1")))
|
|
|
|
|
mem_0_1.CSB <= not(and(RW0_en, UInt<1>("h1")))
|
|
|
|
|
mem_0_2.CE <= RW0_clk
|
|
|
|
|
mem_0_2.A <= RW0_addr
|
|
|
|
|
node RW0_rdata_0_2 = bits(mem_0_2.O, 0, 0)
|
|
|
|
|
mem_0_2.I <= bits(RW0_wdata, 2, 2)
|
|
|
|
|
mem_0_2.OEB <= not(and(not(RW0_wmode), UInt<1>("h1")))
|
|
|
|
|
mem_0_2.OEB <= not(and(and(not(RW0_wmode), RW0_en), UInt<1>("h1")))
|
|
|
|
|
mem_0_2.WEB <= not(and(and(RW0_wmode, bits(RW0_wmask, 2, 2)), UInt<1>("h1")))
|
|
|
|
|
mem_0_2.CSB <= not(and(RW0_en, UInt<1>("h1")))
|
|
|
|
|
mem_0_3.CE <= RW0_clk
|
|
|
|
|
mem_0_3.A <= RW0_addr
|
|
|
|
|
node RW0_rdata_0_3 = bits(mem_0_3.O, 0, 0)
|
|
|
|
|
mem_0_3.I <= bits(RW0_wdata, 3, 3)
|
|
|
|
|
mem_0_3.OEB <= not(and(not(RW0_wmode), UInt<1>("h1")))
|
|
|
|
|
mem_0_3.OEB <= not(and(and(not(RW0_wmode), RW0_en), UInt<1>("h1")))
|
|
|
|
|
mem_0_3.WEB <= not(and(and(RW0_wmode, bits(RW0_wmask, 3, 3)), UInt<1>("h1")))
|
|
|
|
|
mem_0_3.CSB <= not(and(RW0_en, UInt<1>("h1")))
|
|
|
|
|
mem_0_4.CE <= RW0_clk
|
|
|
|
|
mem_0_4.A <= RW0_addr
|
|
|
|
|
node RW0_rdata_0_4 = bits(mem_0_4.O, 0, 0)
|
|
|
|
|
mem_0_4.I <= bits(RW0_wdata, 4, 4)
|
|
|
|
|
mem_0_4.OEB <= not(and(not(RW0_wmode), UInt<1>("h1")))
|
|
|
|
|
mem_0_4.OEB <= not(and(and(not(RW0_wmode), RW0_en), UInt<1>("h1")))
|
|
|
|
|
mem_0_4.WEB <= not(and(and(RW0_wmode, bits(RW0_wmask, 4, 4)), UInt<1>("h1")))
|
|
|
|
|
mem_0_4.CSB <= not(and(RW0_en, UInt<1>("h1")))
|
|
|
|
|
mem_0_5.CE <= RW0_clk
|
|
|
|
|
mem_0_5.A <= RW0_addr
|
|
|
|
|
node RW0_rdata_0_5 = bits(mem_0_5.O, 0, 0)
|
|
|
|
|
mem_0_5.I <= bits(RW0_wdata, 5, 5)
|
|
|
|
|
mem_0_5.OEB <= not(and(not(RW0_wmode), UInt<1>("h1")))
|
|
|
|
|
mem_0_5.OEB <= not(and(and(not(RW0_wmode), RW0_en), UInt<1>("h1")))
|
|
|
|
|
mem_0_5.WEB <= not(and(and(RW0_wmode, bits(RW0_wmask, 5, 5)), UInt<1>("h1")))
|
|
|
|
|
mem_0_5.CSB <= not(and(RW0_en, UInt<1>("h1")))
|
|
|
|
|
mem_0_6.CE <= RW0_clk
|
|
|
|
|
mem_0_6.A <= RW0_addr
|
|
|
|
|
node RW0_rdata_0_6 = bits(mem_0_6.O, 0, 0)
|
|
|
|
|
mem_0_6.I <= bits(RW0_wdata, 6, 6)
|
|
|
|
|
mem_0_6.OEB <= not(and(not(RW0_wmode), UInt<1>("h1")))
|
|
|
|
|
mem_0_6.OEB <= not(and(and(not(RW0_wmode), RW0_en), UInt<1>("h1")))
|
|
|
|
|
mem_0_6.WEB <= not(and(and(RW0_wmode, bits(RW0_wmask, 6, 6)), UInt<1>("h1")))
|
|
|
|
|
mem_0_6.CSB <= not(and(RW0_en, UInt<1>("h1")))
|
|
|
|
|
mem_0_7.CE <= RW0_clk
|
|
|
|
|
mem_0_7.A <= RW0_addr
|
|
|
|
|
node RW0_rdata_0_7 = bits(mem_0_7.O, 0, 0)
|
|
|
|
|
mem_0_7.I <= bits(RW0_wdata, 7, 7)
|
|
|
|
|
mem_0_7.OEB <= not(and(not(RW0_wmode), UInt<1>("h1")))
|
|
|
|
|
mem_0_7.OEB <= not(and(and(not(RW0_wmode), RW0_en), UInt<1>("h1")))
|
|
|
|
|
mem_0_7.WEB <= not(and(and(RW0_wmode, bits(RW0_wmask, 7, 7)), UInt<1>("h1")))
|
|
|
|
|
mem_0_7.CSB <= not(and(RW0_en, UInt<1>("h1")))
|
|
|
|
|
mem_0_8.CE <= RW0_clk
|
|
|
|
|
mem_0_8.A <= RW0_addr
|
|
|
|
|
node RW0_rdata_0_8 = bits(mem_0_8.O, 0, 0)
|
|
|
|
|
mem_0_8.I <= bits(RW0_wdata, 8, 8)
|
|
|
|
|
mem_0_8.OEB <= not(and(not(RW0_wmode), UInt<1>("h1")))
|
|
|
|
|
mem_0_8.OEB <= not(and(and(not(RW0_wmode), RW0_en), UInt<1>("h1")))
|
|
|
|
|
mem_0_8.WEB <= not(and(and(RW0_wmode, bits(RW0_wmask, 8, 8)), UInt<1>("h1")))
|
|
|
|
|
mem_0_8.CSB <= not(and(RW0_en, UInt<1>("h1")))
|
|
|
|
|
mem_0_9.CE <= RW0_clk
|
|
|
|
|
mem_0_9.A <= RW0_addr
|
|
|
|
|
node RW0_rdata_0_9 = bits(mem_0_9.O, 0, 0)
|
|
|
|
|
mem_0_9.I <= bits(RW0_wdata, 9, 9)
|
|
|
|
|
mem_0_9.OEB <= not(and(not(RW0_wmode), UInt<1>("h1")))
|
|
|
|
|
mem_0_9.OEB <= not(and(and(not(RW0_wmode), RW0_en), UInt<1>("h1")))
|
|
|
|
|
mem_0_9.WEB <= not(and(and(RW0_wmode, bits(RW0_wmask, 9, 9)), UInt<1>("h1")))
|
|
|
|
|
mem_0_9.CSB <= not(and(RW0_en, UInt<1>("h1")))
|
|
|
|
|
mem_0_10.CE <= RW0_clk
|
|
|
|
|
mem_0_10.A <= RW0_addr
|
|
|
|
|
node RW0_rdata_0_10 = bits(mem_0_10.O, 0, 0)
|
|
|
|
|
mem_0_10.I <= bits(RW0_wdata, 10, 10)
|
|
|
|
|
mem_0_10.OEB <= not(and(not(RW0_wmode), UInt<1>("h1")))
|
|
|
|
|
mem_0_10.OEB <= not(and(and(not(RW0_wmode), RW0_en), UInt<1>("h1")))
|
|
|
|
|
mem_0_10.WEB <= not(and(and(RW0_wmode, bits(RW0_wmask, 10, 10)), UInt<1>("h1")))
|
|
|
|
|
mem_0_10.CSB <= not(and(RW0_en, UInt<1>("h1")))
|
|
|
|
|
mem_0_11.CE <= RW0_clk
|
|
|
|
|
mem_0_11.A <= RW0_addr
|
|
|
|
|
node RW0_rdata_0_11 = bits(mem_0_11.O, 0, 0)
|
|
|
|
|
mem_0_11.I <= bits(RW0_wdata, 11, 11)
|
|
|
|
|
mem_0_11.OEB <= not(and(not(RW0_wmode), UInt<1>("h1")))
|
|
|
|
|
mem_0_11.OEB <= not(and(and(not(RW0_wmode), RW0_en), UInt<1>("h1")))
|
|
|
|
|
mem_0_11.WEB <= not(and(and(RW0_wmode, bits(RW0_wmask, 11, 11)), UInt<1>("h1")))
|
|
|
|
|
mem_0_11.CSB <= not(and(RW0_en, UInt<1>("h1")))
|
|
|
|
|
mem_0_12.CE <= RW0_clk
|
|
|
|
|
mem_0_12.A <= RW0_addr
|
|
|
|
|
node RW0_rdata_0_12 = bits(mem_0_12.O, 0, 0)
|
|
|
|
|
mem_0_12.I <= bits(RW0_wdata, 12, 12)
|
|
|
|
|
mem_0_12.OEB <= not(and(not(RW0_wmode), UInt<1>("h1")))
|
|
|
|
|
mem_0_12.OEB <= not(and(and(not(RW0_wmode), RW0_en), UInt<1>("h1")))
|
|
|
|
|
mem_0_12.WEB <= not(and(and(RW0_wmode, bits(RW0_wmask, 12, 12)), UInt<1>("h1")))
|
|
|
|
|
mem_0_12.CSB <= not(and(RW0_en, UInt<1>("h1")))
|
|
|
|
|
mem_0_13.CE <= RW0_clk
|
|
|
|
|
mem_0_13.A <= RW0_addr
|
|
|
|
|
node RW0_rdata_0_13 = bits(mem_0_13.O, 0, 0)
|
|
|
|
|
mem_0_13.I <= bits(RW0_wdata, 13, 13)
|
|
|
|
|
mem_0_13.OEB <= not(and(not(RW0_wmode), UInt<1>("h1")))
|
|
|
|
|
mem_0_13.OEB <= not(and(and(not(RW0_wmode), RW0_en), UInt<1>("h1")))
|
|
|
|
|
mem_0_13.WEB <= not(and(and(RW0_wmode, bits(RW0_wmask, 13, 13)), UInt<1>("h1")))
|
|
|
|
|
mem_0_13.CSB <= not(and(RW0_en, UInt<1>("h1")))
|
|
|
|
|
mem_0_14.CE <= RW0_clk
|
|
|
|
|
mem_0_14.A <= RW0_addr
|
|
|
|
|
node RW0_rdata_0_14 = bits(mem_0_14.O, 0, 0)
|
|
|
|
|
mem_0_14.I <= bits(RW0_wdata, 14, 14)
|
|
|
|
|
mem_0_14.OEB <= not(and(not(RW0_wmode), UInt<1>("h1")))
|
|
|
|
|
mem_0_14.OEB <= not(and(and(not(RW0_wmode), RW0_en), UInt<1>("h1")))
|
|
|
|
|
mem_0_14.WEB <= not(and(and(RW0_wmode, bits(RW0_wmask, 14, 14)), UInt<1>("h1")))
|
|
|
|
|
mem_0_14.CSB <= not(and(RW0_en, UInt<1>("h1")))
|
|
|
|
|
mem_0_15.CE <= RW0_clk
|
|
|
|
|
mem_0_15.A <= RW0_addr
|
|
|
|
|
node RW0_rdata_0_15 = bits(mem_0_15.O, 0, 0)
|
|
|
|
|
mem_0_15.I <= bits(RW0_wdata, 15, 15)
|
|
|
|
|
mem_0_15.OEB <= not(and(not(RW0_wmode), UInt<1>("h1")))
|
|
|
|
|
mem_0_15.OEB <= not(and(and(not(RW0_wmode), RW0_en), UInt<1>("h1")))
|
|
|
|
|
mem_0_15.WEB <= not(and(and(RW0_wmode, bits(RW0_wmask, 15, 15)), UInt<1>("h1")))
|
|
|
|
|
mem_0_15.CSB <= not(and(RW0_en, UInt<1>("h1")))
|
|
|
|
|
mem_0_16.CE <= RW0_clk
|
|
|
|
|
mem_0_16.A <= RW0_addr
|
|
|
|
|
node RW0_rdata_0_16 = bits(mem_0_16.O, 0, 0)
|
|
|
|
|
mem_0_16.I <= bits(RW0_wdata, 16, 16)
|
|
|
|
|
mem_0_16.OEB <= not(and(not(RW0_wmode), UInt<1>("h1")))
|
|
|
|
|
mem_0_16.OEB <= not(and(and(not(RW0_wmode), RW0_en), UInt<1>("h1")))
|
|
|
|
|
mem_0_16.WEB <= not(and(and(RW0_wmode, bits(RW0_wmask, 16, 16)), UInt<1>("h1")))
|
|
|
|
|
mem_0_16.CSB <= not(and(RW0_en, UInt<1>("h1")))
|
|
|
|
|
mem_0_17.CE <= RW0_clk
|
|
|
|
|
mem_0_17.A <= RW0_addr
|
|
|
|
|
node RW0_rdata_0_17 = bits(mem_0_17.O, 0, 0)
|
|
|
|
|
mem_0_17.I <= bits(RW0_wdata, 17, 17)
|
|
|
|
|
mem_0_17.OEB <= not(and(not(RW0_wmode), UInt<1>("h1")))
|
|
|
|
|
mem_0_17.OEB <= not(and(and(not(RW0_wmode), RW0_en), UInt<1>("h1")))
|
|
|
|
|
mem_0_17.WEB <= not(and(and(RW0_wmode, bits(RW0_wmask, 17, 17)), UInt<1>("h1")))
|
|
|
|
|
mem_0_17.CSB <= not(and(RW0_en, UInt<1>("h1")))
|
|
|
|
|
mem_0_18.CE <= RW0_clk
|
|
|
|
|
mem_0_18.A <= RW0_addr
|
|
|
|
|
node RW0_rdata_0_18 = bits(mem_0_18.O, 0, 0)
|
|
|
|
|
mem_0_18.I <= bits(RW0_wdata, 18, 18)
|
|
|
|
|
mem_0_18.OEB <= not(and(not(RW0_wmode), UInt<1>("h1")))
|
|
|
|
|
mem_0_18.OEB <= not(and(and(not(RW0_wmode), RW0_en), UInt<1>("h1")))
|
|
|
|
|
mem_0_18.WEB <= not(and(and(RW0_wmode, bits(RW0_wmask, 18, 18)), UInt<1>("h1")))
|
|
|
|
|
mem_0_18.CSB <= not(and(RW0_en, UInt<1>("h1")))
|
|
|
|
|
mem_0_19.CE <= RW0_clk
|
|
|
|
|
mem_0_19.A <= RW0_addr
|
|
|
|
|
node RW0_rdata_0_19 = bits(mem_0_19.O, 0, 0)
|
|
|
|
|
mem_0_19.I <= bits(RW0_wdata, 19, 19)
|
|
|
|
|
mem_0_19.OEB <= not(and(not(RW0_wmode), UInt<1>("h1")))
|
|
|
|
|
mem_0_19.OEB <= not(and(and(not(RW0_wmode), RW0_en), UInt<1>("h1")))
|
|
|
|
|
mem_0_19.WEB <= not(and(and(RW0_wmode, bits(RW0_wmask, 19, 19)), UInt<1>("h1")))
|
|
|
|
|
mem_0_19.CSB <= not(and(RW0_en, UInt<1>("h1")))
|
|
|
|
|
mem_0_20.CE <= RW0_clk
|
|
|
|
|
mem_0_20.A <= RW0_addr
|
|
|
|
|
node RW0_rdata_0_20 = bits(mem_0_20.O, 0, 0)
|
|
|
|
|
mem_0_20.I <= bits(RW0_wdata, 20, 20)
|
|
|
|
|
mem_0_20.OEB <= not(and(not(RW0_wmode), UInt<1>("h1")))
|
|
|
|
|
mem_0_20.OEB <= not(and(and(not(RW0_wmode), RW0_en), UInt<1>("h1")))
|
|
|
|
|
mem_0_20.WEB <= not(and(and(RW0_wmode, bits(RW0_wmask, 20, 20)), UInt<1>("h1")))
|
|
|
|
|
mem_0_20.CSB <= not(and(RW0_en, UInt<1>("h1")))
|
|
|
|
|
mem_0_21.CE <= RW0_clk
|
|
|
|
|
mem_0_21.A <= RW0_addr
|
|
|
|
|
node RW0_rdata_0_21 = bits(mem_0_21.O, 0, 0)
|
|
|
|
|
mem_0_21.I <= bits(RW0_wdata, 21, 21)
|
|
|
|
|
mem_0_21.OEB <= not(and(not(RW0_wmode), UInt<1>("h1")))
|
|
|
|
|
mem_0_21.OEB <= not(and(and(not(RW0_wmode), RW0_en), UInt<1>("h1")))
|
|
|
|
|
mem_0_21.WEB <= not(and(and(RW0_wmode, bits(RW0_wmask, 21, 21)), UInt<1>("h1")))
|
|
|
|
|
mem_0_21.CSB <= not(and(RW0_en, UInt<1>("h1")))
|
|
|
|
|
mem_0_22.CE <= RW0_clk
|
|
|
|
|
mem_0_22.A <= RW0_addr
|
|
|
|
|
node RW0_rdata_0_22 = bits(mem_0_22.O, 0, 0)
|
|
|
|
|
mem_0_22.I <= bits(RW0_wdata, 22, 22)
|
|
|
|
|
mem_0_22.OEB <= not(and(not(RW0_wmode), UInt<1>("h1")))
|
|
|
|
|
mem_0_22.OEB <= not(and(and(not(RW0_wmode), RW0_en), UInt<1>("h1")))
|
|
|
|
|
mem_0_22.WEB <= not(and(and(RW0_wmode, bits(RW0_wmask, 22, 22)), UInt<1>("h1")))
|
|
|
|
|
mem_0_22.CSB <= not(and(RW0_en, UInt<1>("h1")))
|
|
|
|
|
mem_0_23.CE <= RW0_clk
|
|
|
|
|
mem_0_23.A <= RW0_addr
|
|
|
|
|
node RW0_rdata_0_23 = bits(mem_0_23.O, 0, 0)
|
|
|
|
|
mem_0_23.I <= bits(RW0_wdata, 23, 23)
|
|
|
|
|
mem_0_23.OEB <= not(and(not(RW0_wmode), UInt<1>("h1")))
|
|
|
|
|
mem_0_23.OEB <= not(and(and(not(RW0_wmode), RW0_en), UInt<1>("h1")))
|
|
|
|
|
mem_0_23.WEB <= not(and(and(RW0_wmode, bits(RW0_wmask, 23, 23)), UInt<1>("h1")))
|
|
|
|
|
mem_0_23.CSB <= not(and(RW0_en, UInt<1>("h1")))
|
|
|
|
|
mem_0_24.CE <= RW0_clk
|
|
|
|
|
mem_0_24.A <= RW0_addr
|
|
|
|
|
node RW0_rdata_0_24 = bits(mem_0_24.O, 0, 0)
|
|
|
|
|
mem_0_24.I <= bits(RW0_wdata, 24, 24)
|
|
|
|
|
mem_0_24.OEB <= not(and(not(RW0_wmode), UInt<1>("h1")))
|
|
|
|
|
mem_0_24.OEB <= not(and(and(not(RW0_wmode), RW0_en), UInt<1>("h1")))
|
|
|
|
|
mem_0_24.WEB <= not(and(and(RW0_wmode, bits(RW0_wmask, 24, 24)), UInt<1>("h1")))
|
|
|
|
|
mem_0_24.CSB <= not(and(RW0_en, UInt<1>("h1")))
|
|
|
|
|
mem_0_25.CE <= RW0_clk
|
|
|
|
|
mem_0_25.A <= RW0_addr
|
|
|
|
|
node RW0_rdata_0_25 = bits(mem_0_25.O, 0, 0)
|
|
|
|
|
mem_0_25.I <= bits(RW0_wdata, 25, 25)
|
|
|
|
|
mem_0_25.OEB <= not(and(not(RW0_wmode), UInt<1>("h1")))
|
|
|
|
|
mem_0_25.OEB <= not(and(and(not(RW0_wmode), RW0_en), UInt<1>("h1")))
|
|
|
|
|
mem_0_25.WEB <= not(and(and(RW0_wmode, bits(RW0_wmask, 25, 25)), UInt<1>("h1")))
|
|
|
|
|
mem_0_25.CSB <= not(and(RW0_en, UInt<1>("h1")))
|
|
|
|
|
mem_0_26.CE <= RW0_clk
|
|
|
|
|
mem_0_26.A <= RW0_addr
|
|
|
|
|
node RW0_rdata_0_26 = bits(mem_0_26.O, 0, 0)
|
|
|
|
|
mem_0_26.I <= bits(RW0_wdata, 26, 26)
|
|
|
|
|
mem_0_26.OEB <= not(and(not(RW0_wmode), UInt<1>("h1")))
|
|
|
|
|
mem_0_26.OEB <= not(and(and(not(RW0_wmode), RW0_en), UInt<1>("h1")))
|
|
|
|
|
mem_0_26.WEB <= not(and(and(RW0_wmode, bits(RW0_wmask, 26, 26)), UInt<1>("h1")))
|
|
|
|
|
mem_0_26.CSB <= not(and(RW0_en, UInt<1>("h1")))
|
|
|
|
|
mem_0_27.CE <= RW0_clk
|
|
|
|
|
mem_0_27.A <= RW0_addr
|
|
|
|
|
node RW0_rdata_0_27 = bits(mem_0_27.O, 0, 0)
|
|
|
|
|
mem_0_27.I <= bits(RW0_wdata, 27, 27)
|
|
|
|
|
mem_0_27.OEB <= not(and(not(RW0_wmode), UInt<1>("h1")))
|
|
|
|
|
mem_0_27.OEB <= not(and(and(not(RW0_wmode), RW0_en), UInt<1>("h1")))
|
|
|
|
|
mem_0_27.WEB <= not(and(and(RW0_wmode, bits(RW0_wmask, 27, 27)), UInt<1>("h1")))
|
|
|
|
|
mem_0_27.CSB <= not(and(RW0_en, UInt<1>("h1")))
|
|
|
|
|
mem_0_28.CE <= RW0_clk
|
|
|
|
|
mem_0_28.A <= RW0_addr
|
|
|
|
|
node RW0_rdata_0_28 = bits(mem_0_28.O, 0, 0)
|
|
|
|
|
mem_0_28.I <= bits(RW0_wdata, 28, 28)
|
|
|
|
|
mem_0_28.OEB <= not(and(not(RW0_wmode), UInt<1>("h1")))
|
|
|
|
|
mem_0_28.OEB <= not(and(and(not(RW0_wmode), RW0_en), UInt<1>("h1")))
|
|
|
|
|
mem_0_28.WEB <= not(and(and(RW0_wmode, bits(RW0_wmask, 28, 28)), UInt<1>("h1")))
|
|
|
|
|
mem_0_28.CSB <= not(and(RW0_en, UInt<1>("h1")))
|
|
|
|
|
mem_0_29.CE <= RW0_clk
|
|
|
|
|
mem_0_29.A <= RW0_addr
|
|
|
|
|
node RW0_rdata_0_29 = bits(mem_0_29.O, 0, 0)
|
|
|
|
|
mem_0_29.I <= bits(RW0_wdata, 29, 29)
|
|
|
|
|
mem_0_29.OEB <= not(and(not(RW0_wmode), UInt<1>("h1")))
|
|
|
|
|
mem_0_29.OEB <= not(and(and(not(RW0_wmode), RW0_en), UInt<1>("h1")))
|
|
|
|
|
mem_0_29.WEB <= not(and(and(RW0_wmode, bits(RW0_wmask, 29, 29)), UInt<1>("h1")))
|
|
|
|
|
mem_0_29.CSB <= not(and(RW0_en, UInt<1>("h1")))
|
|
|
|
|
mem_0_30.CE <= RW0_clk
|
|
|
|
|
mem_0_30.A <= RW0_addr
|
|
|
|
|
node RW0_rdata_0_30 = bits(mem_0_30.O, 0, 0)
|
|
|
|
|
mem_0_30.I <= bits(RW0_wdata, 30, 30)
|
|
|
|
|
mem_0_30.OEB <= not(and(not(RW0_wmode), UInt<1>("h1")))
|
|
|
|
|
mem_0_30.OEB <= not(and(and(not(RW0_wmode), RW0_en), UInt<1>("h1")))
|
|
|
|
|
mem_0_30.WEB <= not(and(and(RW0_wmode, bits(RW0_wmask, 30, 30)), UInt<1>("h1")))
|
|
|
|
|
mem_0_30.CSB <= not(and(RW0_en, UInt<1>("h1")))
|
|
|
|
|
mem_0_31.CE <= RW0_clk
|
|
|
|
|
mem_0_31.A <= RW0_addr
|
|
|
|
|
node RW0_rdata_0_31 = bits(mem_0_31.O, 0, 0)
|
|
|
|
|
mem_0_31.I <= bits(RW0_wdata, 31, 31)
|
|
|
|
|
mem_0_31.OEB <= not(and(not(RW0_wmode), UInt<1>("h1")))
|
|
|
|
|
mem_0_31.OEB <= not(and(and(not(RW0_wmode), RW0_en), UInt<1>("h1")))
|
|
|
|
|
mem_0_31.WEB <= not(and(and(RW0_wmode, bits(RW0_wmask, 31, 31)), UInt<1>("h1")))
|
|
|
|
|
mem_0_31.CSB <= not(and(RW0_en, UInt<1>("h1")))
|
|
|
|
|
node RW0_rdata_0 = cat(RW0_rdata_0_31, cat(RW0_rdata_0_30, cat(RW0_rdata_0_29, cat(RW0_rdata_0_28, cat(RW0_rdata_0_27, cat(RW0_rdata_0_26, cat(RW0_rdata_0_25, cat(RW0_rdata_0_24, cat(RW0_rdata_0_23, cat(RW0_rdata_0_22, cat(RW0_rdata_0_21, cat(RW0_rdata_0_20, cat(RW0_rdata_0_19, cat(RW0_rdata_0_18, cat(RW0_rdata_0_17, cat(RW0_rdata_0_16, cat(RW0_rdata_0_15, cat(RW0_rdata_0_14, cat(RW0_rdata_0_13, cat(RW0_rdata_0_12, cat(RW0_rdata_0_11, cat(RW0_rdata_0_10, cat(RW0_rdata_0_9, cat(RW0_rdata_0_8, cat(RW0_rdata_0_7, cat(RW0_rdata_0_6, cat(RW0_rdata_0_5, cat(RW0_rdata_0_4, cat(RW0_rdata_0_3, cat(RW0_rdata_0_2, cat(RW0_rdata_0_1, RW0_rdata_0_0)))))))))))))))))))))))))))))))
|
|
|
|
|
|