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

Details | Compare with Previous | View Log

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

powered by: WebSVN 2.1.0

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