We are Permanently Move to vupk.net Please Join us there.
Showing posts with label CS302. Show all posts
Showing posts with label CS302. Show all posts

CS302 VU Current Final Paper Spring July 2012

Write down at least two applications of a shift register.
Explain memory expansion process.
Draw the NOR based S-R Latch
Explain Rotate Left Right Operation with the help of diagram.
You are given the block diagram of 74HC190 integrated circuit up/down counter, explain the function of labeled inputs/outputs.
Explain Memory Select or Enable Signals
Explain the implementation of First In First Out (FIFO) Memory by using RAM.
Explain application of demultiplexer

CS302 GDB Idea Solution Spring July 2012

CS302 GDB Idea Solution Spring July 2012

Solution:
We know that there are circuits in which the output at any instant of time depends not only on the present input of the system but also on the past outputs obtained by the system. Such logic circuits are called sequential logic circuits. We know that sequential logic circuit depends also on the past output of the system. So they require a memory element to store the past outputs. For this purpose the flip-flops are used.
Flip-flops are nothing but the memory elements used in the sequential circuits for storing the past output of the system. A flip-flop circuit can maintain a binary state indefinitely until directed by any input signal to switch states. So proved that memory elementary essential for digital circuits because these memory elements are the backbone of digital circuits and these are required to store the outputs

Advantages One advantage of digital circuits when compared to analog circuits is signals represented digitally can be transmitted without degradation due to noise. For example, a continuous audio signal, transmitted as a sequence of 1s and 0s, can be reconstructed without error provided the noise picked up in transmission is not enough to prevent identification of the 1s and 0s. An hour of music can be stored on a compact disc using about 6 billion binary digits.
In a digital system, a more precise representation of a signal can be obtained by using more binary digits to represent it. While this requires more digital circuits to process the signals, each digit is handled by the same kind of hardware. In an analog system, additional resolution requires fundamental improvements in the linearity and noise characteristics of each step of the signal chain.
Computer-controlled digital systems can be controlled by software, allowing new functions to be added without changing hardware. Often this can be done outside of the factory by updating the product’s software. So, the product’s design errors can be corrected after the product is in a customer’s hands.
Information storage can be easier in digital systems than in analog ones. The noise-immunity of digital systems permits data to be stored and retrieved without degradation. In an analog system, noise from aging and wear degrade the information stored. In a digital system, as long as the total noise is below a certain level, the information can be recovered perfectly

CS302 GDB Solution Spring 2012

Importance of Memory Elements in Digital Circuits

Solution:
We know that there are circuits in which theoutput at any instant of time depends not only on the present input of thesystem but also on the past outputs obtained by the system. Such logic circuitsare called sequential logic circuits. We know that sequential logic circuitdepends also on the past output of the system. So they require a memory elementto store the past outputs. For this purpose the flip-flops are used. 
Flip-flops are nothing but thememory elements used in the sequential circuits for storing the past output ofthe system. A flip-flop circuit can maintain a binary state indefinitely untildirected by any input signal to switch states. So proved that memory elementare essential for digital circuits because these memory elements are the backbone of digital circuits and these are required to store the outputs

Solution 2:
Digital electronics represent signals by discrete bands of analog levels, rather than by a continuous range. All levels within a band represent the same signal state. Relatively small changes to the analog signal levels due to manufacturing tolerance, signal attenuation or parasitic noise do not leave the discrete envelope, and as a result are ignored by signal state sensing circuitry.
In most cases the number of these states is two, and they are represented by two voltage bands: one near a reference value (typically termed as “ground” or zero volts) and a value near the supply voltage, corresponding to the “false” (“0″) and “true” (“1″) values of the Boolean domain respectively.
Digital techniques are useful because it is easier to get an electronic device to switch into one of a number of known states than to accurately reproduce a continuous range of values.
Digital electronic circuits are usually made from large assemblies of logic gates, simple electronic representations of Boolean logic functions.

