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 38

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

powered by: WebSVN 2.1.0

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