otsdaq_prepmodernization  v2_05_02_indev
Ethernet_RAM.vhd
1 --------------------------------------------------------------------------------
2 -- This file is owned and controlled by Xilinx and must be used solely --
3 -- for design, simulation, implementation and creation of design files --
4 -- limited to Xilinx devices or technologies. Use with non-Xilinx --
5 -- devices or technologies is expressly prohibited and immediately --
6 -- terminates your license. --
7 -- --
8 -- XILINX IS PROVIDING THIS DESIGN, CODE, OR INFORMATION "AS IS" SOLELY --
9 -- FOR USE IN DEVELOPING PROGRAMS AND SOLUTIONS FOR XILINX DEVICES. BY --
10 -- PROVIDING THIS DESIGN, CODE, OR INFORMATION AS ONE POSSIBLE --
11 -- IMPLEMENTATION OF THIS FEATURE, APPLICATION OR STANDARD, XILINX IS --
12 -- MAKING NO REPRESENTATION THAT THIS IMPLEMENTATION IS FREE FROM ANY --
13 -- CLAIMS OF INFRINGEMENT, AND YOU ARE RESPONSIBLE FOR OBTAINING ANY --
14 -- RIGHTS YOU MAY REQUIRE FOR YOUR IMPLEMENTATION. XILINX EXPRESSLY --
15 -- DISCLAIMS ANY WARRANTY WHATSOEVER WITH RESPECT TO THE ADEQUACY OF THE --
16 -- IMPLEMENTATION, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OR --
17 -- REPRESENTATIONS THAT THIS IMPLEMENTATION IS FREE FROM CLAIMS OF --
18 -- INFRINGEMENT, IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A --
19 -- PARTICULAR PURPOSE. --
20 -- --
21 -- Xilinx products are not intended for use in life support appliances, --
22 -- devices, or systems. Use in such applications are expressly --
23 -- prohibited. --
24 -- --
25 -- (c) Copyright 1995-2017 Xilinx, Inc. --
26 -- All rights reserved. --
27 --------------------------------------------------------------------------------
28 --------------------------------------------------------------------------------
29 -- You must compile the wrapper file Ethernet_RAM.vhd when simulating
30 -- the core, Ethernet_RAM. When compiling the wrapper file, be sure to
31 -- reference the XilinxCoreLib VHDL simulation library. For detailed
32 -- instructions, please refer to the "CORE Generator Help".
33 
34 -- The synthesis directives "translate_off/translate_on" specified
35 -- below are supported by Xilinx, Mentor Graphics and Synplicity
36 -- synthesis tools. Ensure they are correct for your synthesis tool(s).
37 
38 LIBRARY ieee;
39 USE ieee.std_logic_1164.ALL;
40 -- synthesis translate_off
41 LIBRARY XilinxCoreLib;
42 -- synthesis translate_on
43 ENTITY Ethernet_RAM IS
44  PORT (
45  a : IN STD_LOGIC_VECTOR(10 DOWNTO 0);
46  d : IN STD_LOGIC_VECTOR(63 DOWNTO 0);
47  clk : IN STD_LOGIC;
48  we : IN STD_LOGIC;
49  spo : OUT STD_LOGIC_VECTOR(63 DOWNTO 0)
50  );
51 END Ethernet_RAM;
52 
53 ARCHITECTURE Ethernet_RAM_a OF Ethernet_RAM IS
54 -- synthesis translate_off
55 COMPONENT wrapped_Ethernet_RAM
56  PORT (
57  a : IN STD_LOGIC_VECTOR(10 DOWNTO 0);
58  d : IN STD_LOGIC_VECTOR(63 DOWNTO 0);
59  clk : IN STD_LOGIC;
60  we : IN STD_LOGIC;
61  spo : OUT STD_LOGIC_VECTOR(63 DOWNTO 0)
62  );
63 END COMPONENT;
64 
65 -- Configuration specification
66  FOR ALL : wrapped_Ethernet_RAM USE ENTITY XilinxCoreLib.dist_mem_gen_v7_2(behavioral)
67  GENERIC MAP (
68  c_addr_width => 11,
69  c_default_data => "0",
70  c_depth => 2048,
71  c_family => "virtex4",
72  c_has_clk => 1,
73  c_has_d => 1,
74  c_has_dpo => 0,
75  c_has_dpra => 0,
76  c_has_i_ce => 0,
77  c_has_qdpo => 0,
78  c_has_qdpo_ce => 0,
79  c_has_qdpo_clk => 0,
80  c_has_qdpo_rst => 0,
81  c_has_qdpo_srst => 0,
82  c_has_qspo => 0,
83  c_has_qspo_ce => 0,
84  c_has_qspo_rst => 0,
85  c_has_qspo_srst => 0,
86  c_has_spo => 1,
87  c_has_spra => 0,
88  c_has_we => 1,
89  c_mem_init_file => "no_coe_file_loaded",
90  c_mem_type => 1,
91  c_parser_type => 1,
92  c_pipeline_stages => 0,
93  c_qce_joined => 0,
94  c_qualify_we => 0,
95  c_read_mif => 0,
96  c_reg_a_d_inputs => 0,
97  c_reg_dpra_input => 0,
98  c_sync_enable => 1,
99  c_width => 64
100  );
101 -- synthesis translate_on
102 BEGIN
103 -- synthesis translate_off
104 U0 : wrapped_Ethernet_RAM
105  PORT MAP (
106  a => a,
107  d => d,
108  clk => clk,
109  we => we,
110  spo => spo
111  );
112 -- synthesis translate_on
113 
114 END Ethernet_RAM_a;