OpenCores
URL https://opencores.org/ocsvn/dma_ahb/dma_ahb/trunk

Subversion Repositories dma_ahb

[/] [dma_ahb/] [trunk/] [src/] [dma_ahb64/] [dma_ahb64_core0_top.v] - Blame information for rev 4

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 4 eyalhoc
/////////////////////////////////////////////////////////////////////
2
////                                                             ////
3
////  Author: Eyal Hochberg                                      ////
4
////          eyal@provartec.com                                 ////
5
////                                                             ////
6
////  Downloaded from: http://www.opencores.org                  ////
7
/////////////////////////////////////////////////////////////////////
8
////                                                             ////
9
//// Copyright (C) 2010 Provartec LTD                            ////
10
//// www.provartec.com                                           ////
11
//// info@provartec.com                                          ////
12
////                                                             ////
13
//// This source file may be used and distributed without        ////
14
//// restriction provided that this copyright statement is not   ////
15
//// removed from the file and that any derivative work contains ////
16
//// the original copyright notice and the associated disclaimer.////
17
////                                                             ////
18
//// This source file is free software; you can redistribute it  ////
19
//// and/or modify it under the terms of the GNU Lesser General  ////
20
//// Public License as published by the Free Software Foundation.////
21
////                                                             ////
22
//// This source is distributed in the hope that it will be      ////
23
//// useful, but WITHOUT ANY WARRANTY; without even the implied  ////
24
//// warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR     ////
25
//// PURPOSE.  See the GNU Lesser General Public License for more////
26
//// details. http://www.gnu.org/licenses/lgpl.html              ////
27
////                                                             ////
28
/////////////////////////////////////////////////////////////////////
29 2 eyalhoc
//---------------------------------------------------------
30
//-- File generated by RobustVerilog parser
31
//-- Version: 1.0
32
//-- Invoked Fri Mar 25 23:32:59 2011
33
//--
34
//-- Source file: dma_core_top.v
35
//---------------------------------------------------------
36
 
37
 
38
 
39
module dma_ahb64_core0_top(clk,reset,scan_en,idle,ch_int_all_proc,ch_start,clkdiv,periph_tx_req,periph_tx_clr,periph_rx_req,periph_rx_clr,pclken,psel,penable,paddr,pwrite,pwdata,prdata,pslverr,pready,rd_port_num,wr_port_num,joint_mode,joint_remote,rd_prio_top,rd_prio_high,rd_prio_top_num,rd_prio_high_num,wr_prio_top,wr_prio_high,wr_prio_top_num,wr_prio_high_num,WHADDR,WHBURST,WHSIZE,WHTRANS,WHWDATA,WHREADY,WHRESP,RHADDR,RHBURST,RHSIZE,RHTRANS,RHRDATA,RHREADY,RHRESP,WHLAST,WHOLD,RHLAST,RHOLD);
40
 
41
   input             clk;
42
   input             reset;
43
   input             scan_en;
44
 
45
   output             idle;
46
   output [8*1-1:0]  ch_int_all_proc;
47
   input [7:0]                 ch_start;
48
   input [3:0]             clkdiv;
49
 
50
   input [31:1]         periph_tx_req;
51
   output [31:1]         periph_tx_clr;
52
   input [31:1]         periph_rx_req;
53
   output [31:1]         periph_rx_clr;
54
 
55
   input                    pclken;
56
   input                    psel;
57
   input                    penable;
58
   input [10:0]             paddr;
59
   input                    pwrite;
60
   input [31:0]             pwdata;
61
   output [31:0]            prdata;
62
   output                   pslverr;
63
   output                   pready;
64
 
65
   output             rd_port_num;
66
   output             wr_port_num;
67
 
68
   input             joint_mode;
69
   input             joint_remote;
70
   input              rd_prio_top;
71
   input              rd_prio_high;
72
   input [2:0]             rd_prio_top_num;
73
   input [2:0]             rd_prio_high_num;
74
   input              wr_prio_top;
75
   input              wr_prio_high;
76
   input [2:0]             wr_prio_top_num;
77
   input [2:0]             wr_prio_high_num;
78
 
79
   output [32-1:0]   WHADDR;
80
   output [2:0]             WHBURST;
81
   output [1:0]             WHSIZE;
82
   output [1:0]             WHTRANS;
83
   output [64-1:0]   WHWDATA;
84
   input                    WHREADY;
85
   input                    WHRESP;
86
   output [32-1:0]   RHADDR;
87
   output [2:0]             RHBURST;
88
   output [1:0]             RHSIZE;
89
   output [1:0]             RHTRANS;
90
   input [64-1:0]    RHRDATA;
91
   input                    RHREADY;
92
   input                    RHRESP;
93
   output                   WHLAST;
94
   input                    WHOLD;
95
   output                   RHLAST;
96
   input                    RHOLD;
97
 
98
   wire [32-1:0]     slow_WHADDR;
99
   wire [2:0]               slow_WHBURST;
100
   wire [1:0]               slow_WHSIZE;
101
   wire [1:0]               slow_WHTRANS;
102
   wire [64-1:0]     slow_WHWDATA;
103
   wire                     slow_WHREADY;
