Last change
on this file since 17873 was 11755, checked in by neise, 13 years ago |
reinit of this svn repos .... it was all too messy
deleted the old folders and restarted with FACT_FAD_lib only.
(well and the testbenches)
|
File size:
1.1 KB
|
Line | |
---|
1 | --
|
---|
2 | -- VHDL Architecture FACT_FAD_TB_lib.trigger_manager_tester.beha
|
---|
3 | --
|
---|
4 | -- Created:
|
---|
5 | -- by - daqct3.UNKNOWN (IHP110)
|
---|
6 | -- at - 13:39:39 14.01.2011
|
---|
7 | --
|
---|
8 | -- using Mentor Graphics HDL Designer(TM) 2009.1 (Build 12)
|
---|
9 | --
|
---|
10 | LIBRARY ieee;
|
---|
11 | USE ieee.std_logic_1164.ALL;
|
---|
12 | USE ieee.std_logic_arith.ALL;
|
---|
13 | USE ieee.std_logic_unsigned.all;
|
---|
14 |
|
---|
15 | ENTITY trigger_manager_tester IS
|
---|
16 | PORT(
|
---|
17 | drs_readout_ready_ack : IN std_logic;
|
---|
18 | -- drs_write : IN std_logic;
|
---|
19 | -- trigger_out : IN std_logic;
|
---|
20 | -- clk : OUT std_logic;
|
---|
21 | drs_readout_ready : OUT std_logic := '0';
|
---|
22 | trigger_in : OUT std_logic := '0'
|
---|
23 | );
|
---|
24 |
|
---|
25 | -- Declarations
|
---|
26 |
|
---|
27 | END trigger_manager_tester ;
|
---|
28 |
|
---|
29 | --
|
---|
30 | ARCHITECTURE beha OF trigger_manager_tester IS
|
---|
31 | BEGIN
|
---|
32 |
|
---|
33 | main_proc : process
|
---|
34 | begin
|
---|
35 | wait for 500 ns;
|
---|
36 | wait for 5 ns;
|
---|
37 | trigger_in <= '1';
|
---|
38 | wait for 15 ns;
|
---|
39 | wait for 100 ns;
|
---|
40 | trigger_in <= '0';
|
---|
41 | wait for 110 ns;
|
---|
42 | drs_readout_ready <= '1';
|
---|
43 | wait until (drs_readout_ready_ack = '1');
|
---|
44 | wait for 20 ns;
|
---|
45 | drs_readout_ready <= '0';
|
---|
46 | wait;
|
---|
47 | end process main_proc;
|
---|
48 |
|
---|
49 |
|
---|
50 | END ARCHITECTURE beha;
|
---|
51 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.