Advantages
One advantage of digital circuits when compared to analog circuits is  signals represented digitally can be transmitted without degradation due to noise. For example, a continuous audio signal, transmitted as a sequence of 1s and 0s, can be reconstructed without error provided the noise picked up in transmission is not enough to prevent identification of the 1s and 0s. An hour of music can be stored on a compact disc using about 6 billion binary digits.
In a digital system, a more precise representation of a signal can be obtained by using more binary digits to represent it. While this requires more digital circuits to process the signals, each digit is handled by the same kind of hardware. In an analog system, additional resolution requires fundamental improvements in the linearity and noise characteristics of each step of the signal chain.
Computer-controlled digital systems can be controlled by software, allowing new functions to be added without changing hardware. Often this can be done outside of the factory by updating the product’s software. So, the product’s design errors can be corrected after the product is in a customer’s hands.
Information storage can be easier in digital systems than in analog ones. The noise-immunity of digital systems permits data to be stored and retrieved without degradation. In an analog system, noise from aging and wear degrade the information stored. In a digital system, as long as the total noise is below a certain level, the information can be recovered perfectly.

CS302 Assignment No 5 Solution Spring 2012

cs302 assignment solution
Question 1                                                                                        Marks 10
Give next sequence of states for 5 bit Johnson counter having initial value as 00111 (you are required to give next 5 values) in tabular form as shown below,


Clock Pulse Q0 Q1 Q2 Q3 Q4





Question 2                                                                                 Marks 10
Give next sequence of states for 5 bit Ring counter having initial value as 00100 (you are required to give next 5 values)

Clock Pulse Q0 Q1 Q2 Q3 Q4


Solution:
cs302 assignment solution

CS302 # 4 spring June 2012


CS302 spring 2012

Assignment No. 4

                                                                   

Due Date:

Your assignment must be uploaded/submitted before or on 25th June, 2012.

Total Marks: 20

Rules for Marking:

It should be clear that your assignment will not get any credit if:

*  The assignment is submitted after due date.
*  The submitted assignment file is corrupted.
*  The assignment is copied.
*  The assignment material is directly copied from internet.

Objective:
The objective of this assignment is to prepare students to familiar with making next state table for Moore’s machine and designing 4 bit up and down counters using D flip flops.

Q1                                                                                                     Marks 6
State diagram of a Moore machine is given below; draw the next state table of this Moore machine (starting from state 101).

Solution:









Present State

Next State


Q2


Q1


Q0


Q2


Q1

Q0


1


0

1

1

0

0

1


0


0


0


0


1

0


0


1


0


1


0


0

1

0

1

0

1


Q2                                                                            Marks 7 + 7 = 14
Give the input tables for both 4 bit up counter and 4 bit down counter consisting of D type flip flops.
Solution:
                                                                                     

Present State

Next  State

D Flip Flop Input
Q3
Q2
Q1
Q0
Q3
Q2
Q1
Q0
D3
D2
D1
D0
0
0
0
1
0
0
0
0
0
0
0
0
0
0
0
0
0
0
1
1
0
0
1
1
0
0
1
1
0
0
1
0
0
0
1
0
0
0
1
0
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
0
0
1
0
0
0
1
0
0
0
1
1
1
0
1
1
1
0
1
1
1
0
1
1
0
0
1
1
0
0
1
1
0
1
0
0
1
1
0
0
1
1
0
0
1
1
0
0
0
1
0
0
0
1
0
0
0
1
0
1
1
1
0
1
1
1
0
1
1
1
0
1
0
1
0
1
0
1
0
1
0
1
1
0
1
1
1
0
1
1
1
0
1
1
1
0
0
1
1
0
0
1
1
0
0
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
0
1
1
1
0
1
1
1
0
0
0
0
1
0
0
0
1
                         D Flip Flop input table for 4 bit up counter





                      


Present State

Next  State

D Flip Flop Input
Q3
Q2
Q1
Q0
Q3
Q2
Q1
Q0
D3
D2
D1
D0
0
0
0
1
1
1
1
0
1
1
1
0
0
0
0
0
0
0
0
1
0
0
0
1
0
0
1
1
0
0
0
0
0
0
0
0
0
0
1
0
0
0
1
1
0
0
0
1
0
1
0
1
0
0
1
0
0
0
1
0
0
1
0
0
0
1
0
1
0
1
0
1
0
1
1
1
0
1
0
0
0
1
0
0
0
1
1
0
0
1
1
1
0
1
1
1
1
0
0
1
0
1
1
0
0
1
1
0
1
0
0
0
1
0
0
1
1
0
0
1
1
0
1
1
1
0
0
0
1
0
0
0
1
0
1
0
1
0
1
1
1
0
1
1
1
1
0
1
1
0
1
0
1
0
1
0
1
1
0
0
1
1
0
1
1
1
0
1
1
1
1
1
1
1
0
0
1
1
0
0
1
1
1
0
1
1
1
1
1
1
1
1

                                             D Flip Flop input table for 4 bit down counter