We are here with you hands in hands to facilitate your learning & don't appreciate the idea of copying or replicating solutions. Read More>>
Share This With Friends......
Please Discuss here about this assignment.Thanks
Our main purpose here discussion not just Solution
We are here with you hands in hands to facilitate your learning and do not appreciate the idea of copying or replicating solutions. Read More>>
For Important Helping Material related to this subject (Solved MCQs, Short Notes, Solved past Papers, E-Books, FAQ,Short Questions Answers & more). You must view all the featured Discussion in this subject group.
For how you can view all the Featured discussions click on the Back to Subject Name Discussions link below the title of this Discussion & then under featured Discussion corner click on the view all link.
Or visit this link
Please Click on the below link to see…
You have to provide all processing steps in all questions otherwise, marks will be deducted. Hand drawn pictures of waveform and images of tables/equations will be marked as ZERO.
Question No. 1 (a) 10 marks
A Seven Segment Decoder is used to decode the given BCD number to display it onto the Seven Segment Display. Block diagram of this process is given in ‘figure 2’.
‘Figure 1’ contains BCD inputs which are applied at BCD to 7 Segment Decoder as a waveform. Your task is to draw waveforms for all segment i.e. a, b, c, d, e, f, g for their respective inputs and also mention the BCD numbers which will be displayed on the Seven Segment Display in sequence for each combination of given inputs.
Question No. 1 (b) 10 marks
You have to write ABEL input file code for a BCD-to-Seven Segment Decoder as discussed in question 1 (a). Your ABEL module must have two sections (Declarations & Test vector using a set) where IC name is 74LS47 and pins 6, 2, 1 and 7 will be used for A3, A2, A1 and A0 respectively as an input.
if you did any paper work, can you show me that?
a,b,c,d,e,f,g shows the sides of 7-segment
the initial input is 0000 since all the bits are zero, see the next inputs
A0 | A1 | A2 | A3 | >>>>> 0000 corresponds to 0
A0 | A1 | A2 | A3 | >>>>> 1001 corresponds to 9
A0 | A1 | A2 | A3 | >>>>> 1000 corresponds to 8
A0 | A1 | A2 | A3 | >>>>> 0110 corresponds to 6
just try to understand the waveforms
For the first combination >> 0 >> skip g and a,b,c,d,e,f will appear and make 0
For the second combination >> 9 >> skip e and a,b,c,d,f,g will appear and make 9
For the third combination >> 8 >> all will contribute a,b,c,d,e,f,g will appear and make 8
For the fourth combination >> 6 >> skip b and a,c,d,e,f,g will appear and make 6
Now simply make make the waveforms which the teacher has made for A0,A1,A2,A3
you have all the combinations
ABEL Stands for Advanced Boolean Expression Language
i think the teacher wants to check your level of understanding, you may google it because there are many tutorials which explain HDL Structure
This design illustrates the implementation of a 7-segment display decoder which uses a truth table to decode a 4-bit binary number and display the decimal equivalent on a 7-segment display.
The following block diagram shows a 7-segment decoder and the positions of the display segments. To light a segment, the corresponding line is driven low. When ena is low, the decoder is enabled. When ena is high, all outputs are driven to a high impedance state.
The following figure shows the simplified block diagram of the design. The binary inputs and the decoder outputs are grouped into sets (bcd and led). The constants ON and OFF are declared so the design can be described in terms of turning a segment on and off. Because the outputs are active low, ON is declared as 0 and OFF is declared as 1.
The design is described in an equations section and a truth table section. The decoding function is described with a truth table that specifies the outputs required for each combination of inputs. The truth table header names the inputs and outputs. The body of the truth table defines the input to output function.
Because the design decodes a number to a 7-segment display, values for bcd are expressed as decimal numbers, and values for led are expressed with the constants ON and OFF; this makes the truth table easy to understand.
The input and output values could just as easily been described in another form. For example, the line in the truth table:
5 -> [ ON, OFF, ON, ON, Off, ON, ON]
could have been written in the equivalent form:
[0,1,0,1] -> 36
In the second equation the input value (5) is expressed in binary and the output (7 bits) are expressed in decimal notation (ON=0 and OFF=1). Either form of the equation is supported.
title '7-segment display decoder 1'
'' a BCD to 7-Segment decoder similar to 7449
'' f| g |b
'' e| d |c
bcd7 device 'P16P8'
D3,D2,D1,D0,Ena pin 2,3,4,5,6;
a,b,c,d,e,f,g pin 13,14,15,16,17,18,19 istype 'com';
bcd = [D3,D2,D1,D0];
led = [a,b,c,d,e,f,g];
ON,OFF = 0,1; ''for common anode LED displays
L,H,X,Z = 0,1,.X.,.Z.;
led.oe = !Ena;
truth_table (bcd -> [ a, b, c, d, e, f, g ])
0 -> [ ON, ON, ON, ON, ON, ON, OFF]
1 -> [ OFF,ON, ON, OFF,OFF,OFF,OFF]
2 -> [ ON, ON, OFF,ON, ON, OFF,ON ]
3 -> [ ON, ON, ON, ON, OFF,OFF,ON ]
4 -> [ OFF,ON, ON, OFF,OFF,ON, ON ]
5 -> [ ON, OFF,ON, ON, OFF,ON, ON ]
6 -> [ ON, OFF,ON, ON, ON, ON, ON ]
7 -> [ ON, ON, ON, OFF,OFF,OFF,OFF]
8 -> [ ON, ON, ON, ON, ON, ON, ON ]
9 -> [ ON, ON, ON, ON, OFF,ON, ON ]
Complete idea solution
Ye to oupr wali file ha, uci ke video bna k share kr de???
Fayda? Q time waste kraty ho sb ka?
Mujtaba Ali Kiani agar next solution na huha tu your account will be banned from the ning site .thanks
kcy karni hain ye assignment