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] - Blame information for rev 38

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 25 alirezamon
#######################################################################
2
##      File: int_ctrl.IP
3
##
4
##      Copyright (C) 2014-2016  Alireza Monemi
5
##
6 38 alirezamon
##      This file is part of ProNoC 1.7.0
7 25 alirezamon
##
8
##      WARNING: THIS IS AN AUTO-GENERATED FILE. CHANGES TO IT
9
##      MAY CAUSE UNEXPECTED BEHAIVOR.
10
################################################################################
11
 
12 38 alirezamon
$ipgen = bless( {
13
                  'file_name' => '/home/alireza/Mywork/mpsoc/src_peripheral/int_ctrl/int_ctrl.v',
14
                  'sockets' => {
15
                                 'interrupt_peripheral' => {
16
                                                             'connection_num' => 'single connection',
17
                                                             'value' => 'INT_NUM',
18
                                                             '0' => {
19
                                                                      'name' => 'int_periph'
20
                                                                    },
21
                                                             'interrupt_peripheral' => {},
22
                                                             'type' => 'param'
23
                                                           }
24
                               },
25
                  'parameters_order' => [
26
                                          'INT_NUM',
27
                                          'Dw',
28
                                          'Aw',
29
                                          'SELw'
30
                                        ],
31
                  'ip_name' => 'int_ctrl',
32
                  'unused' => {
33
                                'plug:wb_slave[0]' => [
34
                                                        'tag_i',
35
                                                        'cyc_i',
36
                                                        'bte_i',
37
                                                        'cti_i'
38
                                                      ]
39
                              },
40
                  'ports' => {
41
                               'sa_dat_o' => {
42
                                               'type' => 'output',
43
                                               'intfc_name' => 'plug:wb_slave[0]',
44
                                               'intfc_port' => 'dat_o',
45
                                               'range' => 'Dw-1       :   0'
46 25 alirezamon
                                             },
47 38 alirezamon
                               'sa_err_o' => {
48
                                               'type' => 'output',
49
                                               'intfc_name' => 'plug:wb_slave[0]',
50
                                               'intfc_port' => 'err_o',
51
                                               'range' => ''
52
                                             },
53
                               'clk' => {
54
                                          'range' => '',
55
                                          'intfc_port' => 'clk_i',
56
                                          'intfc_name' => 'plug:clk[0]',
57
                                          'type' => 'input'
58
                                        },
59
                               'int_o' => {
60
                                            'intfc_name' => 'plug:interrupt_cpu[0]',
61
                                            'intfc_port' => 'int_o',
62
                                            'range' => '',
63
                                            'type' => 'output'
64
                                          },
65
                               'sa_stb_i' => {
66
                                               'type' => 'input',
67
                                               'intfc_name' => 'plug:wb_slave[0]',
68 25 alirezamon
                                               'range' => '',
69 38 alirezamon
                                               'intfc_port' => 'stb_i'
70 25 alirezamon
                                             },
71 38 alirezamon
                               'sa_rty_o' => {
72
                                               'type' => 'output',
73 25 alirezamon
                                               'range' => '',
74 38 alirezamon
                                               'intfc_port' => 'rty_o',
75
                                               'intfc_name' => 'plug:wb_slave[0]'
76 25 alirezamon
                                             },
77 38 alirezamon
                               'sa_sel_i' => {
78
                                               'type' => 'input',
79
                                               'intfc_port' => 'sel_i',
80
                                               'range' => 'SELw-1     :   0',
81
                                               'intfc_name' => 'plug:wb_slave[0]'
82
                                             },
83
                               'sa_ack_o' => {
84
                                               'type' => 'output',
85
                                               'range' => '',
86
                                               'intfc_port' => 'ack_o',
87
                                               'intfc_name' => 'plug:wb_slave[0]'
88
                                             },
89
                               'sa_we_i' => {
90
                                              'intfc_name' => 'plug:wb_slave[0]',
91
                                              'intfc_port' => 'we_i',
92
                                              'range' => '',
93
                                              'type' => 'input'
94
                                            },
95
                               'reset' => {
96
                                            'intfc_port' => 'reset_i',
97
                                            'range' => '',
98
                                            'intfc_name' => 'plug:reset[0]',
99
                                            'type' => 'input'
100
                                          },
101
                               'sa_dat_i' => {
102
                                               'intfc_port' => 'dat_i',
103
                                               'range' => 'Dw-1       :   0',
104
                                               'intfc_name' => 'plug:wb_slave[0]',
105 25 alirezamon
                                               'type' => 'input'
106
                                             },
107 38 alirezamon
                               'sa_addr_i' => {
108
                                                'type' => 'input',
109
                                                'intfc_name' => 'plug:wb_slave[0]',
110
                                                'range' => 'Aw-1       :   0',
111
                                                'intfc_port' => 'adr_i'
112
                                              },
113
                               'int_i' => {
114
                                            'intfc_port' => 'int_i',
115
                                            'range' => 'INT_NUM-1  :   0',
116
                                            'intfc_name' => 'socket:interrupt_peripheral[array]',
117
                                            'type' => 'input'
118
                                          }
119
                             },
120
                  'version' => 1,
121
                  'plugs' => {
122
                               'wb_slave' => {
123
                                               '0' => {
124
                                                        'width' => 5,
125
                                                        'addr' => '0x9e00_0000  0x9eff_ffff             IDE Controller',
126
                                                        'name' => 'wb'
127
                                                      },
128
                                               'type' => 'num',
129
                                               'value' => 1,
130
                                               'wb_slave' => {}
131
                                             },
132
                               'reset' => {
133
                                            'type' => 'num',
134
                                            '0' => {
135
                                                     'name' => 'reset'
136
                                                   },
137
                                            'value' => 1,
138
                                            'reset' => {}
139
                                          },
140
                               'clk' => {
141
                                          'clk' => {},
142
                                          'value' => 1,
143
                                          'type' => 'num',
144
                                          '0' => {
145
                                                   'name' => 'clk'
146
                                                 }
147
                                        },
148
                               'interrupt_cpu' => {
149
                                                    'value' => 1,
150
                                                    'type' => 'num',
151
                                                    '0' => {
152
                                                             'name' => 'interrupt_cpu'
153
                                                           }
154
                                                  }
155
                             },
156
                  'gui_status' => {
157
                                    'timeout' => 0,
158
                                    'status' => 'ideal'
159
                                  },
160
                  'modules' => {
161
                                 'int_ctrl' => {}
162
                               },
163
                  'category' => 'Interrupt',
164
                  'module_name' => 'int_ctrl',
165
                  'description' => 'interrupt controller',
166
                  'parameters' => {
167
                                    'INT_NUM' => {
168
                                                   'global_param' => 0,
169
                                                   'info' => 'number of  inerrupt.',
170
                                                   'content' => '1,32,1',
171
                                                   'type' => 'Spin-button',
172
                                                   'default' => ' 3'
173 25 alirezamon
                                                 },
174 38 alirezamon
                                    'SELw' => {
175
                                                'type' => 'Fixed',
176
                                                'default' => ' 4    ',
177
                                                'global_param' => 0,
178
                                                'content' => '',
179
                                                'info' => undef
180
                                              },
181
                                    'Aw' => {
182
                                              'type' => 'Fixed',
183
                                              'default' => ' 3',
184
                                              'global_param' => 0,
185
                                              'info' => undef,
186
                                              'content' => ''
187
                                            },
188
                                    'Dw' => {
189
                                              'content' => '',
190
                                              'info' => undef,
191
                                              'global_param' => 0,
192
                                              'type' => 'Fixed',
193
                                              'default' => '    32'
194
                                            }
195 25 alirezamon
                                  },
196 38 alirezamon
                  'system_h' => '
197
        #define ${IP}_MER                      (*((volatile unsigned int *) ($BASE      )))
198
        #define ${IP}_IER                       (*((volatile unsigned int *) ($BASE+4   )))
199
        #define         ${IP}_IAR                       (*((volatile unsigned int *) ($BASE+8   )))
200
        #define         ${IP}_IPR                       (*((volatile unsigned int *) ($BASE+12  )))',
201
                  'hdl_files' => [
202
                                   '/mpsoc/src_peripheral/int_ctrl/int_ctrl.v'
203
                                 ]
204
                }, 'ip_gen' );

powered by: WebSVN 2.1.0

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