1 |
2 |
tobil |
/*******************************************************************************
|
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-2009 Xilinx, Inc. *
|
27 |
|
|
* All rights reserved. *
|
28 |
|
|
*******************************************************************************/
|
29 |
|
|
// The synthesis directives "translate_off/translate_on" specified below are
|
30 |
|
|
// supported by Xilinx, Mentor Graphics and Synplicity synthesis
|
31 |
|
|
// tools. Ensure they are correct for your synthesis tool(s).
|
32 |
|
|
|
33 |
|
|
// You must compile the wrapper file rf_blk.v when simulating
|
34 |
|
|
// the core, rf_blk. When compiling the wrapper file, be sure to
|
35 |
|
|
// reference the XilinxCoreLib Verilog simulation library. For detailed
|
36 |
|
|
// instructions, please refer to the "CORE Generator Help".
|
37 |
|
|
|
38 |
|
|
`timescale 1ns/1ps
|
39 |
|
|
|
40 |
|
|
module rf_sub(
|
41 |
|
|
a,
|
42 |
|
|
d,
|
43 |
|
|
dpra,
|
44 |
|
|
clk,
|
45 |
|
|
we,
|
46 |
|
|
spo,
|
47 |
|
|
dpo);
|
48 |
|
|
|
49 |
|
|
|
50 |
|
|
input [4 : 0] a;
|
51 |
|
|
input [31 : 0] d;
|
52 |
|
|
input [4 : 0] dpra;
|
53 |
|
|
input clk;
|
54 |
|
|
input we;
|
55 |
|
|
output [31 : 0] spo;
|
56 |
|
|
output [31 : 0] dpo;
|
57 |
|
|
|
58 |
|
|
rf_dist rf_disti(
|
59 |
|
|
.a(a),
|
60 |
|
|
.d(d),
|
61 |
|
|
.dpra(dpra),
|
62 |
|
|
.clk(clk),
|
63 |
|
|
.we(we),
|
64 |
|
|
.spo(spo),
|
65 |
|
|
.dpo(dpo));
|
66 |
|
|
|
67 |
|
|
|
68 |
|
|
endmodule
|
69 |
|
|
|