



Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




1.Objectives: Discover how to write a Verilog model for a given finite state machine (FSM). Learn about Mealy and Moore finite state machines. Create and execute a traffic light controller as an example of FSM. Complete an uncomplicated experimental design. 2.Procedure: Task 1: (Complete the State Table)
Figure.1: State Table. Figure.2: Simulation of tlc. Input (X 3 , X 2 , X 1 ) Output (S 3 , S 2 , S 1 ) Reset 001(state0) 010 010(state2) 100 100(state3) 100 100(state3) 111 001(state1) 110 010(state2) 011 001(state1) Figure.3: Simple Experimental Design.
Figure.4: Verilog module for tlc part1. Figure.5: Verilog module for tlc part2. Figure.6: Verilog module for tlc part3.