Last change
on this file since 228 was 215, checked in by dneise, 14 years ago |
initial commit (2nd part): only VHDL and UCF files were commited.
|
-
Property svn:executable
set to
*
|
File size:
907 bytes
|
Line | |
---|
1 | --
|
---|
2 | -- VHDL Architecture FACT_FAD_TB_lib.simple_trigger.beha
|
---|
3 | --
|
---|
4 | -- Created:
|
---|
5 | -- by - FPGA_Developer.UNKNOWN (EEPC8)
|
---|
6 | -- at - 14:01:15 10.02.2010
|
---|
7 | --
|
---|
8 | -- using Mentor Graphics HDL Designer(TM) 2008.1 (Build 17)
|
---|
9 | --
|
---|
10 | LIBRARY ieee;
|
---|
11 | USE ieee.std_logic_1164.all;
|
---|
12 | USE ieee.NUMERIC_STD.all;
|
---|
13 | use IEEE.STD_LOGIC_ARITH.ALL;
|
---|
14 | use IEEE.STD_LOGIC_UNSIGNED.ALL;
|
---|
15 |
|
---|
16 | library FACT_FAD_lib;
|
---|
17 | use FACT_FAD_lib.fad_definitions.all;
|
---|
18 |
|
---|
19 | entity simple_trigger is
|
---|
20 | generic(
|
---|
21 | TRIGGER_TIME : TIME := 16 us;
|
---|
22 | PULSE_WIDTH : TIME := 1 us
|
---|
23 | );
|
---|
24 | port(
|
---|
25 | trigger : out std_logic
|
---|
26 | );
|
---|
27 |
|
---|
28 | -- Declarations
|
---|
29 |
|
---|
30 | end simple_trigger ;
|
---|
31 |
|
---|
32 |
|
---|
33 | architecture beha of simple_trigger is
|
---|
34 | begin
|
---|
35 |
|
---|
36 | trigger_proc: process
|
---|
37 | begin
|
---|
38 | trigger <= '0';
|
---|
39 | wait for TRIGGER_TIME;
|
---|
40 | trigger <= '1';
|
---|
41 | wait for PULSE_WIDTH;
|
---|
42 | trigger <= '0';
|
---|
43 | wait for PULSE_WIDTH;
|
---|
44 | -- wait;
|
---|
45 | end process trigger_proc;
|
---|
46 | end architecture beha;
|
---|
47 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.