Docsity

Design and Implementation of a 4-bit Resettable Event Counter with Seven-Segment Display, Lab Reports of Electrical and Electronics Engineering

Toggle sidebar
bg1
EXPERIMENT 14. Resettable Event Counter
Equipment and parts required:
1 GAL (16v8 or equivalent)
1 Seven-Segment Display
1 Power Supply
1 Digital Voltmeter
Description
In this experiment, a 4-bit event counter with seven-segment display will be designed and
implemented. The counter has two inputs, clear and event. The counter will be cleared and
displays โ€œ0โ€ when the clear input becomes โ€œ1โ€, and the display will be incremented at the falling
edge of event input
2. Write a VHDL program for the event counter
Write a VHDL code to implement the event counter specified in the above description Print the
source code from the Synario editor window and attach it to the report.
3. Compile the VHDL code using Synario for 16V8 target, and create a JEDEC file.
Describe detailed steps to compile your source code on Synario.
4. Find out pin numbers of input and output ports in 16V8 after compilation.
Signals Pin Number
clear
event
a
b
c
d
e
f
g
5. Program GAL chip using JEDEC file created in Step2.
6. Experiment with Programmed GAL.
Connect the 7-segment display and check if your circuit displays correct results for events
generated by a function generator

Partial preview of the text

Download Design and Implementation of a 4-bit Resettable Event Counter with Seven-Segment Display and more Lab Reports Electrical and Electronics Engineering in PDF only on Docsity!

EXPERIMENT 14. Resettable Event Counter

Equipment and parts required:

1 GAL (16v8 or equivalent) 1 Seven-Segment Display 1 Power Supply 1 Digital Voltmeter

Description

In this experiment, a 4-bit event counter with seven-segment display will be designed and implemented. The counter has two inputs, clear and event. The counter will be cleared and displays โ€œ0โ€ when the clear input becomes โ€œ1โ€, and the display will be incremented at the falling edge of event input

2. Write a VHDL program for the event counter

Write a VHDL code to implement the event counter specified in the above description Print the source code from the Synario editor window and attach it to the report.

3. Compile the VHDL code using Synario for 16V8 target, and create a JEDEC file.

Describe detailed steps to compile your source code on Synario.

4. Find out pin numbers of input and output ports in 16V8 after compilation.

Signals Pin Number clear event a b c d e f g

5. Program GAL chip using JEDEC file created in Step2.

6. Experiment with Programmed GAL.

Connect the 7-segment display and check if your circuit displays correct results for events generated by a function generator