-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathdata_cache_way2.v
94 lines (82 loc) · 2.64 KB
/
data_cache_way2.v
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
/*******************************************************************
* This file is owned and controlled by Xilinx and must be used *
* solely for design, simulation, implementation and creation of *
* design files limited to Xilinx devices or technologies. Use *
* with non-Xilinx devices or technologies is expressly prohibited *
* and immediately terminates your license. *
* *
* Xilinx products are not intended for use in life support *
* appliances, devices, or systems. Use in such applications are *
* expressly prohibited. *
* *
* Copyright (C) 2001, Xilinx, Inc. All Rights Reserved. *
*******************************************************************/
// The synopsys directives "translate_off/translate_on" specified
// below are supported by XST, FPGA Express, Exemplar and Synplicity
// synthesis tools. Ensure they are correct for your synthesis tool(s).
// You must compile the wrapper file data_cache_way2.v when simulating
// the core, data_cache_way2. When compiling the wrapper file, be sure to
// reference the XilinxCoreLib Verilog simulation library. For detailed
// instructions, please refer to the "Coregen Users Guide".
module data_cache_way2 (
A,
CLK,
D,
WE,
SPO); // synthesis black_box
input [4 : 0] A;
input CLK;
input [52 : 0] D;
input WE;
output [52 : 0] SPO;
// synopsys translate_off
C_DIST_MEM_V4_1 #(
5, // c_addr_width
"0", // c_default_data
1, // c_default_data_radix
32, // c_depth
0, // c_family
1, // c_generate_mif
1, // c_has_clk
1, // c_has_d
0, // c_has_dpo
0, // c_has_dpra
0, // c_has_i_ce
0, // c_has_qdpo
0, // c_has_qdpo_ce
0, // c_has_qdpo_clk
0, // c_has_qdpo_rst
0, // c_has_qdpo_srst
0, // c_has_qspo
0, // c_has_qspo_ce
0, // c_has_qspo_rst
0, // c_has_qspo_srst
0, // c_has_rd_en
1, // c_has_spo
0, // c_has_spra
1, // c_has_we
0, // c_latency
"data_cache_way2.mif", // c_mem_init_file
1, // c_mem_type
0, // c_mux_type
0, // c_qce_joined
0, // c_qualify_we
0, // c_read_mif
0, // c_reg_a_d_inputs
0, // c_reg_dpra_input
0, // c_sync_enable
53) // c_width
inst (
.A(A),
.CLK(CLK),
.D(D),
.WE(WE),
.SPO(SPO));
// synopsys translate_on
// FPGA Express black box declaration
// synopsys attribute fpga_dont_touch "true"
// synthesis attribute fpga_dont_touch of data_cache_way2 is "true"
// XST black box declaration
// box_type "black_box"
// synthesis attribute box_type of data_cache_way2 is "black_box"
endmodule