OpenCores
URL https://opencores.org/ocsvn/an-fpga-implementation-of-low-latency-noc-based-mpsoc/an-fpga-implementation-of-low-latency-noc-based-mpsoc/trunk

Subversion Repositories an-fpga-implementation-of-low-latency-noc-based-mpsoc

[/] [an-fpga-implementation-of-low-latency-noc-based-mpsoc/] [trunk/] [mpsoc/] [boards/] [Altera/] [DE1_SoC/] [DE1_SoC.v] - Blame information for rev 48

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 48 alirezamon
============================================================================
2
// Copyright (c) 2013 by Terasic Technologies Inc.
3
// ============================================================================
4
//
5
// Permission:
6
//
7
//   Terasic grants permission to use and modify this code for use
8
//   in synthesis for all Terasic Development Boards and Altera Development 
9
//   Kits made by Terasic.  Other use of this code, including the selling 
10
//   ,duplication, or modification of any portion is strictly prohibited.
11
//
12
// Disclaimer:
13
//
14
//   This VHDL/Verilog or C/C++ source code is intended as a design reference
15
//   which illustrates how these types of functions can be implemented.
16
//   It is the user's responsibility to verify their design for
17
//   consistency and functionality through the use of formal
18
//   verification methods.  Terasic provides no warranty regarding the use 
19
//   or functionality of this code.
20
//
21
// ============================================================================
22
//           
23
//  Terasic Technologies Inc
24
//  9F., No.176, Sec.2, Gongdao 5th Rd, East Dist, Hsinchu City, 30070. Taiwan
25
//  
26
//  
27
//                     web: http://www.terasic.com/  
28
//                     email: support@terasic.com
29
//
30
// ============================================================================
31
//Date:  Thu Jul 11 11:26:45 2013
32
// ============================================================================
33
 
34
`define ENABLE_ADC
35
`define ENABLE_AUD
36
`define ENABLE_CLOCK2
37
`define ENABLE_CLOCK3
38
`define ENABLE_CLOCK4
39
`define ENABLE_CLOCK
40
`define ENABLE_DRAM
41
`define ENABLE_FAN
42
`define ENABLE_FPGA
43
`define ENABLE_GPIO
44
`define ENABLE_HEX
45
//`define ENABLE_HPS
46
`define ENABLE_IRDA
47
`define ENABLE_KEY
48
`define ENABLE_LEDR
49
`define ENABLE_PS2
50
`define ENABLE_SW
51
`define ENABLE_TD
52
`define ENABLE_VGA
53
 
54
module DE1_SOC_golden_top(
55
 
56
      /* Enables ADC - 3.3V */
57
        `ifdef ENABLE_ADC
58
 
59
      output             ADC_CONVST,
60
      output             ADC_DIN,
61
      input              ADC_DOUT,
62
      output             ADC_SCLK,
63
 
64
        `endif
65
 
66
       /* Enables AUD - 3.3V */
67
        `ifdef ENABLE_AUD
68
 
69
      input              AUD_ADCDAT,
70
      inout              AUD_ADCLRCK,
71
      inout              AUD_BCLK,
72
      output             AUD_DACDAT,
73
      inout              AUD_DACLRCK,
74
      output             AUD_XCK,
75
 
76
        `endif
77
 
78
      /* Enables CLOCK2  */
79
        `ifdef ENABLE_CLOCK2
80
      input              CLOCK2_50,
81
        `endif
82
 
83
      /* Enables CLOCK3 */
84
        `ifdef ENABLE_CLOCK3
85
      input              CLOCK3_50,
86
        `endif
87
 
88
      /* Enables CLOCK4 */
89
        `ifdef ENABLE_CLOCK4
90
      input              CLOCK4_50,
91
        `endif
92
 
93
      /* Enables CLOCK */
94
        `ifdef ENABLE_CLOCK
95
      input              CLOCK_50,
96
        `endif
97
 
98
       /* Enables DRAM - 3.3V */
99
        `ifdef ENABLE_DRAM
100
      output      [12:0] DRAM_ADDR,
101
      output      [1:0]  DRAM_BA,
102
      output             DRAM_CAS_N,
103
      output             DRAM_CKE,
