Go Back   Velocity Reviews > Newsgroups > VHDL
User Name
Password
Register FAQ Members List Calendar Search Today's Posts Mark Forums Read

Reply

VHDL - how to display on LCD of FPGA board?

 
Thread Tools Search this Thread
Old 11-21-2008, 03:54 AM   #1
Default how to display on LCD of FPGA board?


Hello everyone
Good day.

I am a very novice in VHDL programming. I want to display a bit-stream (for example: 1101) in the LCD of Xilinx® Virtex™-4 LX MB Development Kit. For the time being I take the inputs (EN, RS, INPUT DATA) using DIP switches and want to display the DATA on LCD.

Here is my simple code

entity test_lcd is
port(
lcd_rs, lcd_en: inout std_logic;

lcd_in: in std_logic_vector(3 downto 0);
lcd_out: out std_logic_vector(3 downto 0)

);
end test_lcd;

architecture test_lcd_arch of test_lcd is
begin
lcd_out <= lcd_in;

end test_lcd_arch;



-----------------------------------

My .ucf code is

# Two DIP switch to take input RS and EN
NET "lcd_rs" LOC = C10;
NET "lcd_en" LOC = D10;

# Four DIP switch for DATA input to be displayed on LCD
NET "lcd_in<0>" LOC = D1;
NET "lcd_in<1>" LOC = D2;
NET "lcd_in<2>" LOC = A4;
NET "lcd_in<3>" LOC = B4;

# signal to RS and EN of LCD display
NET "lcd_rs" LOC = N21;
NET "lcd_en" LOC = L19;

# signal to D0-D3 of LCD display
NET "lcd_out<0>" LOC = K25;
NET "lcd_out<1>" LOC = P19;
NET "lcd_out<2>" LOC = AC10;
NET "lcd_out<3>" LOC = AB10;

----------------------------------------

I have generated the programming file and downloaded it to the FPGA. But the LCD display shows nothing when i change the DIP switches. Plz help me to find the mistake.

Please HELP.

Pantho


vx100miles

Last edited by vx100miles : 11-21-2008 at 09:26 AM.
vx100miles is offline   Reply With Quote
Old 11-21-2008, 09:26 AM   #2
vx100miles
Junior Member
 
Join Date: Oct 2008
Posts: 9
Default
Hello everyone
Good day.

I am a very novice in VHDL programming. I want to display a bit-stream (for example: 1101) in the LCD of Xilinx® Virtex™-4 LX MB Development Kit. For the time being I take the inputs (EN, RS, INPUT DATA) using DIP switches and want to display the DATA on LCD.

Here is my simple code

entity test_lcd is
port(
lcd_rs, lcd_en: inout std_logic;

lcd_in: in std_logic_vector(3 downto 0);
lcd_out: out std_logic_vector(3 downto 0)

);
end test_lcd;

architecture test_lcd_arch of test_lcd is
begin
lcd_out <= lcd_in;

end test_lcd_arch;



-----------------------------------

My .ucf code is

# Two DIP switch to take input RS and EN
NET "lcd_rs" LOC = C10;
NET "lcd_en" LOC = D10;

# Four DIP switch for DATA input to be displayed on LCD
NET "lcd_in<0>" LOC = D1;
NET "lcd_in<1>" LOC = D2;
NET "lcd_in<2>" LOC = A4;
NET "lcd_in<3>" LOC = B4;

# signal to RS and EN of LCD display
NET "lcd_rs" LOC = N21;
NET "lcd_en" LOC = L19;

# signal to D0-D3 of LCD display
NET "lcd_out<0>" LOC = K25;
NET "lcd_out<1>" LOC = P19;
NET "lcd_out<2>" LOC = AC10;
NET "lcd_out<3>" LOC = AB10;

----------------------------------------

I have generated the programming file and downloaded it to the FPGA. But the LCD display shows nothing when i change the DIP switches. Plz help me to find the mistake.

Please HELP.

Pantho


vx100miles
vx100miles is offline   Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Caption display on letterbox DVD with 16:9 display nospam.dvd@none.com DVD Video 4 01-16-2008 02:55 PM
ATI card will not sense older tv as sec. display unless VCR connected, help! causewayclubhouse@hotmail.com DVD Video 2 12-18-2005 04:33 PM
WANTED: DVD player displaying ID3 Tags on front display Tomas Muehlhoff \(AC/EDD\) DVD Video 0 10-05-2005 02:56 PM
Re: laptop display Tom MacIntyre A+ Certification 0 10-01-2004 06:26 PM
Re: Panasonic & Pioneer DVD players - time remaining display and black level settings? SloPoke DVD Video 0 08-18-2003 02:40 PM




SEO by vBSEO 3.3.2 ©2009, Crawlability, Inc.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46