1 |
2 |
tak.sugawa |
--------------------------------------------------------------------------------
|
2 |
|
|
-- This file is owned and controlled by Xilinx and must be used --
|
3 |
|
|
-- solely for design, simulation, implementation and creation of --
|
4 |
|
|
-- design files limited to Xilinx devices or technologies. Use --
|
5 |
|
|
-- with non-Xilinx devices or technologies is expressly prohibited --
|
6 |
|
|
-- and immediately terminates your license. --
|
7 |
|
|
-- --
|
8 |
|
|
-- XILINX IS PROVIDING THIS DESIGN, CODE, OR INFORMATION "AS IS" --
|
9 |
|
|
-- SOLELY FOR USE IN DEVELOPING PROGRAMS AND SOLUTIONS FOR --
|
10 |
|
|
-- XILINX DEVICES. BY PROVIDING THIS DESIGN, CODE, OR INFORMATION --
|
11 |
|
|
-- AS ONE POSSIBLE IMPLEMENTATION OF THIS FEATURE, APPLICATION --
|
12 |
|
|
-- OR STANDARD, XILINX IS MAKING NO REPRESENTATION THAT THIS --
|
13 |
|
|
-- IMPLEMENTATION IS FREE FROM ANY CLAIMS OF INFRINGEMENT, --
|
14 |
|
|
-- AND YOU ARE RESPONSIBLE FOR OBTAINING ANY RIGHTS YOU MAY REQUIRE --
|
15 |
|
|
-- FOR YOUR IMPLEMENTATION. XILINX EXPRESSLY DISCLAIMS ANY --
|
16 |
|
|
-- WARRANTY WHATSOEVER WITH RESPECT TO THE ADEQUACY OF THE --
|
17 |
|
|
-- IMPLEMENTATION, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OR --
|
18 |
|
|
-- REPRESENTATIONS THAT THIS IMPLEMENTATION IS FREE FROM CLAIMS OF --
|
19 |
|
|
-- INFRINGEMENT, IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS --
|
20 |
|
|
-- FOR A PARTICULAR PURPOSE. --
|
21 |
|
|
-- --
|
22 |
|
|
-- Xilinx products are not intended for use in life support --
|
23 |
|
|
-- appliances, devices, or systems. Use in such applications are --
|
24 |
|
|
-- expressly prohibited. --
|
25 |
|
|
-- --
|
26 |
|
|
-- (c) Copyright 1995-2004 Xilinx, Inc. --
|
27 |
|
|
-- All rights reserved. --
|
28 |
|
|
--------------------------------------------------------------------------------
|
29 |
|
|
-- The following code must appear in the VHDL architecture header:
|
30 |
|
|
|
31 |
|
|
------------- Begin Cut here for COMPONENT Declaration ------ COMP_TAG
|
32 |
|
|
component ram1k0
|
33 |
|
|
port (
|
34 |
|
|
addra: IN std_logic_VECTOR(11 downto 0);
|
35 |
|
|
addrb: IN std_logic_VECTOR(11 downto 0);
|
36 |
|
|
clka: IN std_logic;
|
37 |
|
|
clkb: IN std_logic;
|
38 |
|
|
dina: IN std_logic_VECTOR(7 downto 0);
|
39 |
|
|
dinb: IN std_logic_VECTOR(7 downto 0);
|
40 |
|
|
douta: OUT std_logic_VECTOR(7 downto 0);
|
41 |
|
|
doutb: OUT std_logic_VECTOR(7 downto 0);
|
42 |
|
|
wea: IN std_logic;
|
43 |
|
|
web: IN std_logic);
|
44 |
|
|
end component;
|
45 |
|
|
|
46 |
|
|
-- FPGA Express Black Box declaration
|
47 |
|
|
attribute fpga_dont_touch: string;
|
48 |
|
|
attribute fpga_dont_touch of ram1k0: component is "true";
|
49 |
|
|
|
50 |
|
|
-- Synplicity black box declaration
|
51 |
|
|
attribute syn_black_box : boolean;
|
52 |
|
|
attribute syn_black_box of ram1k0: component is true;
|
53 |
|
|
|
54 |
|
|
-- COMP_TAG_END ------ End COMPONENT Declaration ------------
|
55 |
|
|
|
56 |
|
|
-- The following code must appear in the VHDL architecture
|
57 |
|
|
-- body. Substitute your own instance name and net names.
|
58 |
|
|
|
59 |
|
|
------------- Begin Cut here for INSTANTIATION Template ----- INST_TAG
|
60 |
|
|
your_instance_name : ram1k0
|
61 |
|
|
port map (
|
62 |
|
|
addra => addra,
|
63 |
|
|
addrb => addrb,
|
64 |
|
|
clka => clka,
|
65 |
|
|
clkb => clkb,
|
66 |
|
|
dina => dina,
|
67 |
|
|
dinb => dinb,
|
68 |
|
|
douta => douta,
|
69 |
|
|
doutb => doutb,
|
70 |
|
|
wea => wea,
|
71 |
|
|
web => web);
|
72 |
|
|
-- INST_TAG_END ------ End INSTANTIATION Template ------------
|
73 |
|
|
|
74 |
|
|
-- You must compile the wrapper file ram1k0.vhd when simulating
|
75 |
|
|
-- the core, ram1k0. When compiling the wrapper file, be sure to
|
76 |
|
|
-- reference the XilinxCoreLib VHDL simulation library. For detailed
|
77 |
|
|
-- instructions, please refer to the "CORE Generator Help".
|
78 |
|
|
|