|
Last change
on this file since 19273 was 11755, checked in by neise, 14 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_lib.adc_buffer.beha
|
|---|
| 3 | --
|
|---|
| 4 | -- Created:
|
|---|
| 5 | -- by - kai.UNKNOWN (E5PCXX)
|
|---|
| 6 | -- at - 14:57:55 04.05.2010
|
|---|
| 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 | library fact_fad_lib;
|
|---|
| 16 | use fact_fad_lib.fad_definitions.all;
|
|---|
| 17 |
|
|---|
| 18 | library UNISIM;
|
|---|
| 19 | use UNISIM.VComponents.all;
|
|---|
| 20 | USE IEEE.NUMERIC_STD.all;
|
|---|
| 21 | USE IEEE.std_logic_signed.all;
|
|---|
| 22 |
|
|---|
| 23 | ENTITY adc_buffer IS
|
|---|
| 24 | PORT(
|
|---|
| 25 | clk_ps : IN std_logic;
|
|---|
| 26 | adc_data_array : IN adc_data_array_type;
|
|---|
| 27 | adc_otr_array : IN std_logic_vector (3 DOWNTO 0);
|
|---|
| 28 | adc_data_array_int : OUT adc_data_array_type;
|
|---|
| 29 | adc_otr : OUT std_logic_vector (3 DOWNTO 0)
|
|---|
| 30 | );
|
|---|
| 31 |
|
|---|
| 32 | -- Declarations
|
|---|
| 33 |
|
|---|
| 34 | END adc_buffer ;
|
|---|
| 35 |
|
|---|
| 36 | --
|
|---|
| 37 | ARCHITECTURE beha OF adc_buffer IS
|
|---|
| 38 | BEGIN
|
|---|
| 39 | adc_buf : process (clk_ps)
|
|---|
| 40 | begin
|
|---|
| 41 | if rising_edge (clk_ps) then
|
|---|
| 42 | adc_data_array_int <= adc_data_array;
|
|---|
| 43 | adc_otr <= adc_otr_array;
|
|---|
| 44 | end if;
|
|---|
| 45 | end process adc_buf;
|
|---|
| 46 | END ARCHITECTURE beha;
|
|---|
| 47 |
|
|---|
Note:
See
TracBrowser
for help on using the repository browser.