Cea Report DLD Updated
Cea Report DLD Updated
Cea Report DLD Updated
Semester project
Semester project
digital logic design
Assigned by prof- Shihzad Ahmad sir
Submiited by :
Name
Muneer Ahmad
Reg#
22MDBCS273
1|
Page
MUNEER AHMMAD 22MDBCS273
Title:
Consider the following traffic light controller.
"A" street runs north-south, "B"street runs east-west, and "C" street enters the
intersection from the southeast. "A" street is quite busy, and it is frequently
difficult for cars heading south on "A" to make the left turn onto either "B" or "C".
In addition, cars rarely enter the intersection from "C" street. Design a traffic light
state diagram for this three-way intersection to the following specifications:
a). There are five sets of traffic lights, facing cars coming from "A" north, "A"
south, "B"east, "B" west, and "C" street.
a) The red, yellow, and green lights facing cars that are heading South on road
A are augmented with a left turn arrow that can be lit up as either green or yellow
or not lit up at all.
b) The normal sequencing of lights facing the cars heading South on road A is
arrow green, arrow yellow, traffic light green, traffic light yellow, traffic light red,
and repeat. In other words, the left arrow light is illuminated in every complete
cycle of the lights.
c) However, it should be possible for traffic going from north to south on "A"
street to cross the intersection even when the left turn arrow is illuminated.
Therefore, the traffic light green should also be illuminated while the turn arrow is
lit up.
d) Cars traveling from south to north on "A" street (and all directions on "B"
and "C" streets) must see a red light while the left turn arrow is illuminated for the
traffic heading south.
e) A car sensor Cis embedded in "C" street to detect whether a car is waiting to
enter the intersection from the southeast. 8. A timer generates a long interval
signal, Time Long (TL), and a short interval signal, Time Short (TS) when set by a
start timer (ST) signal.
h. Red and green lights are lit up for at least a TL unit of time. Yellow lights, the
green arrow, and the yellow arrow are lit up for exactly a TS unit of time. The "C"
street lights cycle from red to green only if the embedded car sensor
2|
Page
MUNEER AHMMAD 22MDBCS273
indicates that a car is waiting. The lights cycle to yellow and then red as soon as no
cars are waiting. Under no circumstances is the "C" street green light to be lit for
longer than a TL unit of time. Colorado State University-ECE 451/450: Digital
System Design - FALL 2019 North --Left turn path 0000 Lights as seen from all
other directions Traffic lights face Cars Lichts as seen traveling in the direction
from A North of the arrow heading south Fig.
The Head of each arrow is a traffic light facing the back of the arrow Inputs: o
Sensor C short and long time intervals TS and TL. •
Outputs: o "A" street north arrow green/yellow/off (three separate signals) o "A"
street north light green/yellow/red o "A" street south light green/yellow/red o "B"
street east light green/yellow/red o "B" street west light green/yellow/red
o "C" street southeast green/yellow/red and the start timer (ST) signal
Recommended Procedures: • • Find all possible loops for FSM(s) (if more than
one).
Perform manual design and verify it including state minimization and encoding in
Cadence. Also write a Verilog model without state minimization and the simple
binary encoding and verify its functionality with Cadence. Prelab:
a. State Transition Diagram
b. State Transition Table
C. Boolean Equations for all Inputs.
Gates:
1) And gate:
The AND gate is a basic digital logic gate that implements logical conjunction ( )
from mathematical logic – AND gate behaves according to the truth table above. A
HIGH output (1) results only if all the inputs to the AND gate are HIGH (1). If not
all inputs to the AND gate are HIGH, LOW output results. The function can be
extended to any number of inputs.
2) complement gate:
3|
Page
MUNEER AHMMAD 22MDBCS273
a two-input gate that provides both the AND and the NAND functions in a
single circuit. Such gates do exist and they are referred to as complementary
output gates. The general symbology for such a gate is the basic gate figure
with a bar and two output lines protruding from it.
3. 7 segment display:
It is widely used in digital clocks, basic calculators, electronic meters, and
other electronic devices that display numerical information. It consists of
seven segments of light-emitting diodes (LEDs) which are assembled like
numerical 8. each display unit is usually has a dot point (DP).
5. Jk flip flop
4|
Page
MUNEER AHMMAD 22MDBCS273
This type of flip flops was invented by a Texas instrument engineer, Jack
Kilby. He is the scientist who has invented the first integrated circuit. So,
the 'JK' in JK flip flop circuit came from the name of the
scientist who invented it that is 'Jack Kilby'. It also has two input units like
other sequential circuits.
Procedure:
In this complex Engineering Activity we are going to design 5
ways traffic controller system.
In this system we want there is a chock and the cars are coming
from 5 sides and we want to control it by a traffic signal lights.
1) For this first we take all the components and which is
required for this complex ENGINEERING ACTIVITY.
2) For this Activity first we need to make a 4bit synchronous
counter on JK FLIP FLOP. And we designed a JK FLIP
FLOP as well as.
3) After designing of this flip flop we connect the flip flop to the
7 segment display.
5|
Page
MUNEER AHMMAD 22MDBCS273
6|
Page
MUNEER AHMMAD 22MDBCS273
7|
Page
MUNEER AHMMAD 22MDBCS273
CONCLUSION:
The Task Which was assigned to us is completed. But it was very very difficult to
designing but complete finally and also working good.
8|
Page