Forum Discussion
Niko3
Occasional Contributor
3 years agoprogramming successful but no function of CPLD
Hi, I am quite new with CPLD design and hope to get help here. For test purposes and learning I made a simple schematic with an external clock of 1 kHz, a 4bit counter (74161) and a BCD to 7 segment...
- 3 years ago
Hi,
which series resistor value? Clock edge may be too slow and cause multiple transitions. As you say it's a self designed board, insufficient power supply bypassing and ground bounce can cause irregular CPLD behaviour.
FvM
Super Contributor
3 years agoHi,
I suspect your code in the first place.
- Niko33 years ago
Occasional Contributor
I didn't write code. I used the block editor to design the schematic, see attachment (for EPM240).
I also made a simulation which showed correct waveforms.
- FvM3 years ago
Super Contributor
Hi,
how do you observe the counter output? What's the 1 kHz external clock source, sure it's suited as CPLD clock?- Niko33 years ago
Occasional Contributor
I use a DSO/state analyzer. It has a 5V 1 kHz clock output. The 5V output is scaled down to 2.8V with a serial resistor and a zener diode.
Five channels of the state analyzer show the clock input and the 4 counter outputs which are connected to pins of the CPLD.