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] - Diff between revs 25 and 38

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 25 Rev 38
Line 1... Line 1...
#######################################################################
#######################################################################
##      File: lcd_2x16.IP
##      File: lcd_2x16.IP
##
##
##      Copyright (C) 2014-2016  Alireza Monemi
##      Copyright (C) 2014-2016  Alireza Monemi
##
##
##      This file is part of ProNoC 1.5.0
##      This file is part of ProNoC 1.8.0
##
##
##      WARNING: THIS IS AN AUTO-GENERATED FILE. CHANGES TO IT
##      WARNING: THIS IS AN AUTO-GENERATED FILE. CHANGES TO IT
##      MAY CAUSE UNEXPECTED BEHAIVOR.
##      MAY CAUSE UNEXPECTED BEHAIVOR.
################################################################################
################################################################################
 
 
$lcd_2x16 = bless( {
$ipgen = bless( {
                     'hdl_files' => [
                  'sw_params_list' => [],
                                      '/mpsoc/src_peripheral/display/lcd_2x16/lcd_2x16.v'
 
                                    ],
 
                     'system_h' => '#define  ${IP}_WR_CMD   (*((volatile unsigned int *) ($BASE)))
                     'system_h' => '#define  ${IP}_WR_CMD   (*((volatile unsigned int *) ($BASE)))
#define  ${IP}_RD_CMD    (*((volatile unsigned int *) ($BASE+4)))
#define  ${IP}_RD_CMD    (*((volatile unsigned int *) ($BASE+4)))
#define  ${IP}_WR_DATA  (*((volatile unsigned int *) ($BASE+8)))
#define  ${IP}_WR_DATA  (*((volatile unsigned int *) ($BASE+8)))
#define  ${IP}_RD_DATA   (*((volatile unsigned int *) ($BASE+16)))
#define  ${IP}_RD_DATA   (*((volatile unsigned int *) ($BASE+16)))
 
 
#define ${IP}_CLK_MHZ    $CLK_MHZ
#define ${IP}_CLK_MHZ    $CLK_MHZ
 
 
#include "$IP.h"',
#include "$IP.h"',
                     'ip_name' => 'lcd_2x16',
 
                     'sw_params_list' => [],
 
                     'parameters_order' => [
                     'parameters_order' => [
                                             'Dw',
                                             'Dw',
                                             'Aw',
                                             'Aw',
                                             'CLK_MHZ'
                                             'CLK_MHZ'
                                           ],
                                           ],
 
                  'module_name' => 'lcd_2x16',
 
                  'gui_status' => {
 
                                    'timeout' => 0,
 
                                    'status' => 'ideal'
 
                                  },
 
                  'ip_name' => 'lcd_2x16',
 
                  'ports' => {
 
                               'lcd_rw' => {
 
                                             'type' => 'output',
 
                                             'intfc_name' => 'IO',
 
                                             'range' => '',
 
                                             'intfc_port' => 'IO'
 
                                           },
 
                               'lcd_en' => {
 
                                             'intfc_name' => 'IO',
 
                                             'range' => '',
 
                                             'intfc_port' => 'IO',
 
                                             'type' => 'output'
 
                                           },
 
                               's_we_i' => {
 
                                             'type' => 'input',
 
                                             'intfc_port' => 'we_i',
 
                                             'range' => '',
 
                                             'intfc_name' => 'plug:wb_slave[0]'
 
                                           },
 
                               's_dat_o' => {
 
                                              'type' => 'output',
 
                                              'range' => 'Dw-1       :   0',
 
                                              'intfc_name' => 'plug:wb_slave[0]',
 
                                              'intfc_port' => 'dat_o'
 
                                            },
 
                               'clk' => {
 
                                          'type' => 'input',
 
                                          'intfc_name' => 'plug:clk[0]',
 
                                          'range' => '',
 
                                          'intfc_port' => 'clk_i'
 
                                        },
 
                               's_ack_o' => {
 
                                              'type' => 'output',
 
                                              'intfc_port' => 'ack_o',
 
                                              'range' => '',
 
                                              'intfc_name' => 'plug:wb_slave[0]'
 
                                            },
 
                               's_stb_i' => {
 
                                              'type' => 'input',
 
                                              'range' => '',
 
                                              'intfc_name' => 'plug:wb_slave[0]',
 
                                              'intfc_port' => 'stb_i'
 
                                            },
 
                               'lcd_rs' => {
 
                                             'range' => '',
 
                                             'intfc_name' => 'IO',
 
                                             'intfc_port' => 'IO',
 
                                             'type' => 'output'
 
                                           },
 
                               'reset' => {
 
                                            'intfc_port' => 'reset_i',
 
                                            'range' => '',
 
                                            'intfc_name' => 'plug:reset[0]',
 
                                            'type' => 'input'
 
                                          },
 
                               's_dat_i' => {
 
                                              'type' => 'input',
 
                                              'intfc_name' => 'plug:wb_slave[0]',
 
                                              'range' => 'Dw-1       :   0',
 
                                              'intfc_port' => 'dat_i'
 
                                            },
 
                               's_cyc_i' => {
 
                                              'type' => 'input',
 
                                              'intfc_name' => 'plug:wb_slave[0]',
 
                                              'range' => '',
 
                                              'intfc_port' => 'cyc_i'
 
                                            },
 
                               's_addr_i' => {
 
                                               'intfc_name' => 'plug:wb_slave[0]',
 
                                               'range' => 'Aw-1       :   0',
 
                                               'intfc_port' => 'adr_i',
 
                                               'type' => 'input'
 
                                             },
 
                               'lcd_data' => {
 
                                               'range' => '  7: 0',
 
                                               'intfc_name' => 'IO',
 
                                               'intfc_port' => 'IO',
 
                                               'type' => 'inout'
 
                                             }
 
                             },
                     'ports_order' => [
                     'ports_order' => [
                                        'clk',
                                        'clk',
                                        'reset',
                                        'reset',
                                        's_dat_i',
                                        's_dat_i',
                                        's_addr_i',
                                        's_addr_i',
Line 41... Line 123...
                                        'lcd_en',
                                        'lcd_en',
                                        'lcd_rs',
                                        'lcd_rs',
                                        'lcd_rw',
                                        'lcd_rw',
                                        'lcd_data'
                                        'lcd_data'
                                      ],
                                      ],
                     'file_name' => '/home/alireza/Mywork/mpsoc/src_peripheral/display/lcd_2x16/lcd_2x16.v',
                  'version' => 1,
                     'module_name' => 'lcd_2x16',
 
                     'gen_sw_files' => [
                     'gen_sw_files' => [
                                         '/mpsoc/src_peripheral/display/lcd_2x16/lcd_2x16frename_sep_t${IP}.h'
                                         '/mpsoc/src_peripheral/display/lcd_2x16/lcd_2x16frename_sep_t${IP}.h'
                                       ],
                                       ],
 
                  'file_name' => '/home/alireza/Mywork/mpsoc/src_peripheral/display/lcd_2x16/lcd_2x16.v',
                     'unused' => {
                     'unused' => {
                                   'plug:wb_slave[0]' => [
                                   'plug:wb_slave[0]' => [
 
                                                        'sel_i',
 
                                                        'tag_i',
 
                                                        'bte_i',
                                                           'err_o',
                                                           'err_o',
                                                           'rty_o',
                                                           'rty_o',
                                                           'tag_i',
                                                        'cti_i'
                                                           'cti_i',
 
                                                           'sel_i',
 
                                                           'bte_i'
 
                                                         ]
                                                         ]
                                 },
                                 },
                     'category' => 'Display',
 
                     'sw_files' => [],
 
                     'description' => 'Alphabet Display LCD  2x16',
 
                     'modules' => {
 
                                    'lcd_2x16' => {}
 
                                  },
 
                     'plugs' => {
                     'plugs' => {
                                  'clk' => {
                                  'clk' => {
                                             'clk' => {},
 
                                             'value' => 1,
 
                                             '0' => {
                                             '0' => {
                                                      'name' => 'clk'
                                                      'name' => 'clk'
                                                    },
                                                    },
                                             'type' => 'num'
                                          'type' => 'num',
                                           },
 
                                  'reset' => {
 
                                               'reset' => {},
 
                                               'value' => 1,
                                               'value' => 1,
                                               '0' => {
                                          'clk' => {}
                                                        'name' => 'reset'
 
                                                      },
 
                                               'type' => 'num'
 
                                             },
                                             },
                                  'wb_slave' => {
                                  'wb_slave' => {
                                                  'value' => 1,
                                               'type' => 'num',
                                                  '0' => {
                                                  '0' => {
                                                           'width' => 5,
                                                        'addr' => '0x9100_0000  0x91ff_ffff             General-Purpose I/O',
                                                           'name' => 'wb',
                                                           'name' => 'wb',
                                                           'addr' => '0x9100_0000       0x91ff_ffff             General-Purpose I/O'
                                                        'width' => 5
                                                         },
                                                         },
                                                  'type' => 'num',
                                               'value' => 1,
                                                  'wb_slave' => {}
                                                  'wb_slave' => {}
 
                                             },
 
                               'reset' => {
 
                                            'type' => 'num',
 
                                            'reset' => {},
 
                                            '0' => {
 
                                                     'name' => 'reset'
 
                                                   },
 
                                            'value' => 1
                                                }
                                                }
                                },
                                },
                     'gui_status' => {
                  'modules' => {
                                       'status' => 'ideal',
                                 'lcd_2x16' => {}
                                       'timeout' => 0
 
                                     },
                                     },
 
                  'category' => 'Display',
 
                  'description' => '2x16 Character Alphabet Liquid Crystal Display (LCD) driver module  ',
                     'parameters' => {
                     'parameters' => {
 
                                    'CLK_MHZ' => {
 
                                                   'content' => '2,1000,2',
 
                                                   'redefine_param' => 1,
 
                                                   'type' => 'Spin-button',
 
                                                   'global_param' => 0,
 
                                                   'default' => '100',
 
                                                   '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.'
 
                                                 },
                                       'Aw' => {
                                       'Aw' => {
                                                 'info' => undef,
 
                                                 'deafult' => ' 2',
 
                                                 'global_param' => 0,
                                                 'global_param' => 0,
 
                                              'default' => ' 2',
 
                                              'info' => undef,
                                                 'content' => '',
                                                 'content' => '',
                                                 'type' => 'Fixed',
                                              'redefine_param' => 1,
                                                 'redefine_param' => 1
                                              'type' => 'Fixed'
                                               },
                                               },
                                       'Dw' => {
                                       'Dw' => {
                                                 'info' => undef,
 
                                                 'deafult' => ' 8',
 
                                                 'global_param' => 0,
 
                                                 'content' => '',
 
                                                 'type' => 'Fixed',
                                                 'type' => 'Fixed',
                                                 'redefine_param' => 1
                                              'redefine_param' => 1,
                                               },
                                              'content' => '',
                                       'CLK_MHZ' => {
                                              'info' => undef,
                                                      '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.',
                                              'default' => '    8',
                                                      'deafult' => '100',
                                              'global_param' => 0
                                                      'global_param' => 0,
 
                                                      'content' => '2,1000,2',
 
                                                      'type' => 'Spin-button',
 
                                                      'redefine_param' => 1
 
                                                    }
                                                    }
                                     },
                                     },
                     'ports' => {
                  'hdl_files' => [
                                  's_cyc_i' => {
                                   '/mpsoc/src_peripheral/display/lcd_2x16/lcd_2x16.v'
                                                 'intfc_name' => 'plug:wb_slave[0]',
                                 ],
                                                 'intfc_port' => 'cyc_i',
                  'sw_files' => []
                                                 'range' => '',
 
                                                 'type' => 'input'
 
                                               },
 
                                  's_dat_i' => {
 
                                                 'intfc_name' => 'plug:wb_slave[0]',
 
                                                 'intfc_port' => 'dat_i',
 
                                                 'range' => 'Dw-1       :   0',
 
                                                 'type' => 'input'
 
                                               },
 
                                  'lcd_en' => {
 
                                                'intfc_name' => 'IO',
 
                                                'intfc_port' => 'IO',
 
                                                'range' => '',
 
                                                'type' => 'output'
 
                                              },
 
                                  's_ack_o' => {
 
                                                 'intfc_name' => 'plug:wb_slave[0]',
 
                                                 'intfc_port' => 'ack_o',
 
                                                 'range' => '',
 
                                                 'type' => 'output'
 
                                               },
 
                                  's_we_i' => {
 
                                                'intfc_name' => 'plug:wb_slave[0]',
 
                                                'intfc_port' => 'we_i',
 
                                                'range' => '',
 
                                                'type' => 'input'
 
                                              },
 
                                  's_stb_i' => {
 
                                                 'intfc_name' => 'plug:wb_slave[0]',
 
                                                 'intfc_port' => 'stb_i',
 
                                                 'range' => '',
 
                                                 'type' => 'input'
 
                                               },
 
                                  'lcd_data' => {
 
                                                  'intfc_name' => 'IO',
 
                                                  'intfc_port' => 'IO',
 
                                                  'range' => '  7: 0',
 
                                                  'type' => 'inout'
 
                                                },
 
                                  'lcd_rs' => {
 
                                                'intfc_name' => 'IO',
 
                                                'intfc_port' => 'IO',
 
                                                'range' => '',
 
                                                'type' => 'output'
 
                                              },
 
                                  'reset' => {
 
                                               'intfc_name' => 'plug:reset[0]',
 
                                               'intfc_port' => 'reset_i',
 
                                               'range' => '',
 
                                               'type' => 'input'
 
                                             },
 
                                  'lcd_rw' => {
 
                                                'intfc_name' => 'IO',
 
                                                'intfc_port' => 'IO',
 
                                                'range' => '',
 
                                                'type' => 'output'
 
                                              },
 
                                  'clk' => {
 
                                             'intfc_name' => 'plug:clk[0]',
 
                                             'intfc_port' => 'clk_i',
 
                                             'range' => '',
 
                                             'type' => 'input'
 
                                           },
 
                                  's_addr_i' => {
 
                                                  'intfc_name' => 'plug:wb_slave[0]',
 
                                                  'intfc_port' => 'adr_i',
 
                                                  'range' => 'Aw-1       :   0',
 
                                                  'type' => 'input'
 
                                                },
 
                                  's_dat_o' => {
 
                                                 'intfc_name' => 'plug:wb_slave[0]',
 
                                                 'intfc_port' => 'dat_o',
 
                                                 'range' => 'Dw-1       :   0',
 
                                                 'type' => 'output'
 
                                               }
 
                                }
 
                   }, 'ip_gen' );
                   }, 'ip_gen' );

powered by: WebSVN 2.1.0

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