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/] [int_ctrl.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: int_ctrl.IP
##      File: int_ctrl.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.7.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.
################################################################################
################################################################################
 
 
$int_ctrl = bless( {
$ipgen = bless( {
                     'hdl_files' => [
                  'file_name' => '/home/alireza/Mywork/mpsoc/src_peripheral/int_ctrl/int_ctrl.v',
                                      '/mpsoc/src_peripheral/int_ctrl/int_ctrl.v'
                  'sockets' => {
                                    ],
                                 'interrupt_peripheral' => {
                     'system_h' => '
                                                             'connection_num' => 'single connection',
        #define ${IP}_MER                      (*((volatile unsigned int *) ($BASE      )))
                                                             'value' => 'INT_NUM',
        #define ${IP}_IER                       (*((volatile unsigned int *) ($BASE+4   )))
 
        #define         ${IP}_IAR                       (*((volatile unsigned int *) ($BASE+8   )))
 
        #define         ${IP}_IPR                       (*((volatile unsigned int *) ($BASE+12  )))',
 
                     'ip_name' => 'int_ctrl',
 
                     'description' => 'interrupt controller',
 
                     'gui_status' => {
 
                                       'timeout' => 0,
 
                                       'status' => 'ideal'
 
                                     },
 
                     'modules' => {
 
                                    'int_ctrl' => {}
 
                                  },
 
                     'plugs' => {
 
                                  'reset' => {
 
                                               'reset' => {},
 
                                               'value' => 1,
 
                                               '0' => {
 
                                                        'name' => 'reset'
 
                                                      },
 
                                               'type' => 'num'
 
                                             },
 
                                  'clk' => {
 
                                             'clk' => {},
 
                                             'value' => 1,
 
                                             '0' => {
 
                                                      'name' => 'clk'
 
                                                    },
 
                                             'type' => 'num'
 
                                           },
 
                                  'wb_slave' => {
 
                                                  '0' => {
                                                  '0' => {
                                                           'width' => 5,
                                                                      'name' => 'int_periph'
                                                           'name' => 'wb',
 
                                                           'addr' => '0x9e00_0000       0x9eff_ffff             IDE Controller'
 
                                                         },
                                                         },
                                                  'value' => 1,
                                                             'interrupt_peripheral' => {},
                                                  'type' => 'num',
                                                             'type' => 'param'
                                                  'wb_slave' => {}
 
                                                }
                                                }
                                },
                                },
                     'parameters' => {
                  'parameters_order' => [
                                       'Aw' => {
                                          'INT_NUM',
                                                 'info' => undef,
                                          'Dw',
                                                 'deafult' => ' 3',
                                          'Aw',
                                                 'global_param' => 0,
                                          'SELw'
                                                 'content' => '',
                                        ],
                                                 'type' => 'Fixed'
                  'ip_name' => 'int_ctrl',
                                               },
                  'unused' => {
                                       'SELw' => {
                                'plug:wb_slave[0]' => [
                                                   'info' => undef,
                                                        'tag_i',
                                                   'deafult' => ' 4    ',
                                                        'cyc_i',
                                                   'global_param' => 0,
                                                        'bte_i',
                                                   'content' => '',
                                                        'cti_i'
                                                   'type' => 'Fixed'
                                                      ]
                                                 },
 
                                       'Dw' => {
 
                                                 'info' => undef,
 
                                                 'deafult' => '    32',
 
                                                 'global_param' => 0,
 
                                                 'content' => '',
 
                                                 'type' => 'Fixed'
 
                                               },
 
                                       'INT_NUM' => {
 
                                                      'info' => 'number of  inerrupt.',
 
                                                      'deafult' => ' 3',
 
                                                      'global_param' => 0,
 
                                                      'content' => '1,32,1',
 
                                                      'type' => 'Spin-button'
 
                                                    }
 
                                     },
                                     },
                     'ports' => {
                     'ports' => {
                                  'sa_dat_o' => {
                                  'sa_dat_o' => {
 
                                               'type' => 'output',
                                                  'intfc_name' => 'plug:wb_slave[0]',
                                                  'intfc_name' => 'plug:wb_slave[0]',
                                                  'intfc_port' => 'dat_o',
                                                  'intfc_port' => 'dat_o',
                                                  'range' => 'Dw-1       :   0',
                                               'range' => 'Dw-1       :   0'
                                                  'type' => 'output'
 
                                                },
                                                },
                                  'sa_rty_o' => {
                               'sa_err_o' => {
 
                                               'type' => 'output',
                                                  'intfc_name' => 'plug:wb_slave[0]',
                                                  'intfc_name' => 'plug:wb_slave[0]',
                                                  'intfc_port' => 'rty_o',
                                               'intfc_port' => 'err_o',
 
                                               'range' => ''
 
                                             },
 
                               'clk' => {
 
                                          'range' => '',
 
                                          'intfc_port' => 'clk_i',
 
                                          'intfc_name' => 'plug:clk[0]',
 
                                          'type' => 'input'
 
                                        },
 
                               'int_o' => {
 
                                            'intfc_name' => 'plug:interrupt_cpu[0]',
 
                                            'intfc_port' => 'int_o',
                                                  'range' => '',
                                                  'range' => '',
                                                  'type' => 'output'
                                                  'type' => 'output'
                                                },
                                                },
                                  'sa_sel_i' => {
                               'sa_stb_i' => {
 
                                               'type' => 'input',
                                                  'intfc_name' => 'plug:wb_slave[0]',
                                                  'intfc_name' => 'plug:wb_slave[0]',
 
                                               'range' => '',
 
                                               'intfc_port' => 'stb_i'
 
                                             },
 
                               'sa_rty_o' => {
 
                                               'type' => 'output',
 
                                               'range' => '',
 
                                               'intfc_port' => 'rty_o',
 
                                               'intfc_name' => 'plug:wb_slave[0]'
 
                                             },
 
                               'sa_sel_i' => {
 
                                               'type' => 'input',
                                                  'intfc_port' => 'sel_i',
                                                  'intfc_port' => 'sel_i',
                                                  'range' => 'SELw-1     :   0',
                                                  'range' => 'SELw-1     :   0',
                                                  'type' => 'input'
                                               'intfc_name' => 'plug:wb_slave[0]'
                                                },
                                                },
                                  'sa_dat_i' => {
                               'sa_ack_o' => {
                                                  'intfc_name' => 'plug:wb_slave[0]',
                                               'type' => 'output',
                                                  'intfc_port' => 'dat_i',
                                               'range' => '',
                                                  'range' => 'Dw-1       :   0',
                                               'intfc_port' => 'ack_o',
                                                  'type' => 'input'
                                               'intfc_name' => 'plug:wb_slave[0]'
                                                },
                                                },
                                  'sa_we_i' => {
                                  'sa_we_i' => {
                                                 'intfc_name' => 'plug:wb_slave[0]',
                                                 'intfc_name' => 'plug:wb_slave[0]',
                                                 'intfc_port' => 'we_i',
                                                 'intfc_port' => 'we_i',
                                                 'range' => '',
                                                 'range' => '',
                                                 'type' => 'input'
                                                 'type' => 'input'
                                               },
                                               },
                                  'sa_err_o' => {
 
                                                  'intfc_name' => 'plug:wb_slave[0]',
 
                                                  'intfc_port' => 'err_o',
 
                                                  'range' => '',
 
                                                  'type' => 'output'
 
                                                },
 
                                  'reset' => {
                                  'reset' => {
                                               'intfc_name' => 'plug:reset[0]',
 
                                               'intfc_port' => 'reset_i',
                                               'intfc_port' => 'reset_i',
                                               'range' => '',
                                               'range' => '',
 
                                            'intfc_name' => 'plug:reset[0]',
                                               'type' => 'input'
                                               'type' => 'input'
                                             },
                                             },
                                  'sa_ack_o' => {
                               'sa_dat_i' => {
 
                                               'intfc_port' => 'dat_i',
 
                                               'range' => 'Dw-1       :   0',
                                                  'intfc_name' => 'plug:wb_slave[0]',
                                                  'intfc_name' => 'plug:wb_slave[0]',
                                                  'intfc_port' => 'ack_o',
 
                                                  'range' => '',
 
                                                  'type' => 'output'
 
                                                },
 
                                  'int_o' => {
 
                                               'intfc_name' => 'socket:interrupt_cpu[0]',
 
                                               'intfc_port' => 'int_o',
 
                                               'range' => '',
 
                                               'type' => 'output'
 
                                             },
 
                                  'clk' => {
 
                                             'intfc_name' => 'plug:clk[0]',
 
                                             'intfc_port' => 'clk_i',
 
                                             'range' => '',
 
                                             'type' => 'input'
 
                                           },
 
                                  'int_i' => {
 
                                               'intfc_name' => 'socket:interrupt_peripheral[array]',
 
                                               'intfc_port' => 'int_i',
 
                                               'range' => 'INT_NUM-1  :   0',
 
                                               'type' => 'input'
                                               'type' => 'input'
                                             },
                                             },
                                  'sa_addr_i' => {
                                  'sa_addr_i' => {
 
                                                'type' => 'input',
                                                   'intfc_name' => 'plug:wb_slave[0]',
                                                   'intfc_name' => 'plug:wb_slave[0]',
                                                   'intfc_port' => 'adr_i',
 
                                                   'range' => 'Aw-1       :   0',
                                                   'range' => 'Aw-1       :   0',
                                                   'type' => 'input'
                                                'intfc_port' => 'adr_i'
                                                 },
                                                 },
                                  'sa_stb_i' => {
                               'int_i' => {
                                                  'intfc_name' => 'plug:wb_slave[0]',
                                            'intfc_port' => 'int_i',
                                                  'intfc_port' => 'stb_i',
                                            'range' => 'INT_NUM-1  :   0',
                                                  'range' => '',
                                            'intfc_name' => 'socket:interrupt_peripheral[array]',
                                                  'type' => 'input'
                                                  'type' => 'input'
                                                }
                                                }
                                },
                                },
                     'parameters_order' => [
                  'version' => 1,
                                             'INT_NUM',
                  'plugs' => {
                                             'Dw',
                               'wb_slave' => {
                                             'Aw',
                                               '0' => {
                                             'SELw'
                                                        'width' => 5,
                                           ],
                                                        'addr' => '0x9e00_0000  0x9eff_ffff             IDE Controller',
                     'sockets' => {
                                                        'name' => 'wb'
                                    'interrupt_cpu' => {
                                                      },
                                                         'interrupt_cpu' => {},
                                               'type' => 'num',
                                                         'connection_num' => 'single connection',
 
                                                         'value' => 1,
                                                         'value' => 1,
 
                                               'wb_slave' => {}
 
                                             },
 
                               'reset' => {
 
                                            'type' => 'num',
                                                         '0' => {
                                                         '0' => {
                                                                  'name' => 'int_cpu'
                                                     'name' => 'reset'
                                                                },
                                                                },
                                                         'type' => 'num'
                                            'value' => 1,
 
                                            'reset' => {}
                                                       },
                                                       },
                                    'interrupt_peripheral' => {
                               'clk' => {
                                                                'connection_num' => 'single connection',
                                          'clk' => {},
                                                                'interrupt_peripheral' => {},
                                          'value' => 1,
 
                                          'type' => 'num',
                                                                '0' => {
                                                                '0' => {
                                                                         'name' => 'int_periph'
                                                   'name' => 'clk'
 
                                                 }
                                                                       },
                                                                       },
                                                                'value' => 'INT_NUM',
                               'interrupt_cpu' => {
                                                                'type' => 'param'
                                                    'value' => 1,
 
                                                    'type' => 'num',
 
                                                    '0' => {
 
                                                             'name' => 'interrupt_cpu'
 
                                                           }
                                                              }
                                                              }
                                  },
                                  },
                     'file_name' => '/home/alireza/Mywork/mpsoc/src_peripheral/int_ctrl/int_ctrl.v',
                  'gui_status' => {
 
                                    'timeout' => 0,
 
                                    'status' => 'ideal'
 
                                  },
 
                  'modules' => {
 
                                 'int_ctrl' => {}
 
                               },
 
                  'category' => 'Interrupt',
                     'module_name' => 'int_ctrl',
                     'module_name' => 'int_ctrl',
                     'unused' => {
                  'description' => 'interrupt controller',
                                   'plug:wb_slave[0]' => [
                  'parameters' => {
                                                           'cyc_i',
                                    'INT_NUM' => {
                                                           'tag_i',
                                                   'global_param' => 0,
                                                           'cti_i',
                                                   'info' => 'number of  inerrupt.',
                                                           'bte_i'
                                                   'content' => '1,32,1',
                                                         ]
                                                   'type' => 'Spin-button',
 
                                                   'default' => ' 3'
 
                                                 },
 
                                    'SELw' => {
 
                                                'type' => 'Fixed',
 
                                                'default' => ' 4    ',
 
                                                'global_param' => 0,
 
                                                'content' => '',
 
                                                'info' => undef
 
                                              },
 
                                    'Aw' => {
 
                                              'type' => 'Fixed',
 
                                              'default' => ' 3',
 
                                              'global_param' => 0,
 
                                              'info' => undef,
 
                                              'content' => ''
                                 },
                                 },
                     'category' => 'Interrupt'
                                    'Dw' => {
 
                                              'content' => '',
 
                                              'info' => undef,
 
                                              'global_param' => 0,
 
                                              'type' => 'Fixed',
 
                                              'default' => '    32'
 
                                            }
 
                                  },
 
                  'system_h' => '
 
        #define ${IP}_MER                      (*((volatile unsigned int *) ($BASE      )))
 
        #define ${IP}_IER                       (*((volatile unsigned int *) ($BASE+4   )))
 
        #define         ${IP}_IAR                       (*((volatile unsigned int *) ($BASE+8   )))
 
        #define         ${IP}_IPR                       (*((volatile unsigned int *) ($BASE+12  )))',
 
                  'hdl_files' => [
 
                                   '/mpsoc/src_peripheral/int_ctrl/int_ctrl.v'
 
                                 ]
                   }, 'ip_gen' );
                   }, 'ip_gen' );

powered by: WebSVN 2.1.0

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