Project: Build a circuit to play Black Jack.

Nov. 6, 2003

EE481 Logical Design Lab
Fall 2003, Project
Prof. Michael E. Lhamon

Experiments

  1. You may use whatever technology you choose to implement your design, discrete logic gates, PALs, CPLD's or any combination thereof. (Be sure to use drop resistors in series with the LED's and LED display.)

      architecture
  2. Inputs to the circuit will be Clock, Start, Hit, and Stand.  Start, Hit, and Stand are user inputs via a debouced push buttons.  You are allowed to use additional clocks if necessary.  ( Hint: multiplexing the LED display saves pins but require an additional clock.)
  3. Outputs will have a minimum of two 7-segment LED displays and three LED's.  (You can be creative on implementation..)   The information shown above is what must to conveyed to the user in all designs..
  4. The architecture shown above is one possible implementation.  Hint:  What is the use of "0", "10" and "17" inputs to the mux? 
  5. The card drawn must come from a random number generator and assume the deck of cards is infinite.  Hint: You can design a counter that sequences 1 through 10 which is clocked from a high speed source or you can use an additional input  non-debounced  to drive the clock to the 1-10  counter.
  6. Ace's count as 1 or 11 but to simplify the design you can assume that any one player cannot have more than one Ace.
  7. Hints are not necessary to follow.
  8. CPLD's have an IC count of 3, PLD's have an IC count of 2. Use a minimal number of IC's in your design to obtain maximum credit.
  9. The static current consumption for your digital circuit without LED's and clocks will be measured.  Lowest current obtains maximum credit.
  10. A working design is worth more credit then a sub optimal design which doesn't work.
  11. Player's and Dealers score displays are for extra credit points.
  12. Be sure to read your PALASM and ABEL (Design Direct) documentation on software syntax to minimize your design effort and to maximize your success.
  13. The operational flow chart below is how every design needs to operate.  Notice that is only covers user and machine interactions.
  14. More info to follow.


Operational Flowchart







ee481