Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
20644 Discussions

Vhdl to detect car sensor

Altera_Forum
Honored Contributor II
865 Views

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!
0 Kudos
1 Reply
Altera_Forum
Honored Contributor II
216 Views

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

0 Kudos
Reply