ATF15XX-DK2 Atmel, ATF15XX-DK2 Datasheet - Page 28
![no-image](/images/manufacturer_photos/0/0/78/atmel_sml.jpg)
ATF15XX-DK2
Manufacturer Part Number
ATF15XX-DK2
Description
KIT CPLD DEVELOPMENT/PROGRAMMER
Manufacturer
Atmel
Specifications of ATF15XX-DK2
Lead Free Status / RoHS Status
Contains lead / RoHS non-compliant
CPLD Design Flow Tutorial
3-8
3300A–PLD–08/02
The next section of this PLD design is a state machine with 15 states to control the dis-
play sequence of the text messages on the LEDs. The GOE push-button switch on the
CPLD Development/Programmer Board controls the flow of this state machine. When
this switch is in the "up" position, the state machine will go from RESET to State-0 to
State-1 to State-2 and so on until it reaches State-14 and then it will go back to State-0.
On the other hand, if the GOE switch is in the "down" position, the state machine will go
in the opposite direction (i.e. State-14 to State13 .. etc).
Finally, the last section of the PLD design will assign the appropriate letters or numbers
to the eight 8-segment LEDs to be displayed during the different states of the state
machine. The user can easily change the letters/numbers to be displayed by changing
this section of the code to the appropriate pre-defined letters/numbers.
SM.ck = COUNTER_1;
sequence SM
{
}
LED1 =
present RESET
present S0
present S14
# FontBK & SM:[S0]
# FontLl & SM:[S1]
# FontLo & SM:[S2]
# FontLg & SM:[S3]
# FontLi & SM:[S4]
# FontLc & SM:[S5]
# FontBK & SM:[S6]
# FontLd & SM:[S7]
# FontLo & SM:[S8]
# FontLu & SM:[S9]
# FontLb & SM:[S10]
# FontLl & SM:[S11]
# FontLi & SM:[S12]
# FontLn & SM:[S13]
# FontLg & SM:[S14];
FontBK & SM:[RESET]
if
if !SM_DIR next S13;
if
if !SM_DIR next S14;
:
SM_DIR next S1;
SM_DIR next S0;
next S0;
CPLD Development/Programmer Kit User Guide