constant ST_READ_3 :std_logic_vector (9 downto 0) := "0100111111" ;-- 13F\r
\r
constant ST_RD_FIFO_1 :std_logic_vector (9 downto 0) := "0000110011" ;-- 033\r
- constant ST_RD_FIFO_2 :std_logic_vector (9 downto 0) := "1000110011" ;-- 233\r
+ constant ST_RD_FIFO_2 :std_logic_vector (9 downto 0) := "1100110011" ;-- 233\r
\r
\r
constant ST_WRITE_1 :std_logic_vector (9 downto 0) := "0111110010" ;-- 1F2\r
SPC_RDY_OUT : Out std_logic;\r
SR_ERROR : Out std_logic;\r
SYNC_FLAG : Out std_logic_vector (7 downto 0);\r
- PAR_SER_IN : Out std_logic_vector (7 downto 0));\r
+ PAR_SER_IN : Out std_logic_vector (7 downto 0);\r
+ SER_PAR_OUT : Out std_logic_vector (7 downto 0));\r
end FIFO_CONTROL;\r
\r
architecture SCHEMATIC of FIFO_CONTROL is\r
signal XXXS_FIFO_READn : std_logic;\r
signal SYNC_FLAG_DUMMY : std_logic_vector (7 downto 0);\r
signal XXXR_FIFO_D_IN : std_logic_vector (7 downto 0);\r
+ signal watcher : std_logic_vector (7 downto 0);\r
\r
component SER_PAR_CON\r
Port ( PCI_CLOCK : In std_logic;\r
\r
SYNC_FLAG <= SYNC_FLAG_DUMMY;\r
PAR_SER_IN <= S_FIFO_Q_OUT;\r
-\r
+ SER_PAR_OUT <= watcher;\r
+ R_FIFO_D_IN(7 downto 0) <= watcher;\r
\r
RESERVE <= gnd;\r
I23 : SER_PAR_CON\r
Port Map ( PCI_CLOCK=>PCI_CLOCK, RESET=>RESET,\r
SERIAL_IN=>SERIAL_IN, SPC_ENABLE=>SPC_ENABLE,\r
SYNC_R_FIFO_FFn=>SYNC_FLAG_DUMMY(3),\r
- PAR_OUT(7 downto 0)=>R_FIFO_D_IN(7 downto 0),\r
+ PAR_OUT(7 downto 0)=>watcher,\r
R_FIFO_WRITEn=>R_FIFO_WRITEn, SPC_RDY_OUT=>SPC_RDY_OUT );\r
I22 : PAR_SER_CON\r
Port Map ( PAR_IN(7 downto 0)=>S_FIFO_Q_OUT(7 downto 0),\r
SPC_RDY_OUT : Out std_logic;\r
SR_ERROR : Out std_logic;\r
PAR_SER_IN : Out std_logic_vector (7 downto 0);\r
+ SER_PAR_OUT : Out std_logic_vector (7 downto 0);\r
SYNC_FLAG : Out std_logic_vector (7 downto 0) );\r
end component;\r
\r
LED_4 <= '0';\r
LED_5 <= not watch;\r
PCI_INTAn <= watch;\r
- trig0(7 downto 0) <= (0 => watch, others => '0');\r
+ trig0(7 downto 0) <= (0 => watch, 1 => R_FIFO_READn, 2 => R_FIFO_WRITEn, 3 => S_FIFO_READn, 4 => S_FIFO_WRITEn, others => '0');\r
data(0) <= watch;\r
\r
data(1) <= R_EFn;\r
data(16) <= SPC_RDY_IN;\r
data(17) <= SERIAL_OUT;\r
data(18) <= SPC_RDY_OUT;\r
+ data(34 downto 27) <= R_FIFO_Q_OUT;\r
\r
I19 : MESS_1_TB\r
Port Map ( DEVSELn=>DEVSELn, INTAn=>INTAn, KONST_1=>KONST_1,\r