Preview

T-Bird Tail Light Controller lab

Satisfactory Essays
Open Document
Open Document
415 Words
Grammar
Grammar
Plagiarism
Plagiarism
Writing
Writing
Score
Score
T-Bird Tail Light Controller lab
ELEG 2130

Digital Logic Design Laboratory

Lab 10: T-Bird Tail Light Controller

Station: 13

Prepared by:
Turki Alshubrumi
Ali Alazman
Abdulelah Alshuwaish
04/30/13

1. Objective
In this lab we programed a finite state machine in VHDL and then we tested it. After that, we simulate the various tail light operations for a T-Bird automobile.
2. Equipment

3. Procedure
We copied the skeleton of the finite state machine code, and the testbench off of the T drive: [T:\Carl.Greco\ELEG_2130\Labs\T-Bird_Tail_Lights]. After that, we found the state equations. (see Figure 1) We continued by implementing our equations to found the code needed. In figure 2 we verified and simulated the VHDL code by running it for 10 ms. Then we made the needed pin for downloading the program to the Basys2 board by using PlanAhead. In the end, we downloaded and tested the program on the Basys2 board.
4. Results while simulating the VHDL code, the program work correctly after we restarted the Basys2 board.

5. Discussion Questions
1. What type of state machine is this, Moore or Mealy?
A Moore state machine.
2. How many states are there and how many flip-flops would be required to implement this state machine using binary state assignment (Simplest in Table 7-6)?
There were eight states in this state machine and 3 flip-flops..
3. How many total Slice Flip Flops, 4 input LUTs, Slices, and IOBs were used for each of the implementations of the tail light controller?
It is 36 Slice Flip Flops, 19 4-input LUTs, 26 Slices, and 11 IOBs.
What is a LUT?
It is the look up table, which computerized the truth table.
4. Why is the number of slice flip flops greater than the number required for binary state assignment?
It is important to run the code otherwise.

6. Conclusion
In this lab was found an opportunity to design and implement a state machines in VHDL and on the Basys2 board.
7. Attachments

Figure 1: VHDL

You May Also Find These Documents Helpful

  • Good Essays

    Xc60 Unit 8 Project

    • 568 Words
    • 3 Pages

    The behaviour of the vehicle and its operation can be executed by maintaining the vehicle speed, brainwave signal generation and by varying the PWM signals.…

    • 568 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    ECT114 week 3 lab

    • 299 Words
    • 2 Pages

    d. Open a block diagram file in Quartus II, Insert the logic symbol from part b. Add inputs and outputs. Name the inputs SWITCH1 and SWITCH2. Label the output as LIGHT. Copy and insert your figure below. (4 points)…

    • 299 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    4. In the source window right click on the device and select add source and add the written verilog code as shown in figure 3 and figure 4.…

    • 419 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    Unit 1 Labs JM

    • 964 Words
    • 5 Pages

    Exercise 1.2.9 – 1111, compares 2 bits and produces a 1 if either of them are a 1 or a 0 otherwise…

    • 964 Words
    • 5 Pages
    Satisfactory Essays
  • Satisfactory Essays

    2.What number does a bit that is turned on represent? What number does a bit that is turned off represent? On is 1 and Off is 2…

    • 286 Words
    • 2 Pages
    Satisfactory Essays
  • Satisfactory Essays

    2. What number does a bit that is turned on represent? What number does a bit that is turned off represent?…

    • 388 Words
    • 2 Pages
    Satisfactory Essays
  • Good Essays

    7) How many nodes does the wavefunction of the 1st excited state of a 1D particle in a box have?…

    • 863 Words
    • 4 Pages
    Good Essays
  • Powerful Essays

    Pt1420 Unit 1 Assignment 2

    • 1305 Words
    • 6 Pages

    2. What number does a bit that is turned on represent? What number does a bit that is turned off represent?…

    • 1305 Words
    • 6 Pages
    Powerful Essays
  • Satisfactory Essays

    BCA SEM I / BCA 1040 / Unit 1 Logic Design Self Assessment Questions 1.2 1. Decimal means base __________. 2. The decimal value of the bit pattern 11111111 is _________. 3.…

    • 4533 Words
    • 19 Pages
    Satisfactory Essays
  • Satisfactory Essays

    For Question 9 -- Paste you pseudo code here. DO NOT paste Visual Basic program code as your design solution. That will result in 10 points deducted from the homework assignment.…

    • 651 Words
    • 4 Pages
    Satisfactory Essays
  • Powerful Essays

    IP Subnetting

    • 333 Words
    • 2 Pages

    9. Given 3 bits of mask for the host portion, how many host addresses are available?…

    • 333 Words
    • 2 Pages
    Powerful Essays
  • Good Essays

    2. Convert your binary result back into decimal to prove your answer is correct. This is also shown in the following example.…

    • 705 Words
    • 5 Pages
    Good Essays
  • Powerful Essays

    Functionalism is a macro theory, which is based on society as a whole, rather than just that of the individual. It is argued that functionalism generates many things for society. Religion, from a functionalist point of view, socialises people, teaching them norms and values of society, which are the basis for social unity. Religion further is a structure within functionalism which aids in influencing individuals lives. Functionalism claims that social solidarity, the uniting of people in society is an important part of maintaining social order, which is a functional pre-requisite for society to survive. In addition, Functionalists use the term, ‘Organic Analogy’, which is the comparison between society and the human body. The idea that like organs is a necessary condition in a human body, ensuring it functions correctly, society has different institutions, like religion which join up with others to enable society to work well, maintaining mutual agreement in society.…

    • 2524 Words
    • 11 Pages
    Powerful Essays
  • Good Essays

    Symbolism In Moby Dick

    • 646 Words
    • 3 Pages

    Through the symbol of the wind as a microcosm for the natural world and Ahab’s interaction with the wind, Herman Melville argues that human will will never been able to subvert the natural world long term, and short term attempts will be at the cost of the individual. Throughout Moby Dick, Melville characterizes Ahab as ambitious and charismatic, a leader who constantly internally and externally compares himself to a god. The wind acts as a symbol, an object that represents a greater intangible motif, for the natural world. Through Ahab’s monologue about his interactions with the wind, his own helplessness within the natural world becomes evident. Ahab begins by stating “Were [he] the wind, [he]’d blow no more on such a wicked, miserable world” (Melville, 337),…

    • 646 Words
    • 3 Pages
    Good Essays
  • Satisfactory Essays

    This paper is the first part of the Teaching Project assignment. I will present the main teaching objective accompanied by some specific goals, and a brief overview of the actual project.…

    • 305 Words
    • 2 Pages
    Satisfactory Essays