Line 1... |
Line 1... |
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
--
|
--
|
-- Testbench for interrupt evaluation.
|
-- Testbench for interrupt evaluation.
|
--
|
--
|
-- $Id: tb_int.vhd,v 1.4 2006-05-28 23:09:20 arniml Exp $
|
-- $Id: tb_int.vhd,v 1.5 2006-06-05 18:50:45 arniml Exp $
|
--
|
--
|
-- Copyright (c) 2006 Arnim Laeuger (arniml@opencores.org)
|
-- Copyright (c) 2006 Arnim Laeuger (arniml@opencores.org)
|
--
|
--
|
-- All rights reserved
|
-- All rights reserved
|
--
|
--
|
Line 59... |
Line 59... |
architecture behav of tb_int is
|
architecture behav of tb_int is
|
|
|
-- 210.4 kHz clock
|
-- 210.4 kHz clock
|
constant period_c : time := 4.75 us;
|
constant period_c : time := 4.75 us;
|
signal ck_s : std_logic;
|
signal ck_s : std_logic;
|
signal en_ck_s : std_logic;
|
|
|
|
signal reset_n_s : std_logic;
|
signal reset_n_s : std_logic;
|
|
|
signal io_l_s : std_logic_vector(7 downto 0);
|
signal io_l_s : std_logic_vector(7 downto 0);
|
signal io_d_s : std_logic_vector(3 downto 0);
|
signal io_d_s : std_logic_vector(3 downto 0);
|
Line 194... |
Line 193... |
|
|
-------------------------------------------------------------------------------
|
-------------------------------------------------------------------------------
|
-- File History:
|
-- File History:
|
--
|
--
|
-- $Log: not supported by cvs2svn $
|
-- $Log: not supported by cvs2svn $
|
|
-- Revision 1.4 2006/05/28 23:09:20 arniml
|
|
-- lower nibble is OD to prevent contention with testbench
|
|
--
|
-- Revision 1.3 2006/05/28 15:36:59 arniml
|
-- Revision 1.3 2006/05/28 15:36:59 arniml
|
-- don't generate interrupt when in interrupt routine around 0x100
|
-- don't generate interrupt when in interrupt routine around 0x100
|
--
|
--
|
-- Revision 1.2 2006/05/28 02:53:47 arniml
|
-- Revision 1.2 2006/05/28 02:53:47 arniml
|
-- provide SA at L port
|
-- provide SA at L port
|