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] - Diff between revs 34 and 38

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 34 Rev 38
Line 1... Line 1...
#######################################################################
#######################################################################
##      File: dual_port_ram.IP
##      File: dual_port_ram.IP
##
##
##      Copyright (C) 2014-2016  Alireza Monemi
##      Copyright (C) 2014-2016  Alireza Monemi
##
##
##      This file is part of ProNoC 1.6.0
##      This file is part of ProNoC 1.8.0
##
##
##      WARNING: THIS IS AN AUTO-GENERATED FILE. CHANGES TO IT
##      WARNING: THIS IS AN AUTO-GENERATED FILE. CHANGES TO IT
##      MAY CAUSE UNEXPECTED BEHAIVOR.
##      MAY CAUSE UNEXPECTED BEHAIVOR.
################################################################################
################################################################################
 
 
$wb_dual_port_ram = bless( {
$ipgen = bless( {
                             'hdl_files' => [
                             'hdl_files' => [
                                              '/mpsoc/src_peripheral/ram/generic_ram.v',
                                              '/mpsoc/src_peripheral/ram/generic_ram.v',
                                              '/mpsoc/src_peripheral/ram/byte_enabled_generic_ram.sv',
                                              '/mpsoc/src_peripheral/ram/byte_enabled_generic_ram.sv',
                                              '/mpsoc/src_peripheral/ram/wb_dual_port_ram.v',
                                              '/mpsoc/src_peripheral/ram/wb_dual_port_ram.v',
                                              '/mpsoc/src_peripheral/ram/wb_bram_ctrl.v'
                                              '/mpsoc/src_peripheral/ram/wb_bram_ctrl.v'
                                            ],
                                            ],
                             'module_name' => 'wb_dual_port_ram',
                  'ports_order' => [
 
                                     'clk',
 
                                     'reset',
 
                                     'sa_dat_i',
 
                                     'sa_sel_i',
 
                                     'sa_addr_i',
 
                                     'sa_tag_i',
 
                                     'sa_cti_i',
 
                                     'sa_bte_i',
 
                                     'sa_stb_i',
 
                                     'sa_cyc_i',
 
                                     'sa_we_i',
 
                                     'sa_dat_o',
 
                                     'sa_ack_o',
 
                                     'sa_err_o',
 
                                     'sa_rty_o',
 
                                     'sb_dat_i',
 
                                     'sb_sel_i',
 
                                     'sb_addr_i',
 
                                     'sb_tag_i',
 
                                     'sb_cti_i',
 
                                     'sb_bte_i',
 
                                     'sb_stb_i',
 
                                     'sb_cyc_i',
 
                                     'sb_we_i',
 
                                     'sb_dat_o',
 
                                     'sb_ack_o',
 
                                     'sb_err_o',
 
                                     'sb_rty_o'
 
                                   ],
 
                  'parameters_order' => [
 
                                          'Dw',
 
                                          'Aw',
 
                                          'BYTE_WR_EN',
 
                                          'FPGA_VENDOR',
 
                                          'TAGw',
 
                                          'SELw',
 
                                          'CTIw',
 
                                          'BTEw',
 
                                          'WB_Aw',
 
                                          'RAM_INDEX',
 
                                          'PORT_A_BURST_MODE',
 
                                          'PORT_B_BURST_MODE',
 
                                          'INITIAL_EN',
 
                                          'MEM_CONTENT_FILE_NAME',
 
                                          'INIT_FILE_PATH'
 
                                        ],
                             'category' => 'RAM',
                             'category' => 'RAM',
                             'plugs' => {
                             'plugs' => {
                                          'clk' => {
 
                                                     'clk' => {},
 
                                                     'value' => 1,
 
                                                     'type' => 'num',
 
                                                     '0' => {
 
                                                              'name' => 'clk'
 
                                                            }
 
                                                   },
 
                                          'reset' => {
                                          'reset' => {
 
                                            'value' => 1,
                                                       '0' => {
                                                       '0' => {
                                                                'name' => 'reset'
                                                                'name' => 'reset'
                                                              },
                                                              },
                                                       'type' => 'num',
                                                       'type' => 'num',
                                                       'value' => 1,
 
                                                       'reset' => {}
                                                       'reset' => {}
                                                     },
                                                     },
                                          'wb_slave' => {
                               'clk' => {
                                                          'value' => 2,
                                          'type' => 'num',
                                                          '1' => {
                                          '0' => {
                                                                   'addr' => '0x0000_0000       0x3fff_ffff             RAM',
                                                   'name' => 'clk'
                                                                   'width' => 'WB_Aw',
 
                                                                   'name' => 'wb_b'
 
                                                                 },
                                                                 },
 
                                          'clk' => {},
 
                                          'value' => 1
 
                                        },
 
                               'wb_slave' => {
                                                          'type' => 'num',
                                                          'type' => 'num',
                                                          'wb_slave' => {},
 
                                                          '0' => {
                                                          '0' => {
                                                                   'addr' => '0x0000_0000       0x3fff_ffff             RAM',
                                                                   'addr' => '0x0000_0000       0x3fff_ffff             RAM',
                                                                   'width' => 'WB_Aw',
                                                                   'width' => 'WB_Aw',
                                                                   'name' => 'wb_a'
                                                                   'name' => 'wb_a'
                                                                 }
                                                      },
 
                                               '1' => {
 
                                                        'name' => 'wb_b',
 
                                                        'width' => 'WB_Aw',
 
                                                        'addr' => '0x0000_0000  0x3fff_ffff             RAM'
 
                                                      },
 
                                               'wb_slave' => {},
 
                                               'value' => 2
                                                        }
                                                        }
                                        },
                                        },
                             'ports' => {
                  'modules' => {
                                          'sb_err_o' => {
                                 'wb_dual_port_ram' => {}
                                                          'range' => '',
 
                                                          'intfc_port' => 'err_o',
 
                                                          'intfc_name' => 'plug:wb_slave[1]',
 
                                                          'type' => 'output'
 
                                                        },
                                                        },
                                          'sa_stb_i' => {
                  'description_pdf' => '/mpsoc/src_peripheral/ram/RAM.pdf',
                                                          'type' => 'input',
                  'version' => 10,
                                                          'intfc_name' => 'plug:wb_slave[0]',
                  'description' => 'Dual port ram.',
                                                          'intfc_port' => 'stb_i',
                  'ip_name' => 'dual_port_ram',
                                                          'range' => ''
                  'module_name' => 'wb_dual_port_ram',
 
                  'unused' => undef,
 
                  'file_name' => '/home/alireza/Mywork/mpsoc/src_peripheral/ram/wb_dual_port_ram.v',
 
                  'parameters' => {
 
                                    'RAM_INDEX' => {
 
                                                     'global_param' => 'Localparam',
 
                                                     'type' => 'Entry',
 
                                                     'content' => '',
 
                                                     'default' => 'CORE_ID',
 
                                                     'redefine_param' => 1,
 
                                                     'info' => 'RAM_INDEX is a unique number which will be used for initialing the memory content only.
 
 
 
'
                                                        },
                                                        },
                                          'sb_addr_i' => {
                                    'SELw' => {
                                                           'intfc_name' => 'plug:wb_slave[1]',
                                                'info' => 'Parameter',
                                                           'type' => 'input',
                                                'redefine_param' => 1,
                                                           'intfc_port' => 'adr_i',
                                                'content' => '',
                                                           'range' => 'Aw-1       :   0'
                                                'type' => 'Fixed',
 
                                                'default' => 'Dw/8',
 
                                                'global_param' => 'Localparam'
                                                         },
                                                         },
                                          'sb_rty_o' => {
                                    'BYTE_WR_EN' => {
                                                          'type' => 'output',
                                                      'redefine_param' => 1,
                                                          'intfc_name' => 'plug:wb_slave[1]',
                                                      'info' => 'Parameter',
                                                          'intfc_port' => 'rty_o',
                                                      'type' => 'Combo-box',
                                                          'range' => ''
                                                      'content' => '"YES","NO"',
 
                                                      'default' => '"YES"',
 
                                                      'global_param' => 'Localparam'
                                                        },
                                                        },
                                          'sb_cyc_i' => {
                                    'INITIAL_EN' => {
                                                          'intfc_port' => 'cyc_i',
                                                      'global_param' => 'Localparam',
                                                          'range' => '',
                                                      'redefine_param' => 1,
                                                          'type' => 'input',
                                                      'info' => 'If selected as "YES", the memory content will be initialized at compilation time using MEM_CONTENT_FILE_NAME.',
                                                          'intfc_name' => 'plug:wb_slave[1]'
                                                      'default' => '"NO"',
 
                                                      'content' => '"YES","NO"',
 
                                                      'type' => 'Combo-box'
                                                        },
                                                        },
                                          'sa_we_i' => {
                                    'CTIw' => {
                                                         'intfc_port' => 'we_i',
                                                'global_param' => 'Localparam',
                                                         'range' => '',
                                                'redefine_param' => 1,
                                                         'intfc_name' => 'plug:wb_slave[0]',
                                                'info' => 'Parameter',
                                                         'type' => 'input'
                                                'default' => '3',
 
                                                'type' => 'Fixed',
 
                                                'content' => ''
                                                       },
                                                       },
                                          'sb_we_i' => {
                                    'Dw' => {
                                                         'intfc_port' => 'we_i',
                                              'redefine_param' => 1,
                                                         'range' => '',
                                              'info' => 'Ram data width in Bits',
                                                         'intfc_name' => 'plug:wb_slave[1]',
                                              'type' => 'Spin-button',
                                                         'type' => 'input'
                                              'default' => '32',
 
                                              'content' => '4,1024,1',
 
                                              'global_param' => 'Localparam'
                                                       },
                                                       },
                                          'sb_dat_i' => {
                                    'FPGA_VENDOR' => {
                                                          'type' => 'input',
                                                       'global_param' => 'Localparam',
                                                          'intfc_name' => 'plug:wb_slave[1]',
                                                       'info' => 'Parameter',
                                                          'range' => 'Dw-1       :   0',
                                                       'redefine_param' => 1,
                                                          'intfc_port' => 'dat_i'
                                                       'default' => '"GENERIC"',
 
                                                       'type' => 'Combo-box',
 
                                                       'content' => '"ALTERA","GENERIC"'
                                                        },
                                                        },
                                          'sa_err_o' => {
                                    'INIT_FILE_PATH' => {
                                                          'type' => 'output',
                                                          'global_param' => 'Don\'t include',
                                                          'intfc_name' => 'plug:wb_slave[0]',
                                                          'content' => '',
                                                          'range' => '',
                                                          'default' => 'SW_LOC',
                                                          'intfc_port' => 'err_o'
                                                          'type' => 'Fixed',
 
                                                          'redefine_param' => 1,
 
                                                          'info' => undef
                                                        },
                                                        },
                                          'sb_sel_i' => {
                                    'PORT_A_BURST_MODE' => {
                                                          'type' => 'input',
                                                             'info' => ' wisbone bus burst mode enable/disable on port A',
                                                          'intfc_name' => 'plug:wb_slave[1]',
                                                             'redefine_param' => 1,
                                                          'range' => 'SELw-1     :   0',
                                                             'type' => 'Combo-box',
                                                          'intfc_port' => 'sel_i'
                                                             'default' => '"ENABLED"',
 
                                                             'content' => '"DISABLED","ENABLED"',
 
                                                             'global_param' => 'Localparam'
                                                        },
                                                        },
                                          'sb_ack_o' => {
                                    'MEM_CONTENT_FILE_NAME' => {
                                                          'type' => 'output',
                                                                 'global_param' => 'Localparam',
                                                          'intfc_name' => 'plug:wb_slave[1]',
                                                                 'content' => '',
 
                                                                 'default' => '"ram0"',
 
                                                                 'type' => 'Entry',
 
                                                                 'redefine_param' => 1,
 
                                                                 'info' => 'MEM_FILE_NAME:
 
The memory file name (without file type extension ) that is used for writting the memory content at initialization time.
 
 
 
File Path:
 
For bus-based SoC the file path is {ProNoC_work}/SOC/{soc_name}/sw/RAM/{file_type}/{MEM_FILE_NAME}.
 
For NoC-based MPSoC the file path is {ProNoC_work}/MPSOC/{mpsoc_name}/sw/tile{tile_num}/RAM/{file_type}/{MEM_FILE_NAME}
 
 
 
file_type:
 
memh: hexadecimal-string format . It will be used for initialing the Generic RAM using $readmemh command.
 
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 . '
 
                                                               },
 
                                    'TAGw' => {
 
                                                'content' => '',
 
                                                'type' => 'Fixed',
 
                                                'default' => '3',
 
                                                'redefine_param' => 1,
 
                                                'info' => 'Parameter',
 
                                                'global_param' => 'Localparam'
 
                                              },
 
                                    'BTEw' => {
 
                                                'info' => 'Parameter',
 
                                                'redefine_param' => 1,
 
                                                'default' => '2',
 
                                                'content' => '',
 
                                                'type' => 'Fixed',
 
                                                'global_param' => 'Localparam'
 
                                              },
 
                                    'Aw' => {
 
                                              'info' => 'Ram address width',
 
                                              'redefine_param' => 1,
 
                                              'default' => '12',
 
                                              'content' => '2,31,1',
 
                                              'type' => 'Spin-button',
 
                                              'global_param' => 'Localparam'
 
                                            },
 
                                    'PORT_B_BURST_MODE' => {
 
                                                             'redefine_param' => 1,
 
                                                             'info' => 'wisbone bus burst mode ebable/disable on port B',
 
                                                             'type' => 'Combo-box',
 
                                                             'content' => '"DISABLED","ENABLED"',
 
                                                             'default' => '"ENABLED"',
 
                                                             'global_param' => 'Localparam'
 
                                                           },
 
                                    'WB_Aw' => {
 
                                                 'info' => 'Wishbone bus address width in byte',
 
                                                 'redefine_param' => 0,
 
                                                 'content' => '',
 
                                                 'default' => 'Aw+2',
 
                                                 'type' => 'Fixed',
 
                                                 'global_param' => 'Don\'t include'
 
                                               }
 
                                  },
 
                  'ports' => {
 
                               'reset' => {
 
                                            'type' => 'input',
 
                                            'intfc_port' => 'reset_i',
                                                          'range' => '',
                                                          'range' => '',
                                                          'intfc_port' => 'ack_o'
                                            'intfc_name' => 'plug:reset[0]'
                                                        },
                                                        },
                                          'sb_cti_i' => {
                               'sb_we_i' => {
                                                          'intfc_port' => 'cti_i',
 
                                                          'range' => 'CTIw-1     :   0',
 
                                                          'type' => 'input',
                                                          'type' => 'input',
 
                                              'intfc_port' => 'we_i',
 
                                              'range' => '',
                                                          'intfc_name' => 'plug:wb_slave[1]'
                                                          'intfc_name' => 'plug:wb_slave[1]'
                                                        },
                                                        },
                                          'sb_stb_i' => {
                               'sb_err_o' => {
                                                          'intfc_port' => 'stb_i',
                                               'intfc_port' => 'err_o',
                                                          'range' => '',
                                                          'range' => '',
                                                          'intfc_name' => 'plug:wb_slave[1]',
                                               'type' => 'output',
                                                          'type' => 'input'
                                               'intfc_name' => 'plug:wb_slave[1]'
                                                        },
                                                        },
                                          'sa_cti_i' => {
                               'sa_rty_o' => {
                                                          'type' => 'input',
 
                                                          'intfc_name' => 'plug:wb_slave[0]',
                                                          'intfc_name' => 'plug:wb_slave[0]',
                                                          'intfc_port' => 'cti_i',
                                               'type' => 'output',
                                                          'range' => 'CTIw-1     :   0'
                                               'intfc_port' => 'rty_o',
 
                                               'range' => ''
                                                        },
                                                        },
                                          'sb_bte_i' => {
                               'sa_ack_o' => {
 
                                               'intfc_name' => 'plug:wb_slave[0]',
 
                                               'intfc_port' => 'ack_o',
 
                                               'range' => '',
 
                                               'type' => 'output'
 
                                             },
 
                               'sa_addr_i' => {
 
                                                'intfc_port' => 'adr_i',
 
                                                'range' => 'Aw-1       :   0',
                                                          'type' => 'input',
                                                          'type' => 'input',
                                                          'intfc_name' => 'plug:wb_slave[1]',
                                                'intfc_name' => 'plug:wb_slave[0]'
                                                          'range' => 'BTEw-1     :   0',
 
                                                          'intfc_port' => 'bte_i'
 
                                                        },
                                                        },
                                          'sa_rty_o' => {
                               'sb_dat_o' => {
                                                          'intfc_name' => 'plug:wb_slave[0]',
                                               'range' => 'Dw-1       :   0',
 
                                               'intfc_port' => 'dat_o',
                                                          'type' => 'output',
                                                          'type' => 'output',
                                                          'range' => '',
                                               'intfc_name' => 'plug:wb_slave[1]'
                                                          'intfc_port' => 'rty_o'
 
                                                        },
                                                        },
                                          'clk' => {
                               'sa_stb_i' => {
                                                     'intfc_port' => 'clk_i',
 
                                                     'range' => '',
                                                     'range' => '',
 
                                               'intfc_port' => 'stb_i',
                                                     'type' => 'input',
                                                     'type' => 'input',
                                                     'intfc_name' => 'plug:clk[0]'
                                               'intfc_name' => 'plug:wb_slave[0]'
                                                   },
                                                   },
                                          'sa_dat_o' => {
                               'sa_tag_i' => {
                                                          'type' => 'output',
                                               'type' => 'input',
                                                          'intfc_name' => 'plug:wb_slave[0]',
                                               'range' => 'TAGw-1     :   0',
                                                          'range' => 'Dw-1       :   0',
                                               'intfc_port' => 'tag_i',
                                                          'intfc_port' => 'dat_o'
                                               'intfc_name' => 'plug:wb_slave[0]'
                                                        },
                                                        },
                                          'sa_dat_i' => {
                                          'sa_dat_i' => {
                                                          'type' => 'input',
                                                          'type' => 'input',
                                                          'intfc_name' => 'plug:wb_slave[0]',
 
                                                          'intfc_port' => 'dat_i',
                                                          'intfc_port' => 'dat_i',
                                                          'range' => 'Dw-1       :   0'
                                               'range' => 'Dw-1       :   0',
 
                                               'intfc_name' => 'plug:wb_slave[0]'
                                                        },
                                                        },
                                          'sa_bte_i' => {
                               'sa_we_i' => {
                                                          'intfc_name' => 'plug:wb_slave[0]',
                                                          'intfc_name' => 'plug:wb_slave[0]',
                                                          'type' => 'input',
                                                          'type' => 'input',
 
                                              'range' => '',
 
                                              'intfc_port' => 'we_i'
 
                                            },
 
                               'sb_bte_i' => {
 
                                               'type' => 'input',
 
                                               'range' => 'BTEw-1     :   0',
                                                          'intfc_port' => 'bte_i',
                                                          'intfc_port' => 'bte_i',
                                                          'range' => 'BTEw-1     :   0'
                                               'intfc_name' => 'plug:wb_slave[1]'
                                                        },
                                                        },
                                          'sa_ack_o' => {
                               'sb_addr_i' => {
 
                                                'intfc_name' => 'plug:wb_slave[1]',
 
                                                'type' => 'input',
 
                                                'range' => 'Aw-1       :   0',
 
                                                'intfc_port' => 'adr_i'
 
                                              },
 
                               'sb_cyc_i' => {
 
                                               'intfc_name' => 'plug:wb_slave[1]',
 
                                               'type' => 'input',
                                                          'range' => '',
                                                          'range' => '',
                                                          'intfc_port' => 'ack_o',
                                               'intfc_port' => 'cyc_i'
                                                          'type' => 'output',
 
                                                          'intfc_name' => 'plug:wb_slave[0]'
 
                                                        },
                                                        },
                                          'sa_sel_i' => {
                                          'sa_sel_i' => {
                                                          'type' => 'input',
                                                          'type' => 'input',
                                                          'intfc_name' => 'plug:wb_slave[0]',
                                               'range' => 'SELw-1     :   0',
                                                          'intfc_port' => 'sel_i',
                                                          'intfc_port' => 'sel_i',
                                                          'range' => 'SELw-1     :   0'
                                               'intfc_name' => 'plug:wb_slave[0]'
                                                        },
                                                        },
                                          'reset' => {
                               'sb_sel_i' => {
                                                       'intfc_name' => 'plug:reset[0]',
                                               'range' => 'SELw-1     :   0',
 
                                               'intfc_port' => 'sel_i',
                                                       'type' => 'input',
                                                       'type' => 'input',
                                                       'range' => '',
                                               'intfc_name' => 'plug:wb_slave[1]'
                                                       'intfc_port' => 'reset_i'
 
                                                     },
                                                     },
                                          'sa_cyc_i' => {
                               'sb_dat_i' => {
                                                          'range' => '',
                                               'intfc_port' => 'dat_i',
                                                          'intfc_port' => 'cyc_i',
                                               'range' => 'Dw-1       :   0',
                                                          'type' => 'input',
                                                          'type' => 'input',
                                                          'intfc_name' => 'plug:wb_slave[0]'
                                               'intfc_name' => 'plug:wb_slave[1]'
                                                        },
                                                        },
                                          'sa_tag_i' => {
                               'sb_cti_i' => {
 
                                               'intfc_name' => 'plug:wb_slave[1]',
                                                          'type' => 'input',
                                                          'type' => 'input',
                                                          'intfc_name' => 'plug:wb_slave[0]',
                                               'range' => 'CTIw-1     :   0',
                                                          'intfc_port' => 'tag_i',
                                               'intfc_port' => 'cti_i'
                                                          'range' => 'TAGw-1     :   0'
 
                                                        },
                                                        },
                                          'sb_dat_o' => {
                               'sb_ack_o' => {
                                                          'type' => 'output',
                                                          'type' => 'output',
                                                          'intfc_name' => 'plug:wb_slave[1]',
                                               'range' => '',
                                                          'range' => 'Dw-1       :   0',
                                               'intfc_port' => 'ack_o',
                                                          'intfc_port' => 'dat_o'
                                               'intfc_name' => 'plug:wb_slave[1]'
                                                        },
                                                        },
                                          'sa_addr_i' => {
                               'sa_cti_i' => {
                                                           'intfc_port' => 'adr_i',
 
                                                           'range' => 'Aw-1       :   0',
 
                                                           'type' => 'input',
                                                           'type' => 'input',
 
                                               'range' => 'CTIw-1     :   0',
 
                                               'intfc_port' => 'cti_i',
 
                                               'intfc_name' => 'plug:wb_slave[0]'
 
                                             },
 
                               'sa_err_o' => {
 
                                               'intfc_port' => 'err_o',
 
                                               'range' => '',
 
                                               'type' => 'output',
                                                           'intfc_name' => 'plug:wb_slave[0]'
                                                           'intfc_name' => 'plug:wb_slave[0]'
                                                         },
                                                         },
                                          'sb_tag_i' => {
                                          'sb_tag_i' => {
                                                          'intfc_port' => 'tag_i',
                                                          'intfc_port' => 'tag_i',
                                                          'range' => 'TAGw-1     :   0',
                                                          'range' => 'TAGw-1     :   0',
                                                          'type' => 'input',
                                                          'type' => 'input',
                                                          'intfc_name' => 'plug:wb_slave[1]'
                                                          'intfc_name' => 'plug:wb_slave[1]'
                                                        }
 
                                        },
 
                             'description' => 'Dual port ram.',
 
                             'parameters' => {
 
                                               'WB_Aw' => {
 
                                                            'type' => 'Fixed',
 
                                                            'redefine_param' => 0,
 
                                                            'info' => 'Wishbone bus address width in byte',
 
                                                            'content' => '',
 
                                                            'deafult' => 'Aw+2',
 
                                                            'global_param' => 'Don\'t include'
 
                                                          },
 
                                               'BTEw' => {
 
                                                           'info' => 'Parameter',
 
                                                           'content' => '',
 
                                                           'type' => 'Fixed',
 
                                                           'redefine_param' => 1,
 
                                                           'global_param' => 'Localparam',
 
                                                           'deafult' => '2'
 
                                                         },
 
                                               'MEM_CONTENT_FILE_NAME' => {
 
                                                                            'type' => 'Entry',
 
                                                                            'redefine_param' => 1,
 
                                                                            'content' => '',
 
                                                                            'info' => 'MEM_FILE_NAME:
 
The memory file name (without file type extension ) that is used for writting the memory content at initialization time.
 
 
 
File Path:
 
For bus-based SoC the file path is {ProNoC_work}/SOC/{soc_name}/sw/RAM/{file_type}/{MEM_FILE_NAME}.
 
For NoC-based MPSoC the file path is {ProNoC_work}/MPSOC/{mpsoc_name}/sw/tile{tile_num}/RAM/{file_type}/{MEM_FILE_NAME}
 
 
 
file_type:
 
memh: hexadecimal-string format . It will be used for initialing the Generic RAM using $readmemh command.
 
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 . ',
 
                                                                            'deafult' => '"ram0"',
 
                                                                            'global_param' => 'Localparam'
 
                                                                          },
 
                                               'TAGw' => {
 
                                                           'info' => 'Parameter',
 
                                                           'content' => '',
 
                                                           'type' => 'Fixed',
 
                                                           'redefine_param' => 1,
 
                                                           'global_param' => 'Localparam',
 
                                                           'deafult' => '3'
 
                                                         },
 
                                               'CTIw' => {
 
                                                           'redefine_param' => 1,
 
                                                           'type' => 'Fixed',
 
                                                           'content' => '',
 
                                                           'info' => 'Parameter',
 
                                                           'deafult' => '3',
 
                                                           'global_param' => 'Localparam'
 
                                                         },
 
                                               'INIT_FILE_PATH' => {
 
                                                                     'redefine_param' => 1,
 
                                                                     'type' => 'Fixed',
 
                                                                     'info' => undef,
 
                                                                     'content' => '',
 
                                                                     'deafult' => 'SW_LOC',
 
                                                                     'global_param' => 'Don\'t include'
 
                                                                   },
 
                                               'Aw' => {
 
                                                         'deafult' => '12',
 
                                                         'global_param' => 'Localparam',
 
                                                         'type' => 'Spin-button',
 
                                                         'redefine_param' => 1,
 
                                                         'info' => 'Ram address width',
 
                                                         'content' => '2,31,1'
 
                                                       },
 
                                               'INITIAL_EN' => {
 
                                                                 'type' => 'Combo-box',
 
                                                                 'redefine_param' => 1,
 
                                                                 'info' => 'If selected as "YES", the memory content will be initialized at compilation time using MEM_CONTENT_FILE_NAME.',
 
                                                                 'content' => '"YES","NO"',
 
                                                                 'deafult' => '"NO"',
 
                                                                 'global_param' => 'Localparam'
 
                                                               },
 
                                               'RAM_INDEX' => {
 
                                                                'deafult' => 'CORE_ID',
 
                                                                'global_param' => 'Localparam',
 
                                                                'redefine_param' => 1,
 
                                                                'type' => 'Entry',
 
                                                                'content' => '',
 
                                                                'info' => 'RAM_INDEX is a unique number which will be used for initialing the memory content only.
 
 
 
'
 
                                                              },
                                                              },
                                               'SELw' => {
                               'clk' => {
                                                           'deafult' => 'Dw/8',
                                          'intfc_name' => 'plug:clk[0]',
                                                           'global_param' => 'Localparam',
                                          'intfc_port' => 'clk_i',
                                                           'redefine_param' => 1,
                                          'range' => '',
                                                           'type' => 'Fixed',
                                          'type' => 'input'
                                                           'info' => 'Parameter',
 
                                                           'content' => ''
 
                                                         },
                                                         },
                                               'Dw' => {
                               'sa_dat_o' => {
                                                         'redefine_param' => 1,
                                               'intfc_port' => 'dat_o',
                                                         'type' => 'Spin-button',
                                               'range' => 'Dw-1       :   0',
                                                         'content' => '4,1024,1',
                                               'type' => 'output',
                                                         'info' => 'Ram data width in Bits',
                                               'intfc_name' => 'plug:wb_slave[0]'
                                                         'deafult' => '32',
 
                                                         'global_param' => 'Localparam'
 
                                                       },
                                                       },
                                               'PORT_B_BURST_MODE' => {
                               'sb_stb_i' => {
                                                                        'info' => 'wisbone bus burst mode ebable/disable on port B',
                                               'type' => 'input',
                                                                        'content' => '"DISABLED","ENABLED" ',
                                               'intfc_port' => 'stb_i',
                                                                        'redefine_param' => 1,
                                               'range' => '',
                                                                        'type' => 'Fixed',
                                               'intfc_name' => 'plug:wb_slave[1]'
                                                                        'global_param' => 'Localparam',
 
                                                                        'deafult' => '"ENABLED"'
 
                                                                      },
                                                                      },
                                               'BYTE_WR_EN' => {
                               'sa_bte_i' => {
                                                                 'content' => '"YES","NO"',
                                               'intfc_name' => 'plug:wb_slave[0]',
                                                                 'info' => 'Parameter',
                                               'type' => 'input',
                                                                 'type' => 'Combo-box',
                                               'intfc_port' => 'bte_i',
                                                                 'redefine_param' => 1,
                                               'range' => 'BTEw-1     :   0'
                                                                 'global_param' => 'Localparam',
 
                                                                 'deafult' => '"YES"'
 
                                                               },
                                                               },
                                               'PORT_A_BURST_MODE' => {
                               'sa_cyc_i' => {
                                                                        'deafult' => '"ENABLED"',
                                               'type' => 'input',
                                                                        'global_param' => 'Localparam',
                                               'range' => '',
                                                                        'redefine_param' => 1,
                                               'intfc_port' => 'cyc_i',
                                                                        'type' => 'Combo-box',
                                               'intfc_name' => 'plug:wb_slave[0]'
                                                                        'content' => '"DISABLED","ENABLED"',
 
                                                                        'info' => ' wisbone bus burst mode enable/disable on port A'
 
                                                                      },
                                                                      },
                                               'FPGA_VENDOR' => {
                               'sb_rty_o' => {
                                                                  'redefine_param' => 1,
                                               'intfc_name' => 'plug:wb_slave[1]',
                                                                  'type' => 'Combo-box',
                                               'type' => 'output',
                                                                  'content' => '"ALTERA","GENERIC"',
                                               'intfc_port' => 'rty_o',
                                                                  'info' => 'Parameter',
                                               'range' => ''
                                                                  'deafult' => '"GENERIC"',
 
                                                                  'global_param' => 'Localparam'
 
                                                                }
                                                                }
                                             },
                                             },
                             'ports_order' => [
 
                                                'clk',
 
                                                'reset',
 
                                                'sa_dat_i',
 
                                                'sa_sel_i',
 
                                                'sa_addr_i',
 
                                                'sa_tag_i',
 
                                                'sa_cti_i',
 
                                                'sa_bte_i',
 
                                                'sa_stb_i',
 
                                                'sa_cyc_i',
 
                                                'sa_we_i',
 
                                                'sa_dat_o',
 
                                                'sa_ack_o',
 
                                                'sa_err_o',
 
                                                'sa_rty_o',
 
                                                'sb_dat_i',
 
                                                'sb_sel_i',
 
                                                'sb_addr_i',
 
                                                'sb_tag_i',
 
                                                'sb_cti_i',
 
                                                'sb_bte_i',
 
                                                'sb_stb_i',
 
                                                'sb_cyc_i',
 
                                                'sb_we_i',
 
                                                'sb_dat_o',
 
                                                'sb_ack_o',
 
                                                'sb_err_o',
 
                                                'sb_rty_o'
 
                                              ],
 
                             'version' => 6,
 
                             'gui_status' => {
                             'gui_status' => {
                                               'timeout' => 0,
                                               'timeout' => 0,
                                               'status' => 'ideal'
                                               'status' => 'ideal'
                                             },
                                  }
                             'parameters_order' => [
 
                                                     'Dw',
 
                                                     'Aw',
 
                                                     'BYTE_WR_EN',
 
                                                     'FPGA_VENDOR',
 
                                                     'TAGw',
 
                                                     'SELw',
 
                                                     'CTIw',
 
                                                     'BTEw',
 
                                                     'WB_Aw',
 
                                                     'RAM_INDEX',
 
                                                     'PORT_A_BURST_MODE',
 
                                                     'PORT_B_BURST_MODE',
 
                                                     'INITIAL_EN',
 
                                                     'MEM_CONTENT_FILE_NAME',
 
                                                     'INIT_FILE_PATH'
 
                                                   ],
 
                             'unused' => undef,
 
                             'ip_name' => 'dual_port_ram',
 
                             'modules' => {
 
                                            'wb_dual_port_ram' => {}
 
                                          },
 
                             'file_name' => '/home/alireza/Mywork/mpsoc/src_peripheral/ram/wb_dual_port_ram.v'
 
                           }, 'ip_gen' );
                           }, 'ip_gen' );

powered by: WebSVN 2.1.0

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