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

Subversion Repositories dma_axi

[/] [dma_axi/] [trunk/] [src/] [dma_axi64/] [dma_axi64_core0_top.v] - Blame information for rev 2

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 eyalhoc
//---------------------------------------------------------
2
//-- File generated by RobustVerilog parser
3
//-- Version: 1.0
4
//-- Invoked Fri Mar 25 23:36:53 2011
5
//--
6
//-- Source file: dma_core_top.v
7
//---------------------------------------------------------
8
 
9
 
10
 
11
module dma_axi64_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,AWADDR,AWLEN,AWSIZE,AWVALID,AWREADY,WDATA,WSTRB,WLAST,WVALID,WREADY,BRESP,BVALID,BREADY,ARADDR,ARLEN,ARSIZE,ARVALID,ARREADY,RDATA,RRESP,RLAST,RVALID,RREADY);
12
 
13
   input             clk;
14
   input             reset;
15
   input             scan_en;
16
 
17
   output             idle;
18
   output [8*1-1:0]  ch_int_all_proc;
19
   input [7:0]                 ch_start;
20
   input [3:0]             clkdiv;
21
 
22
   input [31:1]         periph_tx_req;
23
   output [31:1]         periph_tx_clr;
24
   input [31:1]         periph_rx_req;
25
   output [31:1]         periph_rx_clr;
26
 
27
   input                    pclken;
28
   input                    psel;
29
   input                    penable;
30
   input [10:0]             paddr;
31
   input                    pwrite;
32
   input [31:0]             pwdata;
33
   output [31:0]            prdata;
34
   output                   pslverr;
35
   output                   pready;
36
 
37
   output             rd_port_num;
38
   output             wr_port_num;
39
 
40
   input             joint_mode;
41
   input             joint_remote;
42
   input              rd_prio_top;
43
   input              rd_prio_high;
44
   input [2:0]             rd_prio_top_num;
45
   input [2:0]             rd_prio_high_num;
46
   input              wr_prio_top;
47
   input              wr_prio_high;
48
   input [2:0]             wr_prio_top_num;
49
   input [2:0]             wr_prio_high_num;
50
 
51
   output [31:0]            AWADDR;
52
   output [`LEN_BITS-1:0]   AWLEN;
53
   output [`SIZE_BITS-1:0]                      AWSIZE;
54
   output                   AWVALID;
55
   input                    AWREADY;
56
   output [63:0]            WDATA;
57
   output [64/8-1:0]        WSTRB;
58
   output                   WLAST;
59
   output                   WVALID;
60
   input                    WREADY;
61
   input [1:0]              BRESP;
62
   input                    BVALID;
63
   output                   BREADY;
64
   output [31:0]            ARADDR;
65
   output [`LEN_BITS-1:0]   ARLEN;
66
   output [`SIZE_BITS-1:0]                      ARSIZE;
67
   output                   ARVALID;
68
   input                    ARREADY;
69
   input [63:0]             RDATA;
70
   input [1:0]              RRESP;
71
   input                    RLAST;
72
   input                    RVALID;
73
   output                   RREADY;
74
 
75
   wire [31:0]              slow_AWADDR;
76
   wire [`LEN_BITS-1:0]     slow_AWLEN;
77
   wire [`SIZE_BITS-1:0]                      slow_AWSIZE;
78
   wire                     slow_AWVALID;
79
   wire                     slow_AWREADY;
80
   wire [63:0]              slow_WDATA;
81
   wire [64/8-1:0]          slow_WSTRB;
82
   wire                     slow_WLAST;
83
   wire                     slow_WVALID;
84
   wire                     slow_WREADY;
85
   wire [1:0]               slow_BRESP;
86
   wire                     slow_BVALID;
87
   wire                     slow_BREADY;
88
   wire [31:0]              slow_ARADDR;
89
   wire [`LEN_BITS-1:0]     slow_ARLEN;
90
   wire [`SIZE_BITS-1:0]                      slow_ARSIZE;
91
   wire                     slow_ARVALID;
92
   wire                     slow_ARREADY;
93
   wire [63:0]              slow_RDATA;
94
   wire [1:0]               slow_RRESP;
95
   wire                     slow_RLAST;
96
   wire                     slow_RVALID;
97
   wire                     slow_RREADY;
98
 
99
   wire             clk_out;
100
   wire             clken;
101
   wire             bypass;
102
 
103
 
104
 
105
   assign             clk_out      = clk;
106
   assign             clken        = 1'b1;
107
 
108
   assign                   AWADDR = slow_AWADDR;
109
   assign                   AWLEN = slow_AWLEN;
110
   assign                   AWSIZE = slow_AWSIZE;
111
   assign                   AWVALID = slow_AWVALID;
112
   assign                   WDATA = slow_WDATA;
113
   assign                   WSTRB = slow_WSTRB;
114
   assign                   WLAST = slow_WLAST;
115
   assign                   WVALID = slow_WVALID;
116
   assign                   BREADY = slow_BREADY;
117
   assign                   ARADDR = slow_ARADDR;
118
   assign                   ARLEN = slow_ARLEN;
119
   assign                   ARSIZE = slow_ARSIZE;
120
   assign                   ARVALID = slow_ARVALID;
121
   assign                   RREADY = slow_RREADY;
122
   assign                   slow_AWREADY = AWREADY;
123
   assign                   slow_WREADY = WREADY;
124
   assign                   slow_BRESP = BRESP;
125
   assign                   slow_BVALID = BVALID;
126
   assign                   slow_ARREADY = ARREADY;
127
   assign                   slow_RDATA = RDATA;
128
   assign                   slow_RRESP = RRESP;
129
   assign                   slow_RLAST = RLAST;
130
   assign                   slow_RVALID = RVALID;
131
 
132
   dma_axi64_core0
133
   dma_axi64_core0 (
134
         .clk(clk_out),
135
         .reset(reset),
136
         .scan_en(scan_en),
137
 
138
         .idle(idle),
139
         .ch_int_all_proc(ch_int_all_proc),
140
         .ch_start(ch_start),
141
 
142
         .periph_tx_req(periph_tx_req),
143
         .periph_tx_clr(periph_tx_clr),
144
         .periph_rx_req(periph_rx_req),
145
         .periph_rx_clr(periph_rx_clr),
146
 
147
         .pclk(clk),
148
         .clken(clken),
149
         .pclken(pclken),
150
         .psel(psel),
151
         .penable(penable),
152
         .paddr(paddr[10:0]),
153
         .pwrite(pwrite),
154
         .pwdata(pwdata),
155
         .prdata(prdata),
156
         .pslverr(pslverr),
157
 
158
         .joint_mode_in(joint_mode),
159
         .joint_remote(joint_remote),
160
         .rd_prio_top(rd_prio_top),
161
         .rd_prio_high(rd_prio_high),
162
         .rd_prio_top_num(rd_prio_top_num),
163
         .rd_prio_high_num(rd_prio_high_num),
164
         .wr_prio_top(wr_prio_top),
165
         .wr_prio_high(wr_prio_high),
166
         .wr_prio_top_num(wr_prio_top_num),
167
         .wr_prio_high_num(wr_prio_high_num),
168
 
169
         .rd_port_num(rd_port_num),
170
         .wr_port_num(wr_port_num),
171
 
172
                 .AWADDR(slow_AWADDR),
173
                 .AWLEN(slow_AWLEN),
174
                 .AWSIZE(slow_AWSIZE),
175
                 .AWVALID(slow_AWVALID),
176
                 .AWREADY(slow_AWREADY),
177
                 .WDATA(slow_WDATA),
178
                 .WSTRB(slow_WSTRB),
179
                 .WLAST(slow_WLAST),
180
                 .WVALID(slow_WVALID),
181
                 .WREADY(slow_WREADY),
182
                 .BRESP(slow_BRESP),
183
                 .BVALID(slow_BVALID),
184
                 .BREADY(slow_BREADY),
185
                 .ARADDR(slow_ARADDR),
186
                 .ARLEN(slow_ARLEN),
187
                 .ARSIZE(slow_ARSIZE),
188
                 .ARVALID(slow_ARVALID),
189
                 .ARREADY(slow_ARREADY),
190
                 .RDATA(slow_RDATA),
191
                 .RRESP(slow_RRESP),
192
                 .RLAST(slow_RLAST),
193
                 .RVALID(slow_RVALID),
194
                 .RREADY(slow_RREADY)
195
         );
196
 
197
 
198
 
199
 
200
endmodule
201
 
202
 
203
 
204
 
205
 
206
 
207
 
208
 

powered by: WebSVN 2.1.0

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