mirror of https://github.com/YosysHQ/yosys.git
QLF_TDP36K: test bram_tdp post synth
This commit is contained in:
parent
f9c8978128
commit
ba3be3fd1c
|
@ -1,5 +1,8 @@
|
|||
read_verilog bram_tdp.v
|
||||
hierarchy -top BRAM_TDP
|
||||
synth_quicklogic -family qlf_k6n10f
|
||||
read_verilog +/quicklogic/qlf_k6n10f/brams_sim.v +/quicklogic/qlf_k6n10f/sram1024x18_mem.v +/quicklogic/qlf_k6n10f/ufifo_ctl.v +/quicklogic/qlf_k6n10f/TDP18K_FIFO.v
|
||||
read_verilog -formal bram_tdp.v bram_tdp_tb.v
|
||||
read_verilog -formal bram_tdp_tb.v
|
||||
hierarchy -top TB
|
||||
proc
|
||||
sim -clock clk -n 20 -assert # -vcd bram_tdp.vcd
|
||||
sim -clock clk -n 20 -assert # -vcd bram_tdp.vcd
|
||||
|
|
|
@ -63,10 +63,10 @@ wire wce_b = wce_b_testvector[i];
|
|||
wire [ADDR_WIDTH-1:0] wa_b = wa_b_testvector[i];
|
||||
wire [DATA_WIDTH-1:0] wd_b = wd_b_testvector[i];
|
||||
|
||||
uut #(
|
||||
BRAM_TDP #(
|
||||
.AWIDTH(ADDR_WIDTH),
|
||||
.DWIDTH(DATA_WIDTH)
|
||||
) BRAM_TDP (
|
||||
) uut (
|
||||
.clk_a(clk),
|
||||
.rce_a(rce_a),
|
||||
.ra_a(ra_a),
|
||||
|
|
Loading…
Reference in New Issue