104
      output             DRAM_CLK,
105
      output             DRAM_CS_N,
106
      inout       [15:0] DRAM_DQ,
107
      output             DRAM_LDQM,
108
      output             DRAM_RAS_N,
109
      output             DRAM_UDQM,
110
      output             DRAM_WE_N,
111
        `endif
112
 
113
      /* Enables FAN - 3.3V */
114
        `ifdef ENABLE_FAN
115
      output             FAN_CTRL,
116
        `endif
117
 
118
      /* Enables FPGA - 3.3V */
119
        `ifdef ENABLE_FPGA
120
      output             FPGA_I2C_SCLK,
121
      inout              FPGA_I2C_SDAT,
122
        `endif
123
 
124
      /* Enables GPIO - 3.3V */
125
        `ifdef ENABLE_GPIO
126
      inout     [35:0]         GPIO_0,
127
      inout     [35:0]         GPIO_1,
128
        `endif
129
 
130
 
131
      /* Enables HEX - 3.3V */
132
        `ifdef ENABLE_HEX
133
      output      [6:0]  HEX0,
134
      output      [6:0]  HEX1,
135
      output      [6:0]  HEX2,
136
      output      [6:0]  HEX3,
137
      output      [6:0]  HEX4,
138
      output      [6:0]  HEX5,
139
        `endif
140
 
141
        /* Enables HPS */
142
        `ifdef ENABLE_HPS
143
      inout              HPS_CONV_USB_N,
144
      output      [14:0] HPS_DDR3_ADDR,
145
      output      [2:0]  HPS_DDR3_BA,
146
      output             HPS_DDR3_CAS_N,
147
      output             HPS_DDR3_CKE,
148
      output             HPS_DDR3_CK_N, //1.5V
149
      output             HPS_DDR3_CK_P, //1.5V
150
      output             HPS_DDR3_CS_N,
151
      output      [3:0]  HPS_DDR3_DM,
152
      inout       [31:0] HPS_DDR3_DQ,
153
      inout       [3:0]  HPS_DDR3_DQS_N,
154
      inout       [3:0]  HPS_DDR3_DQS_P,
155
      output             HPS_DDR3_ODT,
156
      output             HPS_DDR3_RAS_N,
157
      output             HPS_DDR3_RESET_N,
158
      input              HPS_DDR3_RZQ,
159
      output             HPS_DDR3_WE_N,
160
      output             HPS_ENET_GTX_CLK,
161
      inout              HPS_ENET_INT_N,
162
      output             HPS_ENET_MDC,
163
      inout              HPS_ENET_MDIO,
164
      input              HPS_ENET_RX_CLK,
165
      input       [3:0]  HPS_ENET_RX_DATA,
166
      input              HPS_ENET_RX_DV,
167
      output      [3:0]  HPS_ENET_TX_DATA,
168
      output             HPS_ENET_TX_EN,
169
      inout       [3:0]  HPS_FLASH_DATA,
170
      output             HPS_FLASH_DCLK,
171
      output             HPS_FLASH_NCSO,
172
      inout              HPS_GSENSOR_INT,
173
      inout              HPS_I2C1_SCLK,
174
      inout              HPS_I2C1_SDAT,
175
      inout              HPS_I2C2_SCLK,
176
      inout              HPS_I2C2_SDAT,
177
      inout              HPS_I2C_CONTROL,
178
      inout              HPS_KEY,
179
      inout              HPS_LED,
180
      inout              HPS_LTC_GPIO,
181
      output             HPS_SD_CLK,
182
      inout              HPS_SD_CMD,
183
      inout       [3:0]  HPS_SD_DATA,
184
      output             HPS_SPIM_CLK,
185
      input              HPS_SPIM_MISO,
186
      output             HPS_SPIM_MOSI,
187
      inout              HPS_SPIM_SS,
188
      input              HPS_UART_RX,
189
      output             HPS_UART_TX,
190
      input              HPS_USB_CLKOUT,
191
      inout       [7:0]  HPS_USB_DATA,
192
      input              HPS_USB_DIR,
193
      input              HPS_USB_NXT,
194
      output             HPS_USB_STP,
195
`endif
196
 
197
endmodule
198
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.