Help with school project

Guest #4380736
Rate this post
• ▲ 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.
Moderator (Company: Titel) #4380806
Rate this post
• ▲ 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 
interface.

9) also relates to 4)

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

I would start with the LCD...

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

Reply

Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.

Formatting
  • [c]C-Code[/c]
  • [vhdl]VHDL-Code[/vhdl]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]
  • [[Title]] – link to an article
  • Link to another post: right-click its post ID (#8078628), copy the address, paste it into the text

More about formatting

Post long source code as an attachment, not in the text.

Already registered? Log in

Not shown to anyone. We send you a link; your post appears once you confirm it there.

By submitting you create a free account and accept the terms of use.