Forum: FPGA, VHDL & Verilog Help with school project

Author: Nemlehet (Guest)
Posted on:

Rate this post
0 useful
not useful
Hello Everyone!

I'm a mechanical engineer in Hungary, and we were advised to take a 
programming course on the University. They said its gonna be easy, great 
experience etc... I liked this VHDL programming, we had simple task 
(like write out a number belonging for a set button, blinking led, 
things like that).
We got our exam project and I was stunned.... Its just so much more 
complicated, I dont even have idea where to start. So if somebody could 
help me whit this, that would be great.

The task is:
1. The board has to detect a signal seria.
2. There are 2 interface port: P and V (btn0, btn1)
3. One press of button means 1 signal, regardless of the pushing time.
4. The start of the signal seria starts with one of the buttons pressed
5. The end of the signal seria is 1 second after releasing a button.
6. The result should be shown on the right side LCD screen.
7. If the signal seria is PVVPP write P on the LCD.
8. If the input is any different than PVVPP or you press 2 buttons at 
once the LCD should blink an E character with 2 Hz frequency.
9. If I start a new signal seria, the LCD has to be cleared.

We are using ISE WebPack, and "developing" for Basys 2 demo panel 
(sptartan 3 FPGA).
I'm not really familiar with the english terms, so if I messed something 
with the translation let me know.

Author: Lothar Miller (lkmiller) (Moderator)
Posted on:

Rate this post
0 useful
not useful
Nemlehet wrote:
> The task is:
Split it up in small steps:
2+3) you have 2 async buttons
--> sync them in and generate a key-pulse with edge-detection

5) is a simple retriggerable watchdog

6+7+8+9) you must be able to initialize and control a LCD: start 
with writing any letter on a defined position...
Have a look at the VHDL code there:
Beitrag "Re: EA DOG-M initialisieren"
Its for controlling a character LCD (HD44780like) using a 4-bit 

9) also relates to 4)

And after all there remains a simple FSM for detecting the button 

I would start with the LCD...

Nemlehet wrote:
> if I messed something with the translation let me know.
seria => series

: Edited by Moderator


Entering an e-mail address is optional. If you want to receive reply notifications by e-mail, please log in.

Rules — please read before posting

  • Post long source code as attachment, not in the text
  • Posting advertisements is forbidden.

Formatting options

  • [c]C code[/c]
  • [avrasm]AVR assembler code[/avrasm]
  • [vhdl]VHDL code[/vhdl]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]

Bild automatisch verkleinern, falls nötig
Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.