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 25 and 34

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

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

powered by: WebSVN 2.1.0

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