15-01-2014, 04:36 PM
IMPLEMENTATION OF VOTING MACHINE
AIM:
To implement a voting machine using verilog HDL in CPLD.
SOFTWARE REQUIRED:
XILINX 13.1 version
HARDWARE REQUIRED:
SPARTAN 3500 kit
THEORY:
Voting machines are the total combination of mechanical, electromechanical, or electronic equipment that is used to cast and count votes. Here there are four candidates and a clock signal is generated by a global clock.
By voting a person a everytime the data was stored and it was incremented accordingly. Finally the person with more votes is declared as the winner. This logic can be designed in verilog/VHDL using XILINX. After simulation it is implemented in SPARTAN 3E kit.
ALGORITHM:
STEP 1: Write a VHDL code for voting machine. Each module is defined separately and their codes are written separately.
STEP 2: Write a VHDL coding for memory options and memory operations.
STEP 3: Then coding for counting and compare is written.
STEP 4: These operations can be simulated and implemented in SPARTAN 3E kit.