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/] [single_port_ram.IP] - Blame information for rev 34

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

Line No. Rev Author Line
1 25 alirezamon
#######################################################################
2
##      File: single_port_ram.IP
3
##
4
##      Copyright (C) 2014-2016  Alireza Monemi
5
##
6 34 alirezamon
##      This file is part of ProNoC 1.6.0
7 25 alirezamon
##
8
##      WARNING: THIS IS AN AUTO-GENERATED FILE. CHANGES TO IT
9
##      MAY CAUSE UNEXPECTED BEHAIVOR.
10
################################################################################
11
 
12
$wb_single_port_ram = bless( {
13
                               'modules' => {
14
                                              'wb_single_port_ram' => {}
15
                                            },
16 34 alirezamon
                               'module_name' => 'wb_single_port_ram',
17
                               'version' => 19,
18
                               'category' => 'RAM',
19
                               'description' => 'Single port ram with wishbone bus interface.',
20 25 alirezamon
                               'plugs' => {
21
                                            'reset' => {
22 34 alirezamon
                                                         'value' => 1,
23 25 alirezamon
                                                         'reset' => {},
24 34 alirezamon
                                                         'type' => 'num',
25 25 alirezamon
                                                         '0' => {
26
                                                                  'name' => 'reset'
27 34 alirezamon
                                                                }
28 25 alirezamon
                                                       },
29
                                            'wb_slave' => {
30 34 alirezamon
                                                            'value' => 1,
31
                                                            'type' => 'num',
32 25 alirezamon
                                                            '0' => {
33 34 alirezamon
                                                                     'name' => 'wb',
34 25 alirezamon
                                                                     'width' => 'WB_Aw',
35
                                                                     'addr' => '0x0000_0000     0x3fff_ffff             RAM'
36
                                                                   },
37
                                                            'wb_slave' => {}
38 34 alirezamon
                                                          },
39
                                            'clk' => {
40
                                                       'type' => 'num',
41
                                                       '0' => {
42
                                                                'name' => 'clk'
43
                                                              },
44
                                                       'value' => 1,
45
                                                       'clk' => {}
46
                                                     }
47 25 alirezamon
                                          },
48 34 alirezamon
                               'unused' => undef,
49
                               'ip_name' => 'single_port_ram',
50
                               'hdl_files' => [
51
                                                '/mpsoc/src_peripheral/ram/wb_single_port_ram.v',
52
                                                '/mpsoc/src_peripheral/ram/generic_ram.v',
53
                                                '/mpsoc/src_peripheral/ram/byte_enabled_generic_ram.sv',
54
                                                '/mpsoc/src_peripheral/ram/wb_bram_ctrl.v'
55
                                              ],
56
                               'parameters_order' => [
57
                                                       'Dw',
58
                                                       'Aw',
59
                                                       'BYTE_WR_EN',
60
                                                       'FPGA_VENDOR',
61
                                                       'JTAG_CONNECT',
62
                                                       'JTAG_INDEX',
63
                                                       'TAGw',
64
                                                       'SELw',
65
                                                       'CTIw',
66
                                                       'BTEw',
67
                                                       'WB_Aw',
68
                                                       'BURST_MODE',
69
                                                       'MEM_CONTENT_FILE_NAME',
70
                                                       'INITIAL_EN',
71
                                                       'INIT_FILE_PATH'
72
                                                     ],
73
                               'file_name' => '/home/alireza/Mywork/mpsoc/src_peripheral/ram/wb_single_port_ram.v',
74
                               'gui_status' => {
75
                                                 'timeout' => 0,
76
                                                 'status' => 'ideal'
77
                                               },
78 25 alirezamon
                               'parameters' => {
79
                                                 'SELw' => {
80
                                                             'global_param' => 'Localparam',
81
                                                             'redefine_param' => 1,
82 34 alirezamon
                                                             'type' => 'Fixed',
83 25 alirezamon
                                                             'content' => '',
84 34 alirezamon
                                                             'deafult' => 'Dw/8',
85
                                                             'info' => 'Parameter'
86 25 alirezamon
                                                           },
87 34 alirezamon
 
88
                                                 'MEM_CONTENT_FILE_NAME' => {
89
                                                                              'type' => 'Entry',
90
                                                                              'content' => '',
91
                                                                              'redefine_param' => 1,
92
                                                                              'global_param' => 'Localparam',
93
                                                                              'info' => 'MEM_FILE_NAME:
94
The memory file name (without file type extension ) that is used for writting the memory content either at run time or at initialization time.
95
 
96
File Path:
97
For bus-based SoC the file path is {ProNoC_work}/SOC/{soc_name}/sw/RAM/{file_type}/{MEM_FILE_NAME}.
98
For NoC-based MPSoC the file path is {ProNoC_work}/MPSOC/{mpsoc_name}/sw/tile{tile_num}/RAM/{file_type}/{MEM_FILE_NAME}
99
 
100
file_type:
101
bin: raw binary format . It will be used by JTAG_WB to change the memory content at runtime.
102
memh: hexadecimal-string format . It will be used for initialing the Generic RAM using $readmemh command.
103
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 . ',
104
                                                                              'deafult' => '"ram0"'
105
                                                                            },
106
                                                 'JTAG_CONNECT' => {
107
                                                                     'content' => '"DISABLED", "JTAG_WB" , "ALTERA_IMCE"',
108
                                                                     'type' => 'Combo-box',
109
                                                                     'global_param' => 'Localparam',
110
                                                                     'redefine_param' => 1,
111
                                                                     'deafult' => '"DISABLED"',
112
                                                                     'info' => 'JTAG_CONNECT:
113
if it is not disabled then the actual memory is implemented as a dual port RAM with the second port is connected either to In-System Memory Content Editor or Jtag_to_wb. This allows that the memory content can be read/written using JTAG.   '
114
                                                                   },
115 25 alirezamon
                                                 'WB_Aw' => {
116 34 alirezamon
                                                              'deafult' => 'Aw+2',
117 25 alirezamon
                                                              'info' => undef,
118
                                                              'global_param' => 'Don\'t include',
119
                                                              'redefine_param' => 1,
120 34 alirezamon
                                                              'type' => 'Fixed',
121
                                                              'content' => ''
122 25 alirezamon
                                                            },
123 34 alirezamon
 
124
                                                 'JTAG_INDEX' => {
125
                                                                   'global_param' => 'Localparam',
126
                                                                   'redefine_param' => 1,
127
                                                                   'content' => '',
128
                                                                   'type' => 'Entry',
129
                                                                   'deafult' => 'CORE_ID',
130
                                                                   'info' => '   A unique index number which will be used for accessing to the memory content using JTAG cable.The default value is the processing tile id (CORE_ID) . You can also inter a unique number for each individula memory.
131
 
132
   In case you have \'n\' memory in each processing core you can define their index as "n*CORE_ID+1 , n*CORE_ID+2 ...n*CORE_ID+n-1).
133
 
134
   You also can disabled JTAG access here and connect one jtag to wb interface (jtag_wb) to the wishbone bus. Using single jtag index number, a jtag_wb module can read/wr any IP that is connected to wishbone bus slave port (including all memory units).
135
 
136
'
137
                                                                 },
138 25 alirezamon
                                                 'Aw' => {
139
                                                           'info' => 'Memory address width',
140
                                                           'deafult' => '12',
141
                                                           'content' => '4,31,1',
142
                                                           'type' => 'Spin-button',
143 34 alirezamon
                                                           'redefine_param' => 1,
144
                                                           'global_param' => 'Parameter'
145 25 alirezamon
                                                         },
146
                                                 'TAGw' => {
147 34 alirezamon
                                                             'redefine_param' => 1,
148 25 alirezamon
                                                             'global_param' => 'Localparam',
149
                                                             'content' => '',
150
                                                             'type' => 'Fixed',
151 34 alirezamon
                                                             'info' => 'Parameter',
152
                                                             'deafult' => '3'
153
                                                           },
154
                                                 'BTEw' => {
155
                                                             'deafult' => '2',
156
                                                             'info' => 'Parameter',
157
                                                             'type' => 'Fixed',
158
                                                             'content' => '',
159
                                                             'global_param' => 'Localparam',
160 25 alirezamon
                                                             'redefine_param' => 1
161
                                                           },
162 34 alirezamon
                                                 'FPGA_VENDOR' => {
163
                                                                    'type' => 'Combo-box',
164
                                                                    'content' => '"ALTERA","GENERIC"',
165
                                                                    'redefine_param' => 1,
166
                                                                    'global_param' => 'Localparam',
167
                                                                    'info' => '',
168
                                                                    'deafult' => '"GENERIC"'
169
                                                                  },
170
                                                 'CTIw' => {
171
                                                             'type' => 'Fixed',
172
                                                             'content' => '',
173
                                                             'redefine_param' => 1,
174
                                                             'global_param' => 'Localparam',
175
                                                             'info' => 'Parameter',
176
                                                             'deafult' => '3'
177
                                                           },
178
                                                 'Dw' => {
179
                                                           'type' => 'Spin-button',
180
                                                           'content' => '8,1024,1',
181
                                                           'redefine_param' => 1,
182
                                                           'global_param' => 'Parameter',
183
                                                           'info' => 'Memory data width in Bits.',
184
                                                           'deafult' => '32'
185
                                                         },
186
                                                 'INIT_FILE_PATH' => {
187
                                                                       'info' => undef,
188
                                                                       'deafult' => 'SW_LOC',
189
                                                                       'redefine_param' => 1,
190
                                                                       'global_param' => 'Localparam',
191
                                                                       'type' => 'Fixed',
192
                                                                       'content' => ''
193
                                                                     },
194
 
195
                                                 'INITIAL_EN' => {
196
                                                                   'deafult' => '"NO"',
197
                                                                   'info' => 'If selected as "ENABLED", the memory content will be initialized at compilation time using MEM_CONTENT_FILE_NAME.',
198 25 alirezamon
                                                                   'global_param' => 'Localparam',
199
                                                                   'redefine_param' => 1,
200 34 alirezamon
                                                                   'content' => '"YES","NO"',
201
                                                                   'type' => 'Combo-box'
202 25 alirezamon
                                                                 },
203 34 alirezamon
                                                 'BURST_MODE' => {
204
                                                                   'deafult' => '"ENABLED"',
205
                                                                   'info' => 'Wishbone bus burst read/write mode enable/disable.  ',
206
                                                                   'type' => 'Combo-box',
207
                                                                   'content' => '"DISABLED","ENABLED"',
208
                                                                   'global_param' => 'Localparam',
209
                                                                   'redefine_param' => 1
210
                                                                 },
211 25 alirezamon
                                                 'BYTE_WR_EN' => {
212
                                                                   'info' => '',
213
                                                                   'deafult' => '"YES"',
214 34 alirezamon
                                                                   'type' => 'Combo-box',
215 25 alirezamon
                                                                   'content' => '"YES","NO"',
216
                                                                   'redefine_param' => 1,
217 34 alirezamon
                                                                   'global_param' => 'Localparam'
218
                                                                 }
219 25 alirezamon
                                               },
220 34 alirezamon
                               'ports_order' => [
221
                                                  'clk',
222
                                                  'reset',
223
                                                  'sa_dat_i',
224
                                                  'sa_sel_i',
225
                                                  'sa_addr_i',
226
                                                  'sa_tag_i',
227
                                                  'sa_cti_i',
228
                                                  'sa_bte_i',
229
                                                  'sa_stb_i',
230
                                                  'sa_cyc_i',
231
                                                  'sa_we_i',
232
                                                  'sa_dat_o',
233
                                                  'sa_ack_o',
234
                                                  'sa_err_o',
235
                                                  'sa_rty_o'
236
                                                ],
237 25 alirezamon
                               'ports' => {
238 34 alirezamon
                                            'sa_cyc_i' => {
239
                                                            'intfc_port' => 'cyc_i',
240 25 alirezamon
                                                            'intfc_name' => 'plug:wb_slave[0]',
241 34 alirezamon
                                                            'type' => 'input',
242
                                                            'range' => ''
243 25 alirezamon
                                                          },
244 34 alirezamon
                                            'sa_ack_o' => {
245 25 alirezamon
                                                            'intfc_name' => 'plug:wb_slave[0]',
246 34 alirezamon
                                                            'intfc_port' => 'ack_o',
247 25 alirezamon
                                                            'range' => '',
248
                                                            'type' => 'output'
249
                                                          },
250
                                            'sa_dat_o' => {
251
                                                            'intfc_port' => 'dat_o',
252
                                                            'intfc_name' => 'plug:wb_slave[0]',
253
                                                            'range' => 'Dw-1       :   0',
254
                                                            'type' => 'output'
255
                                                          },
256 34 alirezamon
                                            'sa_addr_i' => {
257
                                                             'intfc_port' => 'adr_i',
258
                                                             'intfc_name' => 'plug:wb_slave[0]',
259
                                                             'type' => 'input',
260
                                                             'range' => 'Aw-1       :   0'
261
                                                           },
262
                                            'sa_tag_i' => {
263 25 alirezamon
                                                            'intfc_name' => 'plug:wb_slave[0]',
264 34 alirezamon
                                                            'intfc_port' => 'tag_i',
265
                                                            'type' => 'input',
266
                                                            'range' => 'TAGw-1     :   0'
267 25 alirezamon
                                                          },
268 34 alirezamon
                                            'sa_dat_i' => {
269 25 alirezamon
                                                            'intfc_name' => 'plug:wb_slave[0]',
270 34 alirezamon
                                                            'intfc_port' => 'dat_i',
271
                                                            'range' => 'Dw-1       :   0',
272 25 alirezamon
                                                            'type' => 'input'
273
                                                          },
274 34 alirezamon
                                            'sa_stb_i' => {
275
                                                            'type' => 'input',
276
                                                            'range' => '',
277 25 alirezamon
                                                            'intfc_name' => 'plug:wb_slave[0]',
278 34 alirezamon
                                                            'intfc_port' => 'stb_i'
279 25 alirezamon
                                                          },
280 34 alirezamon
                                            'sa_rty_o' => {
281 25 alirezamon
                                                            'intfc_name' => 'plug:wb_slave[0]',
282 34 alirezamon
                                                            'intfc_port' => 'rty_o',
283
                                                            'range' => '',
284
                                                            'type' => 'output'
285 25 alirezamon
                                                          },
286
                                            'sa_we_i' => {
287
                                                           'intfc_port' => 'we_i',
288
                                                           'intfc_name' => 'plug:wb_slave[0]',
289
                                                           'range' => '',
290
                                                           'type' => 'input'
291
                                                         },
292 34 alirezamon
                                            'sa_sel_i' => {
293
                                                            'type' => 'input',
294
                                                            'range' => 'SELw-1     :   0',
295 25 alirezamon
                                                            'intfc_name' => 'plug:wb_slave[0]',
296 34 alirezamon
                                                            'intfc_port' => 'sel_i'
297 25 alirezamon
                                                          },
298 34 alirezamon
                                            'sa_cti_i' => {
299
                                                            'range' => 'CTIw-1     :   0',
300
                                                            'type' => 'input',
301
                                                            'intfc_port' => 'cti_i',
302
                                                            'intfc_name' => 'plug:wb_slave[0]'
303
                                                          },
304
                                            'clk' => {
305
                                                       'intfc_name' => 'plug:clk[0]',
306
                                                       'intfc_port' => 'clk_i',
307
                                                       'type' => 'input',
308
                                                       'range' => ''
309
                                                     },
310
                                            'sa_bte_i' => {
311
                                                            'intfc_port' => 'bte_i',
312 25 alirezamon
                                                            'intfc_name' => 'plug:wb_slave[0]',
313 34 alirezamon
                                                            'range' => 'BTEw-1     :   0',
314 25 alirezamon
                                                            'type' => 'input'
315
                                                          },
316
                                            'reset' => {
317 34 alirezamon
                                                         'range' => '',
318
                                                         'type' => 'input',
319 25 alirezamon
                                                         'intfc_port' => 'reset_i',
320 34 alirezamon
                                                         'intfc_name' => 'plug:reset[0]'
321 25 alirezamon
                                                       },
322 34 alirezamon
                                            'sa_err_o' => {
323
                                                            'intfc_port' => 'err_o',
324 25 alirezamon
                                                            'intfc_name' => 'plug:wb_slave[0]',
325
                                                            'range' => '',
326
                                                            'type' => 'output'
327
                                                          }
328 34 alirezamon
                                          }
329 25 alirezamon
                             }, 'ip_gen' );

powered by: WebSVN 2.1.0

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