Removed ACK for J-Bus writes

git-svn-id: http://moon:8086/svn/vhdl/trunk@39 cc03376c-175c-47c8-b038-4cd826a8556b
This commit is contained in:
2008-10-10 21:25:17 +00:00
parent 1493e3e779
commit db98ad86d2
2 changed files with 5 additions and 14 deletions
@@ -253,6 +253,8 @@ begin
------------------------------------------------------------------------------------------
SRDY_O <= rdy;
ACK_O <= not (read_fifo_empty);
DAT_O <= read_fifo_data_out;
rdy <= not (cat_fifo_full or write_fifo_full or read_fifo_full) and CYC_I;
write_fifo_we <= STB_I and WE_I and rdy;
write_fifo_data_in <= DAT_I;
@@ -278,16 +280,4 @@ begin
read_fifo_data_in <= u_data_r(31 downto 0);
read_fifo_dm_in <= u_dm_rd_out(3 downto 0);
data_register:
process(CLK_I)
begin
if rising_edge(CLK_I) then
ACK_O <= '0';
if MRDY_I = '1' then
ACK_O <= write_fifo_we or (CYC_I and not (WE_I or read_fifo_empty));
DAT_O <= read_fifo_data_out;
end if;
end if;
end process;
end architecture struct;
+3 -2
View File
@@ -1,5 +1,5 @@
-----------------------------------------------------------------------
-- $Header: /tmp/cvsroot/VHDL/lib/misc/async_port.vhd,v 1.1 2008-09-21 08:25:59 Jens Exp $
-- $Header: /tmp/cvsroot/VHDL/lib/misc/async_port.vhd,v 1.2 2008-10-10 21:25:17 Jens Exp $
-----------------------------------------------------------------------
library IEEE;
use IEEE.STD_LOGIC_1164.ALL;
@@ -141,11 +141,11 @@ architecture Behavioral of async_port is
as.cs <= '1';
as.rd <= '1';
if cycle_cnt = 0 then
cpu_vld <= '1';
cc_rst <= '1';
cycle_reload <= async_timespec.ncyc_cs_hold-1;
as.rd <= '0';
sn <= leadout_rd;
cpu_vld <= '1';
end if;
when write =>
@@ -157,6 +157,7 @@ architecture Behavioral of async_port is
cc_rst <= '1';
cycle_reload <= async_timespec.ncyc_cs_hold-1;
sn <= leadout_wr;
cpu_vld <= '1';
end if;
when leadout_rd =>