Beruflich Dokumente
Kultur Dokumente
Lab Manual 12
Safety, Equipment & Full attention to relevant Required attention Some attention and Did Not follow
Material (1) safety procedures & and returned all had to be reminded directions and safety
directions. materials to clean up area and precautions. Had to be
Returned all materials appropriately. equipment; and to asked again and again
appropriately and return materials. to return materials
responsibly.
Lab Report (10) Professional and Report include all Report data is Inadequate and non-
accurate representation required accurate accurate but professional lab report
of lab experiment in data with some presented in non- with inaccurate results.
terms of problem minor inadequacies professional manner Report did not include
statement, circuit design, in presentation. along with some the required analysis
observations, results, errors in analysis and and graphs along with
analysis and conclusion. conclusion wrong or no
conclusion.
VIVA (5) The related questions Student partially able Student partially able Do not know about
are answered fully. to answer to to answer to working of circuit.
question. Aware question. Not Aware Unable to answer the
about the working of about the working of questions.
circuit. circuit.
<------Total points earned = Lab Performance Grade----->
Objectives
To learn about the DSCH software
To learn implementation of switch level logic
To get to know about the usage of DSCH software
To design switch level logic using DSCH software
Introduction to DSCH
The DSCH program is a logic editor and simulator. DSCH is used to validate the architecture of the
logic circuit before the microelectronics design is started. DSCH provides a user-friendly environment
for hierarchical logic design, and fast simulation with delay analysis, which allows the design and
validation of complex logic structures. DSCH also features the symbols, models and assembly support
for 8051 and PIC16F84 controllers. Designers can create logic circuits for interfacing with these
controllers and verify software programs using DSCH.DSCH3 is the companion software for logic
design. Based on primitives, a hierarchical circuit is built and simulated. Interactive symbols are used
to friendly simulation, which includes delay and power consumption evaluation.
Software Description
User-friendly environment for rapid design of logic circuits
Supports hierarchical logic design
Added a tool on fault analysis at the gate level of digital
(Faults: Stuck-at-1, stuck-at-0.)
The technique allows injection of single stuck-at fault at the nodes of the circuit.
Improved interface between DSCH and Winspice.
Handles both conventional pattern-based logic simulation and intuitive on screen
mouse- driven simulation
Built-in extractor which generates a SPICE net list from the schematic diagram
(Compatible with PSPICETM and WinSpiceTM)
Generates a VERILOG description of the schematic for layout conversion
Immediate access to symbol properties (Delay, fan-out)
Model and assembly support for 8051 and PIC 16F84 microcontrollers
Sub-micron, deep-submicron, nanoscale technology support
Supported by huge symbol library
Features
Designs at the logic level of abstraction
Describe a digital circuit in terms of primitive logic functions such as or, and nor, etc.
Allow for the nets interconnecting the logic functions to carry 0, 1, x and z values
At the analog-transistor level of modeling, we use an electronic model of the circuit
elements and allow for analog values of voltages or currents to represent logic values on the
interconnections.
Digital System Design P a g e 83
Gift University Gujranwala Electrical Engineering
CMOS Switch
Is designed to propagate both 0 and 1 well
Nmos is only able to propagate 0 well
Pmos is only able to propagate 1 well
To instantiate CMOS switches :
cmos [instance name] (output, data, ncontrol, pcontrol);
The instance name is optional
Exactly equivalent to the following :
nmos (out, data, ncontrol);
pmos (out, data, pcontrol);
// internal declaration
supply1 vdd;
supply0 gnd;
endmodule
Observation (1 Marks)
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________
Lab Tasks
Design the circuit for all primitive logic gates using DSCH Software and also write down their
codes.
[Marks: 6+6=12]
Make a lab report with code and design of your above lab tasks and results of simulation.
[Marks: 6]
Review Questions
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
________________________________________________________________________
__________________________________________________________________