- added error flags

Committed on the Free edition of March Hare Software CVSNT Server.
Upgrade to CVS Suite for more features and support:
http://march-hare.com/cvsnt/


git-svn-id: http://moon:8086/svn/vhdl/trunk@630 cc03376c-175c-47c8-b038-4cd826a8556b
This commit is contained in:
2009-11-07 11:59:48 +00:00
parent 04c4f04452
commit 19f258f351
+5 -2
View File
@@ -44,6 +44,8 @@ ARCHITECTURE behavior OF ps2_wb IS
signal irq_rx : std_logic;
signal irq_tx : std_logic;
signal tx_empty : std_logic;
signal rx_err_flag : std_logic;
signal rx_err_par : std_logic;
begin
@@ -122,6 +124,8 @@ inst_ps2_core: entity work.ps2_core
dout => reg_ps2_rx,
tx_empty => tx_empty,
rx_present => rx_data_present,
rx_err_flag => rx_err_flag,
rx_err_par => rx_err_par,
din_vld => reg_we_ps2_tx,
read_en => reg_re_ps2_rx,
ps2_clk_rx => clk_rx,
@@ -130,7 +134,6 @@ inst_ps2_core: entity work.ps2_core
ps2_data_tx => data_tx
);
ps2_status_port <= "000000" & irq_rx & irq_tx & '0' & rx_int_en & tx_int_en & '0' & '0' & rx_data_present & '0' & tx_empty;
-- INT_O <= irq_rx or irq_tx;
ps2_status_port <= rx_err_flag & "000" & rx_err_par & '0' & irq_rx & irq_tx & '0' & rx_int_en & tx_int_en & '0' & '0' & rx_data_present & '0' & tx_empty;
end behavior;