- fixed read fifo clocks
git-svn-id: http://moon:8086/svn/vhdl/trunk@1286 cc03376c-175c-47c8-b038-4cd826a8556b
This commit is contained in:
@@ -161,8 +161,8 @@ begin
|
|||||||
PORT MAP
|
PORT MAP
|
||||||
(
|
(
|
||||||
rst => spi_rst,
|
rst => spi_rst,
|
||||||
clk_w => clk,
|
clk_w => spi_clk,
|
||||||
clk_r => spi_clk,
|
clk_r => clk,
|
||||||
we => read_fifo_we,
|
we => read_fifo_we,
|
||||||
re => dout_re,
|
re => dout_re,
|
||||||
fifo_full => read_fifo_full,
|
fifo_full => read_fifo_full,
|
||||||
|
|||||||
@@ -178,14 +178,15 @@ STIMULUS: process
|
|||||||
wait until rising_edge(CLK) and mst_cmd_rdy = '1';
|
wait until rising_edge(CLK) and mst_cmd_rdy = '1';
|
||||||
mst_cmd_vld <= '0';
|
mst_cmd_vld <= '0';
|
||||||
|
|
||||||
|
--------------------------------------------------------
|
||||||
wait until rising_edge(CLK);
|
wait until rising_edge(CLK);
|
||||||
mst_din <= X"9000_0000";
|
mst_din <= X"9F00_0000";
|
||||||
mst_din_vld <= '1';
|
mst_din_vld <= '1';
|
||||||
wait until rising_edge(CLK) and mst_din_rdy = '1';
|
wait until rising_edge(CLK) and mst_din_rdy = '1';
|
||||||
mst_din_vld <= '0';
|
mst_din_vld <= '0';
|
||||||
|
|
||||||
wait until rising_edge(CLK);
|
wait until rising_edge(CLK);
|
||||||
mst_cmd <= to_cmd(16, 8);
|
mst_cmd <= to_cmd(32, 8);
|
||||||
mst_cmd_vld <= '1';
|
mst_cmd_vld <= '1';
|
||||||
wait until rising_edge(CLK) and mst_cmd_rdy = '1';
|
wait until rising_edge(CLK) and mst_cmd_rdy = '1';
|
||||||
mst_cmd_vld <= '0';
|
mst_cmd_vld <= '0';
|
||||||
|
|||||||
Reference in New Issue
Block a user