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/] [GPIO/] [gpio.IP] - Blame information for rev 25

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

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

powered by: WebSVN 2.1.0

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