Professional Documents
Culture Documents
on
Clock with Alarm
( Using Verilog Code on Vivado )
Submitted by
Shubham Rai (201300033)
Abhishek Rathour (201500022)
Supervisor
Dr. Manish Gupta
( Assistant Professor )
Department of Electronics and Communication Engineering
I Shubham Rai, BTech 3rd year, 201300033 and Abhishek Rathour, 2nd year
201500022 hereby declare that the work presented in this project report entitled
“Clock with Alarm (using Verilog HDL” Is an authentic record of our own
work carried under supervision of Dr. Manish Gupta (Assistant Professor).
CERTIFICATE
This is to certify that the above statement made by the students are correct to the
best of my knowledge and belief.
Date:
Place: Mathura
Page no. 2
CONTENTS
Introduction 4
Verilog Code 9
Conclusion 14
References 15
Page no. 3
INTRODUCTION
Page no. 4
The design of automatic washing machine
Designing of an automatic machine system can be easily done using the
concept of FSM using Verilog HDL. It becomes one of the basic needs of
public. It helps people to save their time and using it for some necessary work.
Because of easy to implant in one’s house, we can see it in most of the houses.
It has various other advantages, like operation of each step automatically instead
of manually. Analysis over its power and area consumption is a never-ending
process. People are working tirelessly to achieve the above-mentioned
objectives.
State Diagram
It is used to describe how our code will work. It describes the state it will follow
to achieve the mechanism of automatic washing machine.
State is basically a various input/output condition through which system goes.
A system can have many states depending upon the number of inputs and
algorithm involved. When these states are finite in number, we termed it as
finite state machine(FSM).
Page no. 5
Fig 1: state diagram1
Page no. 6
FLOWCHART
The below given flowchart describes how the system will work from
check_door to spin with other intermediate states.
Page no. 7
Ports Description and The Various States
S.No. State code State Description
1 3’b000 check_door
2 3’b001 fill_water
3 3’b010 add_detergent
4 3’b011 cycle
5 3’b100 drain_water
6 3’b101 spin
Simulation Results
Page no. 10
RTL Schematic
RTL means register transfer level. It is the model of the actual circuit written in
the hardware descriptive language like VHDL or Verilog. In essence, the HDL
code describes how data is transferred as it passes through register to register in
the transistor-based circuit. Simply it converts the texted code into circuits.
The below image shows the RTL schematic of automatic washing machine.
Power
Fig 5: RTL Estimation
Schematic of automatic washing machine
Page no. 11
In a twenty first century power consumption becomes an important factor.
Therefore, systems are designed considering the power as one of the important
factors.
Power dissipated by any circuit is of two types:
Static power dissipation (power consumed when circuit is not in operational
mode), while the second one is dynamic power dissipation( the power dissipated
by circuit when it performs some operations.
Hence, total power dissipation must be as small as possible.
The power dissipation of a circuit depends on the type of inverter used to design
the circuit, temperature of the working environment etc.
Power analysis for automatic washing machine considering input voltage and
difference in temperature has been shown.
Page no. 12
when temperature is change to 10-degree Celsius CONCLUSIONS
Page no. 13
Automatic washing machine code has been successfully implemented using the
concept of FSM in Verilog HDL. All the functionalities have been checked.
Total power consumed ( Static and Dynamic power dissipation have been
analysed.
PIN diagram of the circuit obtained by implementing above discussed properties
have been included and shown as
Page no. 14
REFERENCES
Page no. 15