104
   wire                     slow_WHRESP;
105
   wire [32-1:0]     slow_RHADDR;
106
   wire [2:0]               slow_RHBURST;
107
   wire [1:0]               slow_RHSIZE;
108
   wire [1:0]               slow_RHTRANS;
109
   wire [64-1:0]     slow_RHRDATA;
110
   wire                     slow_RHREADY;
111
   wire                     slow_RHRESP;
112
   wire                     slow_WHLAST;
113
   wire                     slow_WHOLD;
114
   wire                     slow_RHLAST;
115
   wire                     slow_RHOLD;
116
   wire                     slow_WSYNC;
117
   wire                     slow_RSYNC;
118
 
119
   wire             slow_rd_port_num;
120
   wire             slow_wr_port_num;
121
 
122
   wire             clk_out;
123
   wire             clken;
124
   wire             bypass;
125
 
126
 
127
 
128
   assign             clk_out      = clk;
129
   assign             clken        = 1'b1;
130
 
131
   assign                   WHADDR = slow_WHADDR;
132
   assign                   WHBURST = slow_WHBURST;
133
   assign                   WHSIZE = slow_WHSIZE;
134
   assign                   WHTRANS = slow_WHTRANS;
135
   assign                   WHWDATA = slow_WHWDATA;
136
   assign                   RHADDR = slow_RHADDR;
137
   assign                   RHBURST = slow_RHBURST;
138
   assign                   RHSIZE = slow_RHSIZE;
139
   assign                   RHTRANS = slow_RHTRANS;
140
   assign                   WHLAST = slow_WHLAST;
141
   assign                   RHLAST = slow_RHLAST;
142
   assign                   slow_WHREADY = WHREADY;
143
   assign                   slow_WHRESP = WHRESP;
144
   assign                   slow_RHRDATA = RHRDATA;
145
   assign                   slow_RHREADY = RHREADY;
146
   assign                   slow_RHRESP = RHRESP;
147
   assign                   slow_WHOLD = WHOLD;
148
   assign                   slow_RHOLD = RHOLD;
149
   assign                   slow_WSYNC   = 1'b0;
150
   assign                   slow_RSYNC   = 1'b0;
151
   assign             rd_port_num  = slow_rd_port_num;
152
   assign             wr_port_num  = slow_wr_port_num;
153
 
154
 
155
   dma_ahb64_core0
156
   dma_ahb64_core0 (
157
         .clk(clk_out),
158
         .reset(reset),
159
         .scan_en(scan_en),
160
 
161
         .idle(idle),
162
         .ch_int_all_proc(ch_int_all_proc),
163
         .ch_start(ch_start),
164
 
165
         .periph_tx_req(periph_tx_req),
166
         .periph_tx_clr(periph_tx_clr),
167
         .periph_rx_req(periph_rx_req),
168
         .periph_rx_clr(periph_rx_clr),
169
 
170
         .pclk(clk),
171
         .clken(clken),
172
         .pclken(pclken),
173
         .psel(psel),
174
         .penable(penable),
175
         .paddr(paddr[10:0]),
176
         .pwrite(pwrite),
177
         .pwdata(pwdata),
178
         .prdata(prdata),
179
         .pslverr(pslverr),
180
 
181
         .joint_mode_in(joint_mode),
182
         .joint_remote(joint_remote),
183
         .rd_prio_top(rd_prio_top),
184
         .rd_prio_high(rd_prio_high),
185
         .rd_prio_top_num(rd_prio_top_num),
186
         .rd_prio_high_num(rd_prio_high_num),
187
         .wr_prio_top(wr_prio_top),
188
         .wr_prio_high(wr_prio_high),
189
         .wr_prio_top_num(wr_prio_top_num),
190
         .wr_prio_high_num(wr_prio_high_num),
191
 
192
         .rd_port_num(slow_rd_port_num),
193
         .wr_port_num(slow_wr_port_num),
194
 
195
         .WHADDR(slow_WHADDR),
196
         .WHBURST(slow_WHBURST),
197
         .WHSIZE(slow_WHSIZE),
198
         .WHTRANS(slow_WHTRANS),
199
         .WHWDATA(slow_WHWDATA),
200
         .WHREADY(slow_WHREADY),
201
         .WHRESP(slow_WHRESP),
202
         .RHADDR(slow_RHADDR),
203
         .RHBURST(slow_RHBURST),
204
         .RHSIZE(slow_RHSIZE),
205
         .RHTRANS(slow_RHTRANS),
206
         .RHRDATA(slow_RHRDATA),
207
         .RHREADY(slow_RHREADY),
208
         .RHRESP(slow_RHRESP),
209
         .WHLAST(slow_WHLAST),
210
         .WHOLD(slow_WHOLD),
211
         .RHLAST(slow_RHLAST),
212
         .RHOLD(slow_RHOLD),
213
         .WSYNC(slow_WSYNC),
214
         .RSYNC(slow_RSYNC)
215
         );
216
 
217
 
218
 
219
 
220
endmodule
221
 
222
 
223
 
224
 
225
 
226
 
227
 
228
 

powered by: WebSVN 2.1.0

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