Mini Project Report
Mini Project Report
SBqM mini-project
Contents
1.
2.
System Icon:........................................................................................................ 2
3.
4.
5.
6.
7.
8.
SBqM mini-project
Widt
h
2
bits
1 bit
1 bit
1 bit
1 bit
Description
5
bits
1 bit
1 bit
1 bit
Outputs
Wtime
Empty
Full
alarm
2. System Icon:
SBqM mini-project
State
S0
S1
S2
Description
The queue is empty initial state
The queue is occupied but not full
The queue is full.
SBqM mini-project
SBqM mini-project
Full Case:
SBqM mini-project
SBqM mini-project
8.
The transcript :
Control Block
The block is the main FSM responsible of mapping the persons counted in the
queue and outputs to the interface an empty and full signal that indicates
the status of the queue.
SBqM mini-project
Port
Clk
Reset
width
1
1
Type
Input
Input
pcount
Input
empty
Input
full
Output
description
Clock of the system
Reset signal for
resetting the system
and initializing it.
Persons count in the
queue
Empty flag indicating
the states of the
queue
Full flag indicating
the states of the
queue
Control Sensor
The block is a FSM responsible of mapping the sensors value to an output that
drives the persons counter block.
SBqM mini-project
Port
Clk
Reset
width
1
1
Type
Input
Input
e_phcell
Input
o_phcell
Input
Phcell
Output
description
Clock of the system
Reset signal for
resetting the system
and initializing it.
Active low sensor at
entrance
Active low sensor at
exit
Mapped Sensors
value
Wtime Block
The block is mainly responsible for calculating the waiting time for customers in a
queue. It was supposed that that the time is calculated according to equation:
Port
Clk
Reset
Type
Input
Input
description
Clock of the system
Reset signal for resetting
9
SBqM mini-project
tcount
pcount
Input
Input
Wtime
Output
Pcounter block
10
SBqM mini-project
11