- fixed read fifo clocks

git-svn-id: http://moon:8086/svn/vhdl/trunk@1286 cc03376c-175c-47c8-b038-4cd826a8556b
This commit is contained in:
2015-06-04 16:16:18 +00:00
parent c9d75c5d52
commit 360bd90d0f
2 changed files with 5 additions and 4 deletions
+2 -2
View File
@@ -161,8 +161,8 @@ begin
PORT MAP
(
rst => spi_rst,
clk_w => clk,
clk_r => spi_clk,
clk_w => spi_clk,
clk_r => clk,
we => read_fifo_we,
re => dout_re,
fifo_full => read_fifo_full,
+3 -2
View File
@@ -178,14 +178,15 @@ STIMULUS: process
wait until rising_edge(CLK) and mst_cmd_rdy = '1';
mst_cmd_vld <= '0';
--------------------------------------------------------
wait until rising_edge(CLK);
mst_din <= X"9000_0000";
mst_din <= X"9F00_0000";
mst_din_vld <= '1';
wait until rising_edge(CLK) and mst_din_rdy = '1';
mst_din_vld <= '0';
wait until rising_edge(CLK);
mst_cmd <= to_cmd(16, 8);
mst_cmd <= to_cmd(32, 8);
mst_cmd_vld <= '1';
wait until rising_edge(CLK) and mst_cmd_rdy = '1';
mst_cmd_vld <= '0';