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/] [perl_gui/] [lib/] [ip/] [RAM/] [dual_port_ram.IP] - Blame information for rev 38

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

Line No. Rev Author Line
1 25 alirezamon
#######################################################################
2
##      File: dual_port_ram.IP
3
##
4
##      Copyright (C) 2014-2016  Alireza Monemi
5
##
6 38 alirezamon
##      This file is part of ProNoC 1.8.0
7 25 alirezamon
##
8
##      WARNING: THIS IS AN AUTO-GENERATED FILE. CHANGES TO IT
9
##      MAY CAUSE UNEXPECTED BEHAIVOR.
10
################################################################################
11
 
12 38 alirezamon
$ipgen = bless( {
13
                  'hdl_files' => [
14
                                   '/mpsoc/src_peripheral/ram/generic_ram.v',
15
                                   '/mpsoc/src_peripheral/ram/byte_enabled_generic_ram.sv',
16
                                   '/mpsoc/src_peripheral/ram/wb_dual_port_ram.v',
17
                                   '/mpsoc/src_peripheral/ram/wb_bram_ctrl.v'
18
                                 ],
19
                  'ports_order' => [
20
                                     'clk',
21
                                     'reset',
22
                                     'sa_dat_i',
23
                                     'sa_sel_i',
24
                                     'sa_addr_i',
25
                                     'sa_tag_i',
26
                                     'sa_cti_i',
27
                                     'sa_bte_i',
28
                                     'sa_stb_i',
29
                                     'sa_cyc_i',
30
                                     'sa_we_i',
31
                                     'sa_dat_o',
32
                                     'sa_ack_o',
33
                                     'sa_err_o',
34
                                     'sa_rty_o',
35
                                     'sb_dat_i',
36
                                     'sb_sel_i',
37
                                     'sb_addr_i',
38
                                     'sb_tag_i',
39
                                     'sb_cti_i',
40
                                     'sb_bte_i',
41
                                     'sb_stb_i',
42
                                     'sb_cyc_i',
43
                                     'sb_we_i',
44
                                     'sb_dat_o',
45
                                     'sb_ack_o',
46
                                     'sb_err_o',
47
                                     'sb_rty_o'
48
                                   ],
49
                  'parameters_order' => [
50
                                          'Dw',
51
                                          'Aw',
52
                                          'BYTE_WR_EN',
53
                                          'FPGA_VENDOR',
54
                                          'TAGw',
55
                                          'SELw',
56
                                          'CTIw',
57
                                          'BTEw',
58
                                          'WB_Aw',
59
                                          'RAM_INDEX',
60
                                          'PORT_A_BURST_MODE',
61
                                          'PORT_B_BURST_MODE',
62
                                          'INITIAL_EN',
63
                                          'MEM_CONTENT_FILE_NAME',
64
                                          'INIT_FILE_PATH'
65
                                        ],
66
                  'category' => 'RAM',
67
                  'plugs' => {
68
                               'reset' => {
69
                                            'value' => 1,
70
                                            '0' => {
71
                                                     'name' => 'reset'
72 28 alirezamon
                                                   },
73 38 alirezamon
                                            'type' => 'num',
74
                                            'reset' => {}
75
                                          },
76
                               'clk' => {
77
                                          'type' => 'num',
78
                                          '0' => {
79
                                                   'name' => 'clk'
80
                                                 },
81
                                          'clk' => {},
82
                                          'value' => 1
83 25 alirezamon
                                        },
84 38 alirezamon
                               'wb_slave' => {
85
                                               'type' => 'num',
86
                                               '0' => {
87
                                                        'addr' => '0x0000_0000  0x3fff_ffff             RAM',
88
                                                        'width' => 'WB_Aw',
89
                                                        'name' => 'wb_a'
90
                                                      },
91
                                               '1' => {
92
                                                        'name' => 'wb_b',
93
                                                        'width' => 'WB_Aw',
94
                                                        'addr' => '0x0000_0000  0x3fff_ffff             RAM'
95
                                                      },
96
                                               'wb_slave' => {},
97
                                               'value' => 2
98
                                             }
99
                             },
100
                  'modules' => {
101
                                 'wb_dual_port_ram' => {}
102
                               },
103
                  'description_pdf' => '/mpsoc/src_peripheral/ram/RAM.pdf',
104
                  'version' => 10,
105
                  'description' => 'Dual port ram.',
106
                  'ip_name' => 'dual_port_ram',
107
                  'module_name' => 'wb_dual_port_ram',
108
                  'unused' => undef,
109
                  'file_name' => '/home/alireza/Mywork/mpsoc/src_peripheral/ram/wb_dual_port_ram.v',
110
                  'parameters' => {
111
                                    'RAM_INDEX' => {
112
                                                     'global_param' => 'Localparam',
113
                                                     'type' => 'Entry',
114
                                                     'content' => '',
115
                                                     'default' => 'CORE_ID',
116
                                                     'redefine_param' => 1,
117
                                                     'info' => 'RAM_INDEX is a unique number which will be used for initialing the memory content only.
118
 
119
'
120 34 alirezamon
                                                   },
121 38 alirezamon
                                    'SELw' => {
122
                                                'info' => 'Parameter',
123
                                                'redefine_param' => 1,
124
                                                'content' => '',
125
                                                'type' => 'Fixed',
126
                                                'default' => 'Dw/8',
127
                                                'global_param' => 'Localparam'
128
                                              },
129
                                    'BYTE_WR_EN' => {
130
                                                      'redefine_param' => 1,
131
                                                      'info' => 'Parameter',
132
                                                      'type' => 'Combo-box',
133
                                                      'content' => '"YES","NO"',
134
                                                      'default' => '"YES"',
135
                                                      'global_param' => 'Localparam'
136
                                                    },
137
                                    'INITIAL_EN' => {
138
                                                      'global_param' => 'Localparam',
139
                                                      'redefine_param' => 1,
140
                                                      'info' => 'If selected as "YES", the memory content will be initialized at compilation time using MEM_CONTENT_FILE_NAME.',
141
                                                      'default' => '"NO"',
142
                                                      'content' => '"YES","NO"',
143
                                                      'type' => 'Combo-box'
144
                                                    },
145
                                    'CTIw' => {
146
                                                'global_param' => 'Localparam',
147
                                                'redefine_param' => 1,
148
                                                'info' => 'Parameter',
149
                                                'default' => '3',
150
                                                'type' => 'Fixed',
151
                                                'content' => ''
152
                                              },
153
                                    'Dw' => {
154
                                              'redefine_param' => 1,
155
                                              'info' => 'Ram data width in Bits',
156
                                              'type' => 'Spin-button',
157
                                              'default' => '32',
158
                                              'content' => '4,1024,1',
159
                                              'global_param' => 'Localparam'
160
                                            },
161
                                    'FPGA_VENDOR' => {
162
                                                       'global_param' => 'Localparam',
163
                                                       'info' => 'Parameter',
164
                                                       'redefine_param' => 1,
165
                                                       'default' => '"GENERIC"',
166
                                                       'type' => 'Combo-box',
167
                                                       'content' => '"ALTERA","GENERIC"'
168 25 alirezamon
                                                     },
169 38 alirezamon
                                    'INIT_FILE_PATH' => {
170
                                                          'global_param' => 'Don\'t include',
171
                                                          'content' => '',
172
                                                          'default' => 'SW_LOC',
173
                                                          'type' => 'Fixed',
174
                                                          'redefine_param' => 1,
175
                                                          'info' => undef
176 25 alirezamon
                                                        },
177 38 alirezamon
                                    'PORT_A_BURST_MODE' => {
178
                                                             'info' => ' wisbone bus burst mode enable/disable on port A',
179
                                                             'redefine_param' => 1,
180
                                                             'type' => 'Combo-box',
181
                                                             'default' => '"ENABLED"',
182
                                                             'content' => '"DISABLED","ENABLED"',
183
                                                             'global_param' => 'Localparam'
184
                                                           },
185
                                    'MEM_CONTENT_FILE_NAME' => {
186
                                                                 'global_param' => 'Localparam',
187
                                                                 'content' => '',
188
                                                                 'default' => '"ram0"',
189
                                                                 'type' => 'Entry',
190
                                                                 'redefine_param' => 1,
191
                                                                 'info' => 'MEM_FILE_NAME:
192 34 alirezamon
The memory file name (without file type extension ) that is used for writting the memory content at initialization time.
193
 
194
File Path:
195
For bus-based SoC the file path is {ProNoC_work}/SOC/{soc_name}/sw/RAM/{file_type}/{MEM_FILE_NAME}.
196
For NoC-based MPSoC the file path is {ProNoC_work}/MPSOC/{mpsoc_name}/sw/tile{tile_num}/RAM/{file_type}/{MEM_FILE_NAME}
197
 
198
file_type:
199
memh: hexadecimal-string format . It will be used for initialing the Generic RAM using $readmemh command.
200 38 alirezamon
mif: memory initialization file format. This file can be used to initialize Altera FPGA memory. Also if the JTAG_CONECT is selected as ALTERA_IEMC it can be used for changing memory content at run time . '
201 34 alirezamon
                                                               },
202 38 alirezamon
                                    'TAGw' => {
203
                                                'content' => '',
204
                                                'type' => 'Fixed',
205
                                                'default' => '3',
206
                                                'redefine_param' => 1,
207
                                                'info' => 'Parameter',
208
                                                'global_param' => 'Localparam'
209
                                              },
210
                                    'BTEw' => {
211
                                                'info' => 'Parameter',
212
                                                'redefine_param' => 1,
213
                                                'default' => '2',
214
                                                'content' => '',
215
                                                'type' => 'Fixed',
216
                                                'global_param' => 'Localparam'
217
                                              },
218
                                    'Aw' => {
219
                                              'info' => 'Ram address width',
220
                                              'redefine_param' => 1,
221
                                              'default' => '12',
222
                                              'content' => '2,31,1',
223
                                              'type' => 'Spin-button',
224
                                              'global_param' => 'Localparam'
225
                                            },
226
                                    'PORT_B_BURST_MODE' => {
227
                                                             'redefine_param' => 1,
228
                                                             'info' => 'wisbone bus burst mode ebable/disable on port B',
229
                                                             'type' => 'Combo-box',
230
                                                             'content' => '"DISABLED","ENABLED"',
231
                                                             'default' => '"ENABLED"',
232
                                                             'global_param' => 'Localparam'
233
                                                           },
234
                                    'WB_Aw' => {
235
                                                 'info' => 'Wishbone bus address width in byte',
236
                                                 'redefine_param' => 0,
237
                                                 'content' => '',
238
                                                 'default' => 'Aw+2',
239
                                                 'type' => 'Fixed',
240
                                                 'global_param' => 'Don\'t include'
241
                                               }
242
                                  },
243
                  'ports' => {
244
                               'reset' => {
245
                                            'type' => 'input',
246
                                            'intfc_port' => 'reset_i',
247
                                            'range' => '',
248
                                            'intfc_name' => 'plug:reset[0]'
249
                                          },
250
                               'sb_we_i' => {
251
                                              'type' => 'input',
252
                                              'intfc_port' => 'we_i',
253
                                              'range' => '',
254
                                              'intfc_name' => 'plug:wb_slave[1]'
255
                                            },
256
                               'sb_err_o' => {
257
                                               'intfc_port' => 'err_o',
258
                                               'range' => '',
259
                                               'type' => 'output',
260
                                               'intfc_name' => 'plug:wb_slave[1]'
261 34 alirezamon
                                             },
262 38 alirezamon
                               'sa_rty_o' => {
263
                                               'intfc_name' => 'plug:wb_slave[0]',
264
                                               'type' => 'output',
265
                                               'intfc_port' => 'rty_o',
266
                                               'range' => ''
267 34 alirezamon
                                             },
268 38 alirezamon
                               'sa_ack_o' => {
269
                                               'intfc_name' => 'plug:wb_slave[0]',
270
                                               'intfc_port' => 'ack_o',
271
                                               'range' => '',
272
                                               'type' => 'output'
273
                                             },
274
                               'sa_addr_i' => {
275
                                                'intfc_port' => 'adr_i',
276
                                                'range' => 'Aw-1       :   0',
277
                                                'type' => 'input',
278
                                                'intfc_name' => 'plug:wb_slave[0]'
279
                                              },
280
                               'sb_dat_o' => {
281
                                               'range' => 'Dw-1       :   0',
282
                                               'intfc_port' => 'dat_o',
283
                                               'type' => 'output',
284
                                               'intfc_name' => 'plug:wb_slave[1]'
285
                                             },
286
                               'sa_stb_i' => {
287
                                               'range' => '',
288
                                               'intfc_port' => 'stb_i',
289
                                               'type' => 'input',
290
                                               'intfc_name' => 'plug:wb_slave[0]'
291
                                             },
292
                               'sa_tag_i' => {
293
                                               'type' => 'input',
294
                                               'range' => 'TAGw-1     :   0',
295
                                               'intfc_port' => 'tag_i',
296
                                               'intfc_name' => 'plug:wb_slave[0]'
297
                                             },
298
                               'sa_dat_i' => {
299
                                               'type' => 'input',
300
                                               'intfc_port' => 'dat_i',
301
                                               'range' => 'Dw-1       :   0',
302
                                               'intfc_name' => 'plug:wb_slave[0]'
303
                                             },
304
                               'sa_we_i' => {
305
                                              'intfc_name' => 'plug:wb_slave[0]',
306
                                              'type' => 'input',
307
                                              'range' => '',
308
                                              'intfc_port' => 'we_i'
309
                                            },
310
                               'sb_bte_i' => {
311
                                               'type' => 'input',
312
                                               'range' => 'BTEw-1     :   0',
313
                                               'intfc_port' => 'bte_i',
314
                                               'intfc_name' => 'plug:wb_slave[1]'
315
                                             },
316
                               'sb_addr_i' => {
317
                                                'intfc_name' => 'plug:wb_slave[1]',
318
                                                'type' => 'input',
319
                                                'range' => 'Aw-1       :   0',
320
                                                'intfc_port' => 'adr_i'
321
                                              },
322
                               'sb_cyc_i' => {
323
                                               'intfc_name' => 'plug:wb_slave[1]',
324
                                               'type' => 'input',
325
                                               'range' => '',
326
                                               'intfc_port' => 'cyc_i'
327
                                             },
328
                               'sa_sel_i' => {
329
                                               'type' => 'input',
330
                                               'range' => 'SELw-1     :   0',
331
                                               'intfc_port' => 'sel_i',
332
                                               'intfc_name' => 'plug:wb_slave[0]'
333
                                             },
334
                               'sb_sel_i' => {
335
                                               'range' => 'SELw-1     :   0',
336
                                               'intfc_port' => 'sel_i',
337
                                               'type' => 'input',
338
                                               'intfc_name' => 'plug:wb_slave[1]'
339
                                             },
340
                               'sb_dat_i' => {
341
                                               'intfc_port' => 'dat_i',
342
                                               'range' => 'Dw-1       :   0',
343
                                               'type' => 'input',
344
                                               'intfc_name' => 'plug:wb_slave[1]'
345
                                             },
346
                               'sb_cti_i' => {
347
                                               'intfc_name' => 'plug:wb_slave[1]',
348
                                               'type' => 'input',
349
                                               'range' => 'CTIw-1     :   0',
350
                                               'intfc_port' => 'cti_i'
351
                                             },
352
                               'sb_ack_o' => {
353
                                               'type' => 'output',
354
                                               'range' => '',
355
                                               'intfc_port' => 'ack_o',
356
                                               'intfc_name' => 'plug:wb_slave[1]'
357
                                             },
358
                               'sa_cti_i' => {
359
                                               'type' => 'input',
360
                                               'range' => 'CTIw-1     :   0',
361
                                               'intfc_port' => 'cti_i',
362
                                               'intfc_name' => 'plug:wb_slave[0]'
363
                                             },
364
                               'sa_err_o' => {
365
                                               'intfc_port' => 'err_o',
366
                                               'range' => '',
367
                                               'type' => 'output',
368
                                               'intfc_name' => 'plug:wb_slave[0]'
369
                                             },
370
                               'sb_tag_i' => {
371
                                               'intfc_port' => 'tag_i',
372
                                               'range' => 'TAGw-1     :   0',
373
                                               'type' => 'input',
374
                                               'intfc_name' => 'plug:wb_slave[1]'
375
                                             },
376
                               'clk' => {
377
                                          'intfc_name' => 'plug:clk[0]',
378
                                          'intfc_port' => 'clk_i',
379
                                          'range' => '',
380
                                          'type' => 'input'
381
                                        },
382
                               'sa_dat_o' => {
383
                                               'intfc_port' => 'dat_o',
384
                                               'range' => 'Dw-1       :   0',
385
                                               'type' => 'output',
386
                                               'intfc_name' => 'plug:wb_slave[0]'
387
                                             },
388
                               'sb_stb_i' => {
389
                                               'type' => 'input',
390
                                               'intfc_port' => 'stb_i',
391
                                               'range' => '',
392
                                               'intfc_name' => 'plug:wb_slave[1]'
393
                                             },
394
                               'sa_bte_i' => {
395
                                               'intfc_name' => 'plug:wb_slave[0]',
396
                                               'type' => 'input',
397
                                               'intfc_port' => 'bte_i',
398
                                               'range' => 'BTEw-1     :   0'
399
                                             },
400
                               'sa_cyc_i' => {
401
                                               'type' => 'input',
402
                                               'range' => '',
403
                                               'intfc_port' => 'cyc_i',
404
                                               'intfc_name' => 'plug:wb_slave[0]'
405
                                             },
406
                               'sb_rty_o' => {
407
                                               'intfc_name' => 'plug:wb_slave[1]',
408
                                               'type' => 'output',
409
                                               'intfc_port' => 'rty_o',
410
                                               'range' => ''
411
                                             }
412
                             },
413
                  'gui_status' => {
414
                                    'timeout' => 0,
415
                                    'status' => 'ideal'
416
                                  }
417
                }, 'ip_gen' );

powered by: WebSVN 2.1.0

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