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/] [gpio.IP] - Diff between revs 25 and 34

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

Rev 25 Rev 34
Line 1... Line 1...
#######################################################################
#######################################################################
##      File: gpio.IP
##      File: gpio.IP
##
##
##      Copyright (C) 2014-2016  Alireza Monemi
##      Copyright (C) 2014-2016  Alireza Monemi
##
##
##      This file is part of ProNoC 1.5.0
##      This file is part of ProNoC 1.6.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.
################################################################################
################################################################################
 
 
$gpio = bless( {
$gpio = bless( {
                 'hdl_files' => [
                 'file_name' => '/home/alireza/Mywork/mpsoc/src_peripheral/gpio/gpio.v',
                                  '/mpsoc/src_peripheral/gpio/gpio.v'
                 'module_name' => 'gpio',
                                ],
 
                 'system_h' => '#define ${IP}_DIR_REG   (*((volatile unsigned int *) ($BASE)))
 
#define ${IP}_WRITE _REG  (*((volatile unsigned int *) ($BASE+4)))
 
#define ${IP}_READ_REG   (*((volatile unsigned int *) ($BASE+8)))
 
 
 
 #define ${IP}_DIR_SET(value)   ${IP}_DIR_REG=value
 
#define ${IP}_WRITE(value)  ${IP}_WRITE _REG=value
 
#define ${IP}_READ()     ${IP}_READ_REG ',
 
                 'ip_name' => 'gpio',
 
                 'description' => 'General inout port',
 
                 'gui_status' => {
 
                                   'timeout' => 0,
 
                                   'status' => 'ideal'
 
                                 },
 
                 'parameters' => {
 
                                   'PORT_WIDTH' => {
 
                                                     'info' => undef,
 
                                                     'deafult' => '1',
 
                                                     'global_param' => 'Parameter',
 
                                                     'content' => '1,32,1',
 
                                                     'redefine_param' => 1,
 
                                                     'type' => 'Spin-button'
 
                                                   },
 
                                   'Aw' => {
 
                                             'info' => undef,
 
                                             'deafult' => '2',
 
                                             'global_param' => 'Localparam',
 
                                             'content' => '',
 
                                             'redefine_param' => 1,
 
                                             'type' => 'Fixed'
 
                                           },
 
                                   'SELw' => {
 
                                               'info' => undef,
 
                                               'deafult' => '4',
 
                                               'global_param' => 'Localparam',
 
                                               'content' => '',
 
                                               'redefine_param' => 1,
 
                                               'type' => 'Fixed'
 
                                             },
 
                                   'Dw' => {
 
                                             'info' => undef,
 
                                             'deafult' => 'PORT_WIDTH',
 
                                             'global_param' => 'Localparam',
 
                                             'content' => '',
 
                                             'type' => 'Fixed',
 
                                             'redefine_param' => 1
 
                                           }
 
                                 },
 
                 'plugs' => {
 
                              'reset' => {
 
                                           'reset' => {},
 
                                           '0' => {
 
                                                    'name' => 'reset'
 
                                                  },
 
                                           'value' => 1,
 
                                           'type' => 'num'
 
                                         },
 
                              'clk' => {
 
                                         'clk' => {},
 
                                         '0' => {
 
                                                  'name' => 'clk'
 
                                                },
 
                                         'value' => 1,
 
                                         'type' => 'num'
 
                                       },
 
                              'wb_slave' => {
 
                                              'value' => 1,
 
                                              '0' => {
 
                                                       'width' => 5,
 
                                                       'name' => 'wb',
 
                                                       'addr' => '0x9100_0000   0x91ff_ffff             General-Purpose I/O'
 
                                                     },
 
                                              'type' => 'num',
 
                                              'wb_slave' => {}
 
                                            }
 
                            },
 
                 'modules' => {
                 'modules' => {
 
                                'gpo' => {},
                                'gpi' => {},
                                'gpi' => {},
                                'gpio' => {},
                                'gpio' => {}
                                'gpo' => {}
 
                              },
 
                 'parameters_order' => [
 
                                         'PORT_WIDTH',
 
                                         'Dw',
 
                                         'Aw',
 
                                         'SELw',
 
                                         'Dw'
 
                                       ],
 
                 'ports' => {
 
                              'sa_rty_o' => {
 
                                              'intfc_port' => 'rty_o',
 
                                              'intfc_name' => 'plug:wb_slave[0]',
 
                                              'range' => '',
 
                                              'type' => 'output'
 
                                            },
                                            },
                              'port_io' => {
                 'gui_status' => {
                                             'intfc_port' => 'IO',
                                   'status' => 'ideal',
                                             'intfc_name' => 'IO',
                                   'timeout' => 0
                                             'range' => 'PORT_WIDTH-1     :   0',
 
                                             'type' => 'inout'
 
                                           },
                                           },
 
                 'sockets' => {},
 
                 'category' => 'GPIO',
 
                 'ports' => {
                              'sa_dat_o' => {
                              'sa_dat_o' => {
                                              'intfc_name' => 'plug:wb_slave[0]',
 
                                              'intfc_port' => 'dat_o',
 
                                              'range' => 'Dw-1       :   0',
                                              'range' => 'Dw-1       :   0',
                                              'type' => 'output'
                                              'type' => 'output',
                                            },
                                              'intfc_port' => 'dat_o',
                              'sa_sel_i' => {
                                              'intfc_name' => 'plug:wb_slave[0]'
                                              'intfc_port' => 'sel_i',
 
                                              'intfc_name' => 'plug:wb_slave[0]',
 
                                              'range' => 'SELw-1     :   0',
 
                                              'type' => 'input'
 
                                            },
                                            },
                              'sa_dat_i' => {
                              'sa_dat_i' => {
                                              'intfc_name' => 'plug:wb_slave[0]',
                                              'intfc_name' => 'plug:wb_slave[0]',
                                              'intfc_port' => 'dat_i',
 
                                              'range' => 'Dw-1       :   0',
                                              'range' => 'Dw-1       :   0',
                                              'type' => 'input'
                                              'type' => 'input',
 
                                              'intfc_port' => 'dat_i'
                                            },
                                            },
                              'sa_we_i' => {
                              'sa_ack_o' => {
                                             'intfc_port' => 'we_i',
 
                                             'intfc_name' => 'plug:wb_slave[0]',
                                             'intfc_name' => 'plug:wb_slave[0]',
                                             'range' => '',
                                             'range' => '',
                                             'type' => 'input'
                                              'type' => 'output',
 
                                              'intfc_port' => 'ack_o'
                                           },
                                           },
                              'sa_err_o' => {
                              'sa_sel_i' => {
                                              'intfc_port' => 'err_o',
 
                                              'intfc_name' => 'plug:wb_slave[0]',
                                              'intfc_name' => 'plug:wb_slave[0]',
                                              'range' => '',
                                              'type' => 'input',
                                              'type' => 'output'
                                              'range' => 'SELw-1     :   0',
 
                                              'intfc_port' => 'sel_i'
                                            },
                                            },
                              'clk' => {
                              'clk' => {
                                         'intfc_port' => 'clk_i',
 
                                         'intfc_name' => 'plug:clk[0]',
                                         'intfc_name' => 'plug:clk[0]',
 
                                         'intfc_port' => 'clk_i',
                                         'range' => '',
                                         'range' => '',
                                         'type' => 'input'
                                         'type' => 'input'
                                       },
                                       },
 
                              'sa_rty_o' => {
 
                                              'intfc_name' => 'plug:wb_slave[0]',
 
                                              'intfc_port' => 'rty_o',
 
                                              'type' => 'output',
 
                                              'range' => ''
 
                                            },
                              'reset' => {
                              'reset' => {
                                           'intfc_port' => 'reset_i',
 
                                           'intfc_name' => 'plug:reset[0]',
                                           'intfc_name' => 'plug:reset[0]',
                                           'range' => '',
                                           'range' => '',
                                           'type' => 'input'
                                           'type' => 'input',
 
                                           'intfc_port' => 'reset_i'
                                         },
                                         },
                              'sa_ack_o' => {
                              'sa_stb_i' => {
                                              'intfc_port' => 'ack_o',
                                              'intfc_port' => 'stb_i',
                                              'intfc_name' => 'plug:wb_slave[0]',
                                              'type' => 'input',
                                              'range' => '',
                                              'range' => '',
                                              'type' => 'output'
                                              'intfc_name' => 'plug:wb_slave[0]'
 
                                            },
 
                              'port_io' => {
 
                                             'intfc_port' => 'IO',
 
                                             'type' => 'inout',
 
                                             'range' => 'PORT_WIDTH-1     :   0',
 
                                             'intfc_name' => 'IO'
                                            },
                                            },
                              'sa_addr_i' => {
                              'sa_addr_i' => {
                                               'intfc_name' => 'plug:wb_slave[0]',
 
                                               'intfc_port' => 'adr_i',
                                               'intfc_port' => 'adr_i',
 
                                               'type' => 'input',
                                               'range' => 'Aw-1       :   0',
                                               'range' => 'Aw-1       :   0',
                                               'type' => 'input'
                                               'intfc_name' => 'plug:wb_slave[0]'
                                             },
                                             },
                              'sa_stb_i' => {
                              'sa_err_o' => {
                                              'intfc_name' => 'plug:wb_slave[0]',
                                              'type' => 'output',
                                              'intfc_port' => 'stb_i',
 
                                              'range' => '',
                                              'range' => '',
                                              'type' => 'input'
                                              'intfc_port' => 'err_o',
 
                                              'intfc_name' => 'plug:wb_slave[0]'
 
                                            },
 
                              'sa_we_i' => {
 
                                             'intfc_port' => 'we_i',
 
                                             'type' => 'input',
 
                                             'range' => '',
 
                                             'intfc_name' => 'plug:wb_slave[0]'
                                            }
                                            }
                            },
                            },
                 'file_name' => '/home/alireza/Mywork/mpsoc/src_peripheral/gpio/gpio.v',
                 'plugs' => {
                 'sockets' => {},
                              'reset' => {
                 'module_name' => 'gpio',
                                           'type' => 'num',
                 'category' => 'GPIO',
                                           'value' => 1,
 
                                           'reset' => {},
 
                                           '0' => {
 
                                                    'name' => 'reset'
 
                                                  }
 
                                         },
 
                              'wb_slave' => {
 
                                              'value' => 1,
 
                                              'type' => 'num',
 
                                              '0' => {
 
                                                       'width' => 5,
 
                                                       'name' => 'wb',
 
                                                       'addr' => '0x9100_0000   0x91ff_ffff             General-Purpose I/O'
 
                                                     },
 
                                              'wb_slave' => {}
 
                                            },
 
                              'clk' => {
 
                                         'type' => 'num',
 
                                         'clk' => {},
 
                                         'value' => 1,
 
                                         '0' => {
 
                                                  'name' => 'clk'
 
                                                }
 
                                       }
 
                            },
 
                 'description' => 'General inout port',
 
                 'parameters' => {
 
                                   'Dw' => {
 
                                             'global_param' => 'Localparam',
 
                                             'info' => undef,
 
                                             'content' => '',
 
                                             'deafult' => 'PORT_WIDTH',
 
                                             'type' => 'Fixed',
 
                                             'redefine_param' => 1
 
                                           },
 
                                   'SELw' => {
 
                                               'global_param' => 'Localparam',
 
                                               'info' => undef,
 
                                               'deafult' => '4',
 
                                               'content' => '',
 
                                               'redefine_param' => 1,
 
                                               'type' => 'Fixed'
 
                                             },
 
                                   'PORT_WIDTH' => {
 
                                                     'info' => undef,
 
                                                     'global_param' => 'Parameter',
 
                                                     'redefine_param' => 1,
 
                                                     'type' => 'Spin-button',
 
                                                     'content' => '1,32,1',
 
                                                     'deafult' => '1'
 
                                                   },
 
                                   'Aw' => {
 
                                             'deafult' => '2',
 
                                             'content' => '',
 
                                             'type' => 'Fixed',
 
                                             'redefine_param' => 1,
 
                                             'info' => undef,
 
                                             'global_param' => 'Localparam'
 
                                           }
 
                                 },
 
                 'system_h' => '#define ${IP}_DIR_REG   (*((volatile unsigned int *) ($BASE)))
 
#define ${IP}_WRITE_REG  (*((volatile unsigned int *) ($BASE+4)))
 
#define ${IP}_READ_REG   (*((volatile unsigned int *) ($BASE+8)))
 
 
 
 #define ${IP}_DIR_SET(value)   ${IP}_DIR_REG=value
 
#define ${IP}_WRITE(value)  ${IP}_WRITE _REG=value
 
#define ${IP}_READ()     ${IP}_READ_REG ',
 
                 'hdl_files' => [
 
                                  '/mpsoc/src_peripheral/gpio/gpio.v'
 
                                ],
 
                 'ip_name' => 'gpio',
                 'unused' => {
                 'unused' => {
                               'plug:wb_slave[0]' => [
                               'plug:wb_slave[0]' => [
                                                       'cyc_i',
 
                                                       'tag_i',
                                                       'tag_i',
                                                       'cti_i',
                                                       'cyc_i',
                                                       'bte_i'
                                                       'bte_i',
 
                                                       'cti_i'
 
                                                     ]
 
                             },
 
                 'parameters_order' => [
 
                                         'PORT_WIDTH',
 
                                         'Dw',
 
                                         'Aw',
 
                                         'SELw',
 
                                         'Dw'
                                                     ]
                                                     ]
                             }
 
               }, 'ip_gen' );
               }, 'ip_gen' );

powered by: WebSVN 2.1.0

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