// else if (buf_wr || buf_rd) buf_raddr <= buf_raddr +1; // Separate read/write address? read address re-registered @ negedge //SuppressThisWarning ISExst Result of 10-bit expression is truncated to fit in 9-bit target.
if(rst)run_chn_d<=0;
if(mrst)run_chn_d<=0;
elseif(run_seq)run_chn_d<=run_chn;
if(rst)run_refresh_d<=0;
if(mrst)run_refresh_d<=0;
elseif(run_seq)run_refresh_d<=run_refresh;
if(rst)run_seq_d<=0;
if(mrst)run_seq_d<=0;
elserun_seq_d<=run_seq;
if(rst)buf_raddr_reset<=0;
if(mrst)buf_raddr_reset<=0;
elsebuf_raddr_reset<=buf_rst&~mem_read_mode;
if(rst)buf_addr_reset<=0;
if(mrst)buf_addr_reset<=0;
elsebuf_addr_reset<=buf_rst;
end
...
...
@@ -507,7 +512,7 @@ module mcontr_sequencer #(
)cmd0_buf_i(
.rclk(mclk),// input
.raddr(cmd_addr),// input[9:0]
.ren(ren0),// input TODO: verify cmd_busy[0] is correct (was cmd_busy )
.ren(ren0),// input TODO: verify cmd_busy[0] is correct (was cmd_busy ). TODO: make cleaner ren/regen
.regen(ren0),// input
.data_out(phy_cmd0_word),// output[31:0]
.wclk(cmd0_clk),// input
...
...
@@ -519,12 +524,12 @@ module mcontr_sequencer #(
// Command sequence memory 0 ("manual"):
ram_1kx32_1kx32#(
.REGISTERS(1)// (0) // register output
.REGISTERS(1)// (0) // register output
)cmd1_buf_i(
.rclk(mclk),// input
.raddr(cmd_addr),// input[9:0]
.ren(ren1),// input
.regen(ren1),// input
.ren(ren1),// input ??? TODO: make cleaner ren/regen
.regen(ren1),// input ???
.data_out(phy_cmd1_word),// output[31:0]
.wclk(cmd1_clk),// input
.waddr(cmd1_addr),// input[9:0]
...
...
@@ -549,7 +554,7 @@ module mcontr_sequencer #(
.CLKFBOUT_DIV_REF(CLKFBOUT_DIV_REF),
.DIVCLK_DIVIDE(DIVCLK_DIVIDE),
.CLKFBOUT_PHASE(CLKFBOUT_PHASE),
.SDCLK_PHASE(SDCLK_PHASE),/// debugging
.SDCLK_PHASE(SDCLK_PHASE),/// debugging
.CLK_PHASE(CLK_PHASE),
.CLK_DIV_PHASE(CLK_DIV_PHASE),
...
...
@@ -560,7 +565,6 @@ module mcontr_sequencer #(
.SS_MOD_PERIOD(SS_MOD_PERIOD),
.CMD_PAUSE_BITS(CMD_PAUSE_BITS),// numer of (address) bits to encode pause
.CMD_DONE_BIT(CMD_DONE_BIT)// bit number (address) to signal sequence done
)phy_cmd_i(
.SDRST(SDRST),// output
.SDCLK(SDCLK),// output
...
...
@@ -582,7 +586,9 @@ module mcontr_sequencer #(
.clk_in(clk_in),// input
.rst_in(rst_in),// input
.mclk(mclk),// output
.mrst(mrst),// input
.ref_clk(ref_clk),// output
.idelay_ctrl_reset(idelay_ctrl_reset),// output
.dly_data(dly_data[7:0]),// input[7:0]
.dly_addr(dly_addr[6:0]),// input[6:0]
.ld_delay(ld_delay),// input
...
...
@@ -605,7 +611,7 @@ module mcontr_sequencer #(
.phy_cmd_word(phy_cmd_word[31:0]),// input[31:0]
.phy_cmd_nop(phy_cmd_nop),// output
.phy_cmd_add_pause(phy_cmd_add_pause),// one pause cycle (for 8-bursts)
)cmd_mux_i(// SuppressThisWarning ISExst: Output port <par_data>,<par_waddr>, <cseq_ackn> of the instance <cmd_mux_i> is unconnected or connected to loadless signal.
)axibram_write_i(//SuppressThisWarning ISExst Output port <bram_wstb> of the instance <axibram_write_i> is unconnected or connected to loadless signal.