We are here with you hands in hands to facilitate your learning & don't appreciate the idea of copying or replicating solutions. Read More>>

Looking For Something at vustudents.ning.com? Click Here to Search

www.bit.ly/vucodes

+ Link For Assignments, GDBs & Online Quizzes Solution

www.bit.ly/papersvu

+ Link For Past Papers, Solved MCQs, Short Notes & More


Dear Students! Share your Assignments / GDBs / Quizzes files as you receive in your LMS, So it can be discussed/solved timely. Add Discussion

How to Add New Discussion in Study Group ? Step By Step Guide Click Here.

Discuss Plxx

+ How to Follow the New Added Discussions at Your Mail Address?

+ How to Join Subject Study Groups & Get Helping Material?

+ How to become Top Reputation, Angels, Intellectual, Featured Members & Moderators?

+ VU Students Reserves The Right to Delete Your Profile, If?


See Your Saved Posts Timeline

Views: 4587

.

+ http://bit.ly/vucodes (Link for Assignments, GDBs & Online Quizzes Solution)

+ http://bit.ly/papersvu (Link for Past Papers, Solved MCQs, Short Notes & More)

+ Click Here to Search (Looking For something at vustudents.ning.com?)

+ Click Here To Join (Our facebook study Group)

Attachments:

Replies to This Discussion

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>>

 

Note:-

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 

Click Here For Detail.

&

.•°How to Download past papers from study groups°•.

 

Please Click on the below link to see…

.... How to Find Your Subject Study Group & Join .... 

Important!
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?

Image result for seven segment display

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

ABEL Reference

Truth Table Example - 7-Segment Display Decoder


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.

Design Specification

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.

image\ar_bcd7.gif

Design Method

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.

image\ar_bcd72.gif

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.

7-Segment Display Decoder Source File

module bcd7

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.;

equations

led.oe = !Ena;

@dcset

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 ]

''test_vectors edited

end

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

RSS

Latest Activity

Mubashir Rafique replied to + M.Tariq Malik's discussion CS507 Assignment No 03 Fall 2019 Solution & Discussion in the group CS507 Information Systems
11 minutes ago
Mubashir Rafique replied to + M.Tariq Malik's discussion CS507 Assignment No 03 Fall 2019 Solution & Discussion in the group CS507 Information Systems
13 minutes ago
Mubashir Rafique joined + M.Tariq Malik's group
13 minutes ago
Haniya liked +!!!StRaNGeR!!! +'s discussion غزل
14 minutes ago
Ayeeza muskan is now friends with Zulfiqar Hussain and A.Project Developer
16 minutes ago
Rana Ali liked Rana Ali's discussion Spring2019_EDU406_2 assignment
29 minutes ago
Rana Ali replied to Rana Ali's discussion سنا ہے لوگ اسے آنکھ بھر کے دیکھتے ہیں
32 minutes ago
Rana Ali replied to Rana Ali's discussion سنا ہے لوگ اسے آنکھ بھر کے دیکھتے ہیں
37 minutes ago
SONU Ilyas Mughal replied to + M.Tariq Malik's discussion MGT502 Assignment No 01 Fall 2019 Solution & Discussion Due Date: 22-01-2020 in the group MGT502 Organizational Behavior
37 minutes ago
SONU Ilyas Mughal replied to + M.Tariq Malik's discussion MGT502 Assignment No 01 Fall 2019 Solution & Discussion Due Date: 22-01-2020 in the group MGT502 Organizational Behavior
38 minutes ago
+ ! ! ! ❣ maho ❣ ! + replied to Rana Ali's discussion سنا ہے لوگ اسے آنکھ بھر کے دیکھتے ہیں
45 minutes ago
Haniya liked +!!!StRaNGeR!!! +'s discussion فنا ہو جاو گے
1 hour ago

© 2020   Created by + M.Tariq Malik.   Powered by

Promote Us  |  Report an Issue  |  Privacy Policy  |  Terms of Service

.