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

Basic Problem with Max II Board

Altera_Forum
Honored Contributor II
1,229 Views

HI,  

 

I have a problem while programming the Max II Development Board. 

 

I tried to do a basic positive edge triggered D-Flip-Flop while using the switches and Leds on the Board. I use the schematic. The simulation in Quartus works fine, but after programming the Flip Flop triggers on the positive AND the negative edge!!  

 

Hope you can help me! 

 

Stephan
0 Kudos
4 Replies
Altera_Forum
Honored Contributor II
278 Views

 

--- Quote Start ---  

HI,  

 

I have a problem while programming the Max II Development Board. 

 

I tried to do a basic positive edge triggered D-Flip-Flop while using the switches and Leds on the Board. I use the schematic. The simulation in Quartus works fine, but after programming the Flip Flop triggers on the positive AND the negative edge!!  

 

Hope you can help me! 

 

Stephan 

--- Quote End ---  

 

 

Hi Stephan, 

 

what kind of board are you using ? Can you post your project in the forum ? 

 

Kind regards 

 

GPK
0 Kudos
Altera_Forum
Honored Contributor II
278 Views

I use the Max II Development Board REV. 02.... 

I could post the project but its just a simple edge-triggered D-FF ....Maybe i have to debounce the Switch in the CPLD even if there is a RC for debouncing.What u think? 

 

Stephan
0 Kudos
Altera_Forum
Honored Contributor II
278 Views

I tried to debounce the switches with a Flip-flop, but it didn´t work. Maybe somebody can tell me how to debounce in the CPLD. 

 

Stephan
0 Kudos
Altera_Forum
Honored Contributor II
278 Views

 

--- Quote Start ---  

I tried to debounce the switches with a Flip-flop, but it didn´t work. Maybe somebody can tell me how to debounce in the CPLD. 

 

Stephan 

--- Quote End ---  

 

 

Hi Stehan, 

 

have a look to : http://www.fpga4fun.com/debouncer2.html 

 

 

 

Kind regards 

 

GPK
0 Kudos
Reply