Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
13 years ago

Vhdl to detect car sensor

Hi guys I'm relatively new to the vhdl and I'm finding it very hard to solve a problem.

i would really appreciate it if anyone can help me.

Here's the question.

1) sensor used to detect cars on road

2) total number of cars is the sum of previous number and current number

3) led lights up when 32 cars have been detected

4) active-low load is activated to load previous number into system

5) active-high reset input is used to reset system.

I'm required to produce a waveform that shows the reset, sensor, load, "p", "q" and led_on.

I'll be very glad if someone will look in to this problem.

thanks in advance!

1 Reply

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Show us the code you've written and give us the problems you're having and Im sure someone can help.