Consider a microprocessor based board which has 7-segment and hex keyboard connected to it. Design an assembly language code such that when user presses any numeric key (1 till 9) on the keyboard; at output “HELLO” should be displayed(repeated) same amount of time on 7 segment display
Answers
Answer:
Objectives
The objectives of this laboratory are the following:
• To become familiar with the seven-segment displays on the Nexys2 board
• To design a circuit using decoders and multiplexers that drives the seven-segment displays on
the Nexys2 board
• To implement a 4-digit hex-to-7-segment decoder on the Nexys2 FPGA prototyping board
Seven-segment displays are commonly used as alphanumeric displays by logic and computer systems.
A seven segment display is an arrangement of 7 LEDs (see below) that can be used to show any hex
number between 0000 and 1111 by illuminating combinations of these LEDs. For example, the red
digits on a digital clock use 2-segment LED displays. 7-segment displays come in two flavors:
common anode and common cathode. A common anode 7-segment display has all of the anodes
tied together while a common cathode 7-segment display has all the cathodes tied together.
Explanation: