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/] [Display/] [lcd_2x16.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: lcd_2x16.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
$lcd_2x16 = bless( {
13
                     'hdl_files' => [
14
                                      '/mpsoc/src_peripheral/display/lcd_2x16/lcd_2x16.v'
15
                                    ],
16
                     'system_h' => '#define  ${IP}_WR_CMD   (*((volatile unsigned int *) ($BASE)))
17
#define  ${IP}_RD_CMD    (*((volatile unsigned int *) ($BASE+4)))
18
#define  ${IP}_WR_DATA  (*((volatile unsigned int *) ($BASE+8)))
19
#define  ${IP}_RD_DATA   (*((volatile unsigned int *) ($BASE+16)))
20
 
21
#define ${IP}_CLK_MHZ    $CLK_MHZ
22
 
23
#include "$IP.h"',
24
                     'ip_name' => 'lcd_2x16',
25
                     'sw_params_list' => [],
26
                     'parameters_order' => [
27
                                             'Dw',
28
                                             'Aw',
29
                                             'CLK_MHZ'
30
                                           ],
31
                     'ports_order' => [
32
                                        'clk',
33
                                        'reset',
34
                                        's_dat_i',
35
                                        's_addr_i',
36
                                        's_stb_i',
37
                                        's_cyc_i',
38
                                        's_we_i',
39
                                        's_dat_o',
40
                                        's_ack_o',
41
                                        'lcd_en',
42
                                        'lcd_rs',
43
                                        'lcd_rw',
44
                                        'lcd_data'
45
                                      ],
46
                     'file_name' => '/home/alireza/Mywork/mpsoc/src_peripheral/display/lcd_2x16/lcd_2x16.v',
47
                     'module_name' => 'lcd_2x16',
48
                     'gen_sw_files' => [
49
                                         '/mpsoc/src_peripheral/display/lcd_2x16/lcd_2x16frename_sep_t${IP}.h'
50
                                       ],
51
                     'unused' => {
52
                                   'plug:wb_slave[0]' => [
53
                                                           'err_o',
54
                                                           'rty_o',
55
                                                           'tag_i',
56
                                                           'cti_i',
57
                                                           'sel_i',
58
                                                           'bte_i'
59
                                                         ]
60
                                 },
61
                     'category' => 'Display',
62
                     'sw_files' => [],
63
                     'description' => 'Alphabet Display LCD  2x16',
64
                     'modules' => {
65
                                    'lcd_2x16' => {}
66
                                  },
67
                     'plugs' => {
68
                                  'clk' => {
69
                                             'clk' => {},
70
                                             'value' => 1,
71
                                             '0' => {
72
                                                      'name' => 'clk'
73
                                                    },
74
                                             'type' => 'num'
75
                                           },
76
                                  'reset' => {
77
                                               'reset' => {},
78
                                               'value' => 1,
79
                                               '0' => {
80
                                                        'name' => 'reset'
81
                                                      },
82
                                               'type' => 'num'
83
                                             },
84
                                  'wb_slave' => {
85
                                                  'value' => 1,
86
                                                  '0' => {
87
                                                           'width' => 5,
88
                                                           'name' => 'wb',
89
                                                           'addr' => '0x9100_0000       0x91ff_ffff             General-Purpose I/O'
90
                                                         },
91
                                                  'type' => 'num',
92
                                                  'wb_slave' => {}
93
                                                }
94
                                },
95
                     'gui_status' => {
96
                                       'status' => 'ideal',
97
                                       'timeout' => 0
98
                                     },
99
                     'parameters' => {
100
                                       'Aw' => {
101
                                                 'info' => undef,
102
                                                 'deafult' => ' 2',
103
                                                 'global_param' => 0,
104
                                                 'content' => '',
105
                                                 'type' => 'Fixed',
106
                                                 'redefine_param' => 1
107
                                               },
108
                                       'Dw' => {
109
                                                 'info' => undef,
110
                                                 'deafult' => ' 8',
111
                                                 'global_param' => 0,
112
                                                 'content' => '',
113
                                                 'type' => 'Fixed',
114
                                                 'redefine_param' => 1
115
                                               },
116
                                       'CLK_MHZ' => {
117
                                                      'info' => 'The LCD controller clock speed in MHZ. It will be used for measuring the lcd enable delay. You can define a larger value than the actual clk speed but not smaller.',
118
                                                      'deafult' => '100',
119
                                                      'global_param' => 0,
120
                                                      'content' => '2,1000,2',
121
                                                      'type' => 'Spin-button',
122
                                                      'redefine_param' => 1
123
                                                    }
124
                                     },
125
                     'ports' => {
126
                                  's_cyc_i' => {
127
                                                 'intfc_name' => 'plug:wb_slave[0]',
128
                                                 'intfc_port' => 'cyc_i',
129
                                                 'range' => '',
130
                                                 'type' => 'input'
131
                                               },
132
                                  's_dat_i' => {
133
                                                 'intfc_name' => 'plug:wb_slave[0]',
134
                                                 'intfc_port' => 'dat_i',
135
                                                 'range' => 'Dw-1       :   0',
136
                                                 'type' => 'input'
137
                                               },
138
                                  'lcd_en' => {
139
                                                'intfc_name' => 'IO',
140
                                                'intfc_port' => 'IO',
141
                                                'range' => '',
142
                                                'type' => 'output'
143
                                              },
144
                                  's_ack_o' => {
145
                                                 'intfc_name' => 'plug:wb_slave[0]',
146
                                                 'intfc_port' => 'ack_o',
147
                                                 'range' => '',
148
                                                 'type' => 'output'
149
                                               },
150
                                  's_we_i' => {
151
                                                'intfc_name' => 'plug:wb_slave[0]',
152
                                                'intfc_port' => 'we_i',
153
                                                'range' => '',
154
                                                'type' => 'input'
155
                                              },
156
                                  's_stb_i' => {
157
                                                 'intfc_name' => 'plug:wb_slave[0]',
158
                                                 'intfc_port' => 'stb_i',
159
                                                 'range' => '',
160
                                                 'type' => 'input'
161
                                               },
162
                                  'lcd_data' => {
163
                                                  'intfc_name' => 'IO',
164
                                                  'intfc_port' => 'IO',
165
                                                  'range' => '  7: 0',
166
                                                  'type' => 'inout'
167
                                                },
168
                                  'lcd_rs' => {
169
                                                'intfc_name' => 'IO',
170
                                                'intfc_port' => 'IO',
171
                                                'range' => '',
172
                                                'type' => 'output'
173
                                              },
174
                                  'reset' => {
175
                                               'intfc_name' => 'plug:reset[0]',
176
                                               'intfc_port' => 'reset_i',
177
                                               'range' => '',
178
                                               'type' => 'input'
179
                                             },
180
                                  'lcd_rw' => {
181
                                                'intfc_name' => 'IO',
182
                                                'intfc_port' => 'IO',
183
                                                'range' => '',
184
                                                'type' => 'output'
185
                                              },
186
                                  'clk' => {
187
                                             'intfc_name' => 'plug:clk[0]',
188
                                             'intfc_port' => 'clk_i',
189
                                             'range' => '',
190
                                             'type' => 'input'
191
                                           },
192
                                  's_addr_i' => {
193
                                                  'intfc_name' => 'plug:wb_slave[0]',
194
                                                  'intfc_port' => 'adr_i',
195
                                                  'range' => 'Aw-1       :   0',
196
                                                  'type' => 'input'
197
                                                },
198
                                  's_dat_o' => {
199
                                                 'intfc_name' => 'plug:wb_slave[0]',
200
                                                 'intfc_port' => 'dat_o',
201
                                                 'range' => 'Dw-1       :   0',
202
                                                 'type' => 'output'
203
                                               }
204
                                }
205
                   }, 'ip_gen' );

powered by: WebSVN 2.1.0

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