Today it was time to write some VHDL code for the new board. The result are some lines to drive the LCD (ks0066u chipset 4-Bit interface). It is quite easy to talk with such devices, they have only a 4 bit data bus, 1 RS (Register Select), 1 R/W (Read/Write) and 1 E (Read/Write Enable) Signal.

The first module is a low level module with a wishbone compliant interface, it is responsible for the generation of the right signal combinations to talk with the LCD. The second one consists of a loop to write the initialization sequence and characters to the LCD.

That’s all.

LCD VHDL/FPGA Driver

BTW.: If someone wants the code example, just write me an email.

27 Responses to “First fun with the “V5OSDK aka ML505″ FPGA”
  1. Hi, I am interested in the code example for writing on the LCD of the ML505 board. Thanks!

    Jeff

    Reply

  2. Hi Ben, Can I also get a copy of your code example? Thank you!~

    Best,
    Jason

    Reply

  3. Hi, Here’s another way to drive the LCD using the Microblaze and GPIOs. Instructions and source code are on the page:

    http://virtex5.blogspot.com/2008/10/microblaze-16×2-lcd-driver.html

    Jeff

    Reply

    ben Reply:

    Hi Jeff,
    nice page and tutorials. But for my flavour a state machine which drives the LCD is enough. A full-blown Microblaze and C code which drives the lcd, is to oversized and consumes to much slices.

    ben

    Reply

  4. Hi Ben,
    I am also interested in your VHDL code, can I get a copy ?

    Thanks a lot,
    Claudio

    Reply

  5. [...] which gave the possibility to connect wishbone compliant modules to USB. As testcase the wishbone lcd driver should help to get the interface stable. Some changes regarding the LCD clock as to be made [...]

  6. Hi Ben,

    Can I also get a copy of your code example?

    Thank you,
    Vlad

    Reply

  7. Hi Ben,

    I’m working with the ml507 board which has the same lcd I guess. I already wrote the lcd module in VHDL but would like a copy of your code to compare coding styles and functionality. it’s been a couple of years since I worked with hardware and would like to get experience from people with more exposure than myself.

    Thanks in advance

    Reply

  8. hi
    i hope to send lcd code and any other important codew like uart (rs232) for me.
    i need them very much.
    thank you

    Reply

  9. Hi Ben,

    I am also interested in your VHDL code, can I get a copy ?

    could you give me verilog code ?

    Thanks a lot,

    Reply

    Stuart Reply:

    Hello,

    Could you please send me your VHDL code as well?

    thanks

    Reply

  10. Hiya Ben,

    I’d like to see your vhdl code for the lcd screen,
    could you please send me a copy?

    thanks

    Reply

  11. hi
    i m not using this type of xilinx card , mine is spartan-3e, i want to use the lcd screen with c code as i have embeded plasma cpu in it , so can you send me an exemple of for writing on the LCD

    thanks

    best regards

    Reply

  12. hello,

    Could you please send me a copy of the LCD code, I’d like to give it a try.

    Many thanks

    Reply

  13. in fact, where can i find the J8 connector pinout to the fpga..

    or just which fpga pins are connected to which lcd pins

    I looked everywhere, can’t find it.. they should have put this info on their guide but they didn’t

    Reply

    ben Reply:

    Have a look in your schematics to find the connected pins

    Reply

  14. Hi,
    i’m also interested in the vhdl code for the LCD!
    many thanks.

    Reply

  15. Claudio says:

    hi
    I am interested in the code example for writing on the LCD of the ML505 board.
    Thanks

    Claudio

    Reply

  16. Hi Ben,

    Can I also get a copy of your code example?

    Thank you,
    Jose

    Reply

  17. Hi Ben,

    This work is great. Can I get a copy of your code?

    Thanks,
    Brandon

    Reply

  18. Omar Lifschitz says:

    Hi, Ben:
    Do you have any information or example code regarding de DDR2 operation on the Virtex5.

    Thanks in advance
    Omar

    Reply

  19. Hi Ben,

    I have been searching for a code example for weeks to drive this LCD, and you’re the first one I have found with a reasonable and functional example. I would greatly appreciate it if you could send me the code.

    Thanks,

    Chris

    Reply

  20. Suleyman says:

    Hi , Could you send me a LCD controller module? Thanks for your help. Best Regards.

    Reply

  21. Hello,
    Can i get a copy too of your code? I’m working with ml507 an both lcd displays are the same i think

    Reply

  22. Hi, Could you send me the VHDL example code to drive LCD?
    Thanks.

    Reply

  23. Apfelstruhdl says:

    could you send me the code, please?

    Reply

  24. Hello,

    Can I get a copy of your code? I’m working with ML509 LCD display for 2 weeks.But It’s still not work.

    Reply

Leave a Reply

This site has been fine-tuned by 15 WordPress Tweaks