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/] [Interrupt/] [ext_int.IP] - Diff between revs 25 and 38

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

Rev 25 Rev 38
Line 1... Line 1...
#######################################################################
#######################################################################
##      File: ext_int.IP
##      File: ext_int.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.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.
################################################################################
################################################################################
 
 
$ext_int = bless( {
$ipgen = bless( {
                    'hdl_files' => [
                  'sockets' => {},
                                     '/mpsoc/src_peripheral/ext_int/ext_int.v'
                  'version' => 1,
                                   ],
 
                    'system_h' => '
 
        #define ${IP}_GER                       (*((volatile unsigned int *) ($BASE     )))
 
        #define ${IP}_IER_RISE          (*((volatile unsigned int *) ($BASE+4   )))
 
        #define ${IP}_IER_FALL          (*((volatile unsigned int *) ($BASE+8   )))
 
        #define ${IP}_ISR                       (*((volatile unsigned int *) ($BASE+12  )))
 
        #define ${IP}_RD                        (*((volatile unsigned int *) ($BASE+16  )))',
 
                    'ip_name' => 'ext_int',
 
                    'gui_status' => {
                    'gui_status' => {
                                      'status' => 'ideal',
                                    'timeout' => 0,
                                      'timeout' => 0
                                    'status' => 'ideal'
 
                                  },
 
                  'file_name' => '/home/alireza/Mywork/mpsoc/src_peripheral/ext_int/ext_int.v',
 
                  'parameters' => {
 
                                    'TAGw' => {
 
                                                'type' => 'Fixed',
 
                                                'info' => undef,
 
                                                'global_param' => 0,
 
                                                'content' => '',
 
                                                'default' => '3'
 
                                              },
 
                                    'SELw' => {
 
                                                'default' => '4',
 
                                                'content' => '',
 
                                                'global_param' => 0,
 
                                                'info' => undef,
 
                                                'type' => 'Fixed'
 
                                              },
 
                                    'Dw' => {
 
                                              'info' => undef,
 
                                              'type' => 'Fixed',
 
                                              'default' => '32',
 
                                              'content' => '',
 
                                              'global_param' => 0
 
                                            },
 
                                    'EXT_INT_NUM' => {
 
                                                       'type' => 'Spin-button',
 
                                                       'info' => 'number of external interrupt pins.',
 
                                                       'global_param' => 0,
 
                                                       'content' => '1,32,1',
 
                                                       'default' => '3'
 
                                                     },
 
                                    'Aw' => {
 
                                              'default' => '3',
 
                                              'global_param' => 0,
 
                                              'content' => '',
 
                                              'info' => undef,
 
                                              'type' => 'Fixed'
 
                                            }
                                    },
                                    },
                    'plugs' => {
                    'plugs' => {
                                 'interrupt_peripheral' => {
                               'reset' => {
                                                             'interrupt_peripheral' => {},
 
                                                             'value' => 1,
                                                             'value' => 1,
 
                                            'reset' => {},
                                                             '0' => {
                                                             '0' => {
                                                                      'name' => 'interrupt'
                                                     'name' => 'reset'
                                                                    },
                                                                    },
                                                             'type' => 'num'
                                                             'type' => 'num'
                                                           },
                                                           },
                                 'reset' => {
                               'wb_slave' => {
                                              'reset' => {},
                                               'wb_slave' => {},
                                              'value' => 1,
                                              'value' => 1,
                                              '0' => {
                                              '0' => {
                                                       'name' => 'reset'
                                                        'name' => 'wb',
 
                                                        'addr' => '0x9e00_0000  0x9eff_ffff             IDE Controller',
 
                                                        'width' => 5
                                                     },
                                                     },
                                              'type' => 'num'
                                              'type' => 'num'
                                            },
                                            },
                                 'clk' => {
                               'interrupt_peripheral' => {
                                            'clk' => {},
 
                                            'value' => 1,
                                            'value' => 1,
 
                                                           'interrupt_peripheral' => {},
                                            '0' => {
                                            '0' => {
                                                     'name' => 'clk'
                                                                    'name' => 'interrupt'
                                                   },
                                                   },
                                            'type' => 'num'
                                            'type' => 'num'
                                          },
                                          },
                                 'wb_slave' => {
                               'clk' => {
                                                 'value' => 1,
                                                 'value' => 1,
                                                 '0' => {
                                                 '0' => {
                                                          'width' => 5,
                                                   'name' => 'clk'
                                                          'name' => 'wb',
 
                                                          'addr' => '0x9e00_0000        0x9eff_ffff             IDE Controller'
 
                                                        },
                                                        },
                                                 'type' => 'num',
                                                 'type' => 'num',
                                                 'wb_slave' => {}
                                          'clk' => {}
                                               }
 
                               },
 
                    'modules' => {
 
                                   'ext_int' => {}
 
                                 },
 
                    'parameters' => {
 
                                      'Aw' => {
 
                                                'info' => undef,
 
                                                'deafult' => '3',
 
                                                'global_param' => 0,
 
                                                'content' => '',
 
                                                'type' => 'Fixed'
 
                                              },
 
                                      'SELw' => {
 
                                                  'info' => undef,
 
                                                  'deafult' => '4',
 
                                                  'global_param' => 0,
 
                                                  'content' => '',
 
                                                  'type' => 'Fixed'
 
                                                },
 
                                      'TAGw' => {
 
                                                  'info' => undef,
 
                                                  'deafult' => '3',
 
                                                  'global_param' => 0,
 
                                                  'content' => '',
 
                                                  'type' => 'Fixed'
 
                                                },
 
                                      'Dw' => {
 
                                                'info' => undef,
 
                                                'deafult' => '32',
 
                                                'global_param' => 0,
 
                                                'content' => '',
 
                                                'type' => 'Fixed'
 
                                              },
 
                                      'EXT_INT_NUM' => {
 
                                                         'info' => 'number of external interrupt pins.',
 
                                                         'deafult' => '3',
 
                                                         'global_param' => 0,
 
                                                         'content' => '1,32,1',
 
                                                         'type' => 'Spin-button'
 
                                                       }
                                                       }
                                    },
                                    },
                    'parameters_order' => [
 
                                            'Dw',
 
                                            'Aw',
 
                                            'TAGw',
 
                                            'SELw',
 
                                            'EXT_INT_NUM'
 
                                          ],
 
                    'ports' => {
                    'ports' => {
                                 'sa_tag_i' => {
                               'ext_int_i' => {
                                                 'intfc_port' => 'tag_i',
                                                'intfc_port' => 'IO',
                                                 'intfc_name' => 'plug:wb_slave[0]',
                                                'type' => 'input',
                                                 'range' => 'TAGw-1     :   0',
                                                'intfc_name' => 'IO',
                                                 'type' => 'input'
                                                'range' => 'EXT_INT_NUM-1      :   0'
                                               },
                                               },
                                 'sa_rty_o' => {
                               'sa_stb_i' => {
                                                 'intfc_port' => 'rty_o',
                                               'type' => 'input',
                                                 'intfc_name' => 'plug:wb_slave[0]',
                                               'intfc_port' => 'stb_i',
                                                 'range' => '',
                                                 'range' => '',
                                                 'type' => 'output'
                                               'intfc_name' => 'plug:wb_slave[0]'
                                               },
                                               },
                                 'sa_dat_o' => {
                               'sa_rty_o' => {
                                                 'intfc_port' => 'dat_o',
                                               'intfc_port' => 'rty_o',
                                                 'intfc_name' => 'plug:wb_slave[0]',
                                               'type' => 'output',
                                                 'range' => 'Dw-1       :   0',
 
                                                 'type' => 'output'
 
                                               },
 
                                 'sa_sel_i' => {
 
                                                 'intfc_name' => 'plug:wb_slave[0]',
                                                 'intfc_name' => 'plug:wb_slave[0]',
                                                 'intfc_port' => 'sel_i',
                                               'range' => ''
                                                 'range' => 'SELw-1     :   0',
 
                                                 'type' => 'input'
 
                                               },
                                               },
                                 'sa_dat_i' => {
                               'sa_addr_i' => {
 
                                                'intfc_port' => 'adr_i',
 
                                                'type' => 'input',
                                                 'intfc_name' => 'plug:wb_slave[0]',
                                                 'intfc_name' => 'plug:wb_slave[0]',
                                                 'intfc_port' => 'dat_i',
                                                'range' => 'Aw-1       :   0'
                                                 'range' => 'Dw-1       :   0',
 
                                                 'type' => 'input'
 
                                               },
                                               },
                                 'ext_int_o' => {
                                 'ext_int_o' => {
                                                  'intfc_name' => 'plug:interrupt_peripheral[0]',
 
                                                  'intfc_port' => 'int_o',
 
                                                  'range' => '',
                                                  'range' => '',
                                                  'type' => 'output'
                                                'intfc_name' => 'plug:interrupt_peripheral[0]',
 
                                                'type' => 'output',
 
                                                'intfc_port' => 'int_o'
                                                },
                                                },
                                 'sa_we_i' => {
                               'sa_ack_o' => {
                                                'intfc_port' => 'we_i',
                                               'type' => 'output',
                                                'intfc_name' => 'plug:wb_slave[0]',
                                               'intfc_port' => 'ack_o',
                                                'range' => '',
                                                'range' => '',
                                                'type' => 'input'
                                               'intfc_name' => 'plug:wb_slave[0]'
                                              },
                                              },
                                 'sa_cyc_i' => {
                               'sa_we_i' => {
                                                 'intfc_port' => 'cyc_i',
 
                                                 'intfc_name' => 'plug:wb_slave[0]',
                                                 'intfc_name' => 'plug:wb_slave[0]',
                                                 'range' => '',
                                                 'range' => '',
 
                                              'intfc_port' => 'we_i',
                                                 'type' => 'input'
                                                 'type' => 'input'
                                               },
                                               },
                                 'sa_err_o' => {
                                 'sa_err_o' => {
                                                 'intfc_port' => 'err_o',
 
                                                 'intfc_name' => 'plug:wb_slave[0]',
                                                 'intfc_name' => 'plug:wb_slave[0]',
                                                 'range' => '',
                                                 'range' => '',
 
                                               'intfc_port' => 'err_o',
                                                 'type' => 'output'
                                                 'type' => 'output'
                                               },
                                               },
                                 'sa_ack_o' => {
                               'sa_dat_o' => {
 
                                               'range' => 'Dw-1       :   0',
                                                 'intfc_name' => 'plug:wb_slave[0]',
                                                 'intfc_name' => 'plug:wb_slave[0]',
                                                 'intfc_port' => 'ack_o',
                                               'type' => 'output',
                                                 'range' => '',
                                               'intfc_port' => 'dat_o'
                                                 'type' => 'output'
 
                                               },
                                               },
                                 'ext_int_i' => {
                               'sa_dat_i' => {
                                                  'intfc_name' => 'IO',
                                               'type' => 'input',
                                                  'intfc_port' => 'IO',
                                               'intfc_port' => 'dat_i',
                                                  'range' => 'EXT_INT_NUM-1      :   0',
                                               'range' => 'Dw-1       :   0',
                                                  'type' => 'input'
                                               'intfc_name' => 'plug:wb_slave[0]'
 
                                             },
 
                               'sa_cyc_i' => {
 
                                               'type' => 'input',
 
                                               'intfc_port' => 'cyc_i',
 
                                               'range' => '',
 
                                               'intfc_name' => 'plug:wb_slave[0]'
                                                },
                                                },
                                 'clk' => {
                                 'clk' => {
                                            'intfc_name' => 'plug:clk[0]',
 
                                            'intfc_port' => 'clk_i',
                                            'intfc_port' => 'clk_i',
                                            'range' => '',
                                          'type' => 'input',
                                            'type' => 'input'
                                          'intfc_name' => 'plug:clk[0]',
 
                                          'range' => ''
 
                                        },
 
                               'sa_sel_i' => {
 
                                               'range' => 'SELw-1     :   0',
 
                                               'intfc_name' => 'plug:wb_slave[0]',
 
                                               'type' => 'input',
 
                                               'intfc_port' => 'sel_i'
                                          },
                                          },
                                 'reset' => {
                                 'reset' => {
                                              'intfc_port' => 'reset_i',
 
                                              'intfc_name' => 'plug:reset[0]',
                                              'intfc_name' => 'plug:reset[0]',
                                              'range' => '',
                                              'range' => '',
 
                                            'intfc_port' => 'reset_i',
                                              'type' => 'input'
                                              'type' => 'input'
                                            },
                                            },
                                 'sa_addr_i' => {
                               'sa_tag_i' => {
                                                  'intfc_name' => 'plug:wb_slave[0]',
                                               'type' => 'input',
                                                  'intfc_port' => 'adr_i',
                                               'intfc_port' => 'tag_i',
                                                  'range' => 'Aw-1       :   0',
                                               'range' => 'TAGw-1     :   0',
                                                  'type' => 'input'
                                               'intfc_name' => 'plug:wb_slave[0]'
                                                },
 
                                 'sa_stb_i' => {
 
                                                 'intfc_name' => 'plug:wb_slave[0]',
 
                                                 'intfc_port' => 'stb_i',
 
                                                 'range' => '',
 
                                                 'type' => 'input'
 
                                               }
                                               }
                               },
                               },
                    'sockets' => {},
 
                    'file_name' => '/home/alireza/Mywork/mpsoc/src_peripheral/ext_int/ext_int.v',
 
                    'module_name' => 'ext_int',
 
                    'unused' => {
                    'unused' => {
                                  'plug:wb_slave[0]' => [
                                  'plug:wb_slave[0]' => [
                                                          'cti_i',
                                                          'cti_i',
                                                          'bte_i'
                                                          'bte_i'
                                                        ]
                                                        ]
                                },
                                },
                    'category' => 'Interrupt'
                  'parameters_order' => [
 
                                          'Dw',
 
                                          'Aw',
 
                                          'TAGw',
 
                                          'SELw',
 
                                          'EXT_INT_NUM'
 
                                        ],
 
                  'description' => 'external interrupt',
 
                  'module_name' => 'ext_int',
 
                  'system_h' => '
 
        #define ${IP}_GER                       (*((volatile unsigned int *) ($BASE     )))
 
        #define ${IP}_IER_RISE          (*((volatile unsigned int *) ($BASE+4   )))
 
        #define ${IP}_IER_FALL          (*((volatile unsigned int *) ($BASE+8   )))
 
        #define ${IP}_ISR                       (*((volatile unsigned int *) ($BASE+12  )))
 
        #define ${IP}_RD                        (*((volatile unsigned int *) ($BASE+16  )))',
 
                  'ip_name' => 'ext_int',
 
                  'hdl_files' => [
 
                                   '/mpsoc/src_peripheral/ext_int/ext_int.v'
 
                                 ],
 
                  'category' => 'Interrupt',
 
                  'modules' => {
 
                                 'ext_int' => {}
 
                               }
                  }, 'ip_gen' );
                  }, 'ip_gen' );

powered by: WebSVN 2.1.0

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