Blackjack Machine Description
This design is the combination of more than one basic logic design. Design specification, methods, and complete source files are provided here for all parts of the blackjack machine example, which contains the following logic designs:
Multiplexer
5-bit adder
Binary to BCD converter
State machine
This example is a classic blackjack machine based on C.R. Clare`s design in Designing Logic systems Using State Machines (McGraw Hill, 1972). The blackjack machine plays the dealer`s hand, using typical dealer strategies to decide, after each round of play, whether to draw another card or to stand.
The blackjack machine consists of these functions:
Card Reader - Reads each card as it is drawn. (Neither the card reader nor the physical design is discussed here. Assume that the card reader provides a binary value representing the card read.)
Control Logic - Tells it how to play each hand (based on the total point value of the cards presently held).
Display Logic - Displays scores and states on the machine`s four LED displays.