![]() |
|
|
|
#1 |
|
Hi all,
I would appreciate any help anyone can provide. I am sending a random number to a CPLD pin from another device. I need to write VHDL code to count how many pulses are coming through in a space of 1 second. I also need to send this number of pulses out of one of the CPLD pins somehow. I would GREATLY appreciate any help,code, tutorial referal....from anyone...thnx in advance. crazy_kuts |
|
|
|
|
#2 |
|
Posts: n/a
|
crazy_kuts wrote: > Hi all, > > I would appreciate any help anyone can provide. I am sending a random > number to a CPLD pin from another device. I need to write VHDL code to > count how many pulses are coming through in a space of 1 second. I also > need to send this number of pulses out of one of the CPLD pins somehow. I > would GREATLY appreciate any help,code, tutorial referal....from > anyone...thnx in advance. This should get you started: Create a 1-second timer. When you start this timer, its output is HI. When the timer expires, its output is LO. Feed this output into the enable pin of your counter that counts pulses. This ensures that your pulse counter only runs during that 1-second period. -Dave Pollum Dave Pollum |
|
![]() |
| Thread Tools | Search this Thread |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| VHDL 12 bit BCD counter | dv09 | Hardware | 0 | 10-07-2009 05:57 PM |
| How to execute an external software from VHDL? And how to interface VHDL with JAVA? | becool_nikks | Software | 0 | 03-06-2009 07:08 PM |
| Help on auto conversion from Matlab to vhdl on filter design | hardheart | Hardware | 0 | 12-07-2007 09:19 AM |
| ARRAY(n DOWNTO 0) OF STD_LOGIC_VECTOR(m DOWNTO 0) - VHDL | freitass | Hardware | 0 | 11-01-2007 03:44 PM |
| VHDL problem - Signal counter cannot be synthesized, bad synchronous description. | shipacpoloy | Software | 0 | 08-14-2007 07:26 AM |