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/] [GPIO/] [gpo.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: gpo.IP
##      File: gpo.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.
################################################################################
################################################################################
 
 
$gpo = bless( {
$ipgen = bless( {
                'version' => 1,
 
                'description' => 'General output port',
 
                'hdl_files' => [
 
                                 '/mpsoc/src_peripheral/gpio/gpio.v'
 
                               ],
 
                'parameters' => {
 
                                  'SELw' => {
 
                                              'type' => 'Fixed',
 
                                              'global_param' => 'Localparam',
 
                                              'info' => undef,
 
                                              'redefine_param' => 1,
 
                                              'deafult' => '    4',
 
                                              'content' => ''
 
                                            },
 
                                  'Aw' => {
 
                                            'type' => 'Fixed',
 
                                            'global_param' => 'Localparam',
 
                                            'deafult' => '    2',
 
                                            'content' => '',
 
                                            'info' => undef,
 
                                            'redefine_param' => 1
 
                                          },
 
                                  'Dw' => {
 
                                            'global_param' => 'Localparam',
 
                                            'type' => 'Fixed',
 
                                            'content' => '',
 
                                            'deafult' => 'PORT_WIDTH',
 
                                            'redefine_param' => 1,
 
                                            'info' => undef
 
                                          },
 
                                  'TAGw' => {
 
                                              'info' => undef,
 
                                              'redefine_param' => 1,
 
                                              'deafult' => '    3',
 
                                              'content' => '',
 
                                              'global_param' => 'Localparam',
 
                                              'type' => 'Fixed'
 
                                            },
 
                                  'PORT_WIDTH' => {
 
                                                    'deafult' => '   1',
 
                                                    'content' => '1,32,1',
 
                                                    'info' => 'output port width',
 
                                                    'redefine_param' => 1,
 
                                                    'type' => 'Spin-button',
 
                                                    'global_param' => 'Parameter'
 
                                                  }
 
                                },
 
                'unused' => {
                'unused' => {
                              'plug:wb_slave[0]' => [
                              'plug:wb_slave[0]' => [
                                                      'bte_i',
                                                      'bte_i',
                                                      'cti_i'
                                                      'cti_i'
                                                    ]
                                                    ]
                            },
                            },
 
                  'parameters_order' => [
 
                                          'PORT_WIDTH',
 
                                          'Aw',
 
                                          'TAGw',
 
                                          'SELw',
 
                                          'Dw'
 
                                        ],
 
                  'module_name' => 'gpo',
 
                  'system_h' => '#define        ${IP}_WRITE_REG                 (*((volatile unsigned int *) ($BASE+4)))
 
#define         ${IP}_WRITE(value)                     ${IP}_WRITE_REG=value
 
 
 
',
 
                  'sockets' => {},
 
                  'category' => 'GPIO',
 
                  'version' => 2,
                'modules' => {
                'modules' => {
                               'gpo' => {},
                               'gpo' => {},
                               'gpi' => {},
                               'gpi' => {},
                               'gpio' => {}
                               'gpio' => {}
                             },
                             },
                'ports' => {
                  'plugs' => {
                             'sa_tag_i' => {
                               'clk' => {
                                             'intfc_port' => 'tag_i',
                                          'type' => 'num',
                                             'intfc_name' => 'plug:wb_slave[0]',
                                          'clk' => {},
                                             'range' => 'TAGw-1     :   0',
                                          'value' => 1,
                                             'type' => 'input'
                                          '0' => {
 
                                                   'name' => 'clk'
 
                                                 }
                                           },
                                           },
                             'reset' => {
                             'reset' => {
                                          'type' => 'input',
                                            'reset' => {},
                                          'intfc_name' => 'plug:reset[0]',
                                            '0' => {
                                          'range' => '',
                                                     'name' => 'reset'
                                          'intfc_port' => 'reset_i'
 
                                        },
                                        },
                             'sa_ack_o' => {
                                            'value' => 1,
                                             'intfc_name' => 'plug:wb_slave[0]',
                                            'type' => 'num'
                                             'range' => '',
 
                                             'type' => 'output',
 
                                             'intfc_port' => 'ack_o'
 
                                           },
                                           },
                             'sa_stb_i' => {
                               'wb_slave' => {
                                             'intfc_port' => 'stb_i',
                                               'type' => 'num',
                                             'intfc_name' => 'plug:wb_slave[0]',
                                               'value' => 1,
                                             'range' => '',
                                               'wb_slave' => {},
                                             'type' => 'input'
                                               '0' => {
 
                                                        'name' => 'wb',
 
                                                        'width' => 5,
 
                                                        'addr' => '0x9100_0000  0x91ff_ffff             General-Purpose I/O'
 
                                                      }
 
                                             }
                                           },
                                           },
 
                  'hdl_files' => [
 
                                   '/mpsoc/src_peripheral/gpio/gpio.v'
 
                                 ],
 
                  'file_name' => '/home/alireza/Mywork/mpsoc/src_peripheral/gpio/gpio.v',
 
                  'ports' => {
                             'sa_sel_i' => {
                             'sa_sel_i' => {
                                             'type' => 'input',
                                             'type' => 'input',
 
                                               'intfc_port' => 'sel_i',
                                             'range' => 'SELw-1     :   0',
                                             'range' => 'SELw-1     :   0',
                                             'intfc_name' => 'plug:wb_slave[0]',
                                               'intfc_name' => 'plug:wb_slave[0]'
                                             'intfc_port' => 'sel_i'
 
                                           },
                                           },
                             'clk' => {
                               'sa_cyc_i' => {
                                        'intfc_port' => 'clk_i',
 
                                        'type' => 'input',
                                        'type' => 'input',
 
                                               'intfc_port' => 'cyc_i',
                                        'range' => '',
                                        'range' => '',
                                        'intfc_name' => 'plug:clk[0]'
                                               'intfc_name' => 'plug:wb_slave[0]'
                                      },
                                      },
                             'sa_cyc_i' => {
                               'port_o' => {
                                             'intfc_port' => 'cyc_i',
                                             'intfc_name' => 'IO',
                                             'type' => 'input',
                                             'intfc_port' => 'IO',
 
                                             'range' => 'PORT_WIDTH-1     :   0',
 
                                             'type' => 'output'
 
                                           },
 
                               'sa_ack_o' => {
 
                                               'type' => 'output',
                                             'intfc_name' => 'plug:wb_slave[0]',
                                             'intfc_name' => 'plug:wb_slave[0]',
 
                                               'intfc_port' => 'ack_o',
                                             'range' => ''
                                             'range' => ''
                                           },
                                           },
                             'sa_dat_i' => {
                               'sa_err_o' => {
                                             'intfc_port' => 'dat_i',
 
                                             'type' => 'input',
 
                                             'intfc_name' => 'plug:wb_slave[0]',
                                             'intfc_name' => 'plug:wb_slave[0]',
                                             'range' => 'Dw-1       :   0'
                                               'intfc_port' => 'err_o',
 
                                               'range' => '',
 
                                               'type' => 'output'
                                           },
                                           },
                             'port_o' => {
                               'sa_we_i' => {
                                           'intfc_port' => 'IO',
                                              'type' => 'input',
                                           'type' => 'output',
                                              'intfc_port' => 'we_i',
                                           'intfc_name' => 'IO',
                                              'range' => '',
                                           'range' => 'PORT_WIDTH-1     :   0'
                                              'intfc_name' => 'plug:wb_slave[0]'
                                         },
                                         },
                             'sa_addr_i' => {
                               'sa_stb_i' => {
                                              'intfc_port' => 'adr_i',
                                               'range' => '',
 
                                               'intfc_port' => 'stb_i',
                                              'intfc_name' => 'plug:wb_slave[0]',
                                              'intfc_name' => 'plug:wb_slave[0]',
                                              'range' => 'Aw-1       :   0',
 
                                              'type' => 'input'
                                              'type' => 'input'
                                            },
                                            },
                             'sa_we_i' => {
                               'clk' => {
                                            'intfc_name' => 'plug:wb_slave[0]',
                                          'intfc_name' => 'plug:clk[0]',
 
                                          'intfc_port' => 'clk_i',
                                            'range' => '',
                                            'range' => '',
 
                                          'type' => 'input'
 
                                        },
 
                               'sa_tag_i' => {
                                            'type' => 'input',
                                            'type' => 'input',
                                            'intfc_port' => 'we_i'
                                               'range' => 'TAGw-1     :   0',
 
                                               'intfc_port' => 'tag_i',
 
                                               'intfc_name' => 'plug:wb_slave[0]'
 
                                             },
 
                               'sa_rty_o' => {
 
                                               'intfc_name' => 'plug:wb_slave[0]',
 
                                               'intfc_port' => 'rty_o',
 
                                               'range' => '',
 
                                               'type' => 'output'
                                          },
                                          },
                             'sa_dat_o' => {
                             'sa_dat_o' => {
                                             'range' => 'Dw-1       :   0',
                                             'range' => 'Dw-1       :   0',
 
                                               'intfc_port' => 'dat_o',
                                             'intfc_name' => 'plug:wb_slave[0]',
                                             'intfc_name' => 'plug:wb_slave[0]',
                                             'type' => 'output',
                                               'type' => 'output'
                                             'intfc_port' => 'dat_o'
 
                                           },
                                           },
                             'sa_rty_o' => {
                               'sa_dat_i' => {
                                             'type' => 'output',
                                               'intfc_port' => 'dat_i',
 
                                               'range' => 'Dw-1       :   0',
                                             'intfc_name' => 'plug:wb_slave[0]',
                                             'intfc_name' => 'plug:wb_slave[0]',
                                             'range' => '',
                                               'type' => 'input'
                                             'intfc_port' => 'rty_o'
 
                                           },
                                           },
                             'sa_err_o' => {
                               'sa_addr_i' => {
                                             'type' => 'output',
 
                                             'range' => '',
 
                                             'intfc_name' => 'plug:wb_slave[0]',
                                             'intfc_name' => 'plug:wb_slave[0]',
                                             'intfc_port' => 'err_o'
                                                'intfc_port' => 'adr_i',
 
                                                'range' => 'Aw-1       :   0',
 
                                                'type' => 'input'
 
                                              },
 
                               'reset' => {
 
                                            'intfc_port' => 'reset_i',
 
                                            'range' => '',
 
                                            'intfc_name' => 'plug:reset[0]',
 
                                            'type' => 'input'
                                           }
                                           }
                           },
                           },
                'gui_status' => {
                'gui_status' => {
                                  'status' => 'ideal',
                                  'status' => 'ideal',
                                  'timeout' => 0
                                  'timeout' => 0
                                },
                                },
                'category' => 'GPIO',
 
                'ip_name' => 'gpo',
                'ip_name' => 'gpo',
                'system_h' => '#define  ${IP}_WRITE_REG                 (*((volatile unsigned int *) ($BASE+4)))
                  'parameters' => {
#define         ${IP}_WRITE(value)                     ${IP}_WRITE_REG=value
                                    'Dw' => {
 
                                              'content' => '',
',
                                              'type' => 'Fixed',
                'parameters_order' => [
                                              'default' => 'PORT_WIDTH',
                                        'PORT_WIDTH',
                                              'global_param' => 'Localparam',
                                        'Aw',
                                              'info' => undef,
                                        'TAGw',
                                              'redefine_param' => 1
                                        'SELw',
 
                                        'Dw'
 
                                      ],
 
                'plugs' => {
 
                             'reset' => {
 
                                          'reset' => {},
 
                                          'type' => 'num',
 
                                          '0' => {
 
                                                   'name' => 'reset'
 
                                                 },
 
                                          'value' => 1
 
                                        },
                                        },
                             'wb_slave' => {
                                    'PORT_WIDTH' => {
                                             'value' => 1,
                                                      'type' => 'Spin-button',
                                             'wb_slave' => {},
                                                      'content' => '1,32,1',
                                             '0' => {
                                                      'global_param' => 'Parameter',
                                                      'width' => 5,
                                                      'default' => '   1',
                                                      'name' => 'wb',
                                                      'redefine_param' => 1,
                                                      'addr' => '0x9100_0000    0x91ff_ffff             General-Purpose I/O'
                                                      'info' => 'output port width'
                                                    },
                                                    },
                                             'type' => 'num'
                                    'SELw' => {
 
                                                'type' => 'Fixed',
 
                                                'content' => '',
 
                                                'global_param' => 'Localparam',
 
                                                'default' => '    4',
 
                                                'info' => undef,
 
                                                'redefine_param' => 1
                                           },
                                           },
                             'clk' => {
                                    'Aw' => {
                                        'value' => 1,
                                              'redefine_param' => 1,
                                        'clk' => {},
                                              'info' => undef,
                                        '0' => {
                                              'content' => '',
                                                 'name' => 'clk'
                                              'type' => 'Fixed',
 
                                              'default' => '    2',
 
                                              'global_param' => 'Localparam'
                                               },
                                               },
                                        'type' => 'num'
                                    'TAGw' => {
 
                                                'content' => '',
 
                                                'type' => 'Fixed',
 
                                                'default' => '    3',
 
                                                'global_param' => 'Localparam',
 
                                                'redefine_param' => 1,
 
                                                'info' => undef
                                      }
                                      }
                           },
                           },
                'sockets' => {},
                  'description' => 'General purpose Wishbone bus-based output port'
                'file_name' => '/home/alireza/Mywork/mpsoc/src_peripheral/gpio/gpio.v',
 
                'module_name' => 'gpo'
 
              }, 'ip_gen' );
              }, 'ip_gen' );

powered by: WebSVN 2.1.0

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