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 34

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

powered by: WebSVN 2.1.0

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