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 38

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

powered by: WebSVN 2.1.0

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