UPC EETAC Bachelor's Degree in Telecommunications Systems and in Network Engineering EEL

Chapter 2 problems

     - D2.13 -

 Electronic roulette (version using shift registers)

Problems

D2.12

D2.14


1. Specifications

Let us design an electronic Roulette containing 37 LED as shown in Fig. 1 based on shift registers. We will follow structural VHDL plan C2 using EDA tools and module expandability techniques.  

Roulette     Symbl

Fig. 1. Electronic roulette. The wheel have a zero (house edge), and numbers from 1 to 36. The odds of winning are thus 37 to one (2.7%).

Some ideas to start the project:

- Use Shift_reg_4bit as the basic component.

- Implement a FSM to control the Play button and the Shift_reg_37bit (plan C2). The wheel is spinning while Play button is kept clicked.

- CLK signal. Users have to see how the wheel of LED is spinning while the play button is kept pressed. Thus, let us imagine that turning on and off all the 37 LED takes about 1.5 s. Design a  CLK generator to practically implement a 55.5 Hz squared waveform from a 50 MHz crystal oscillator.