DOC PREVIEW
UCSD CSE 141L - LogicWorks5 Tutorial

This preview shows page 1-2-3-4 out of 13 pages.

Save
View full document
View full document
Premium Document
Do you want full access? Go Premium and unlock all 13 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 13 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 13 pages.
Access to all documents
Download any document
Ad free experience
View full document
Premium Document
Do you want full access? Go Premium and unlock all 13 pages.
Access to all documents
Download any document
Ad free experience
Premium Document
Do you want full access? Go Premium and unlock all 13 pages.
Access to all documents
Download any document
Ad free experience

Unformatted text preview:

1LogicWorks5 Tutorial (Basic)CSE141L –FA05Jianhua LiuCSE Dept. UCSDLogicWorks5l Circuit design tool for teaching and learning purpose. l Build your design from standard libraries and your own subparts. l Create stimulus profile, and simulate your design to verify function.2Tutorial Outlinel Open LogicWorks5 and create a new circuit.l Build a full adder.l Add componentsl Add portsl Add connectionsl Add the full adder into library.l Create a symboll Build a 4-bit adder.l Create bus and breakoutTutorial Outline (cont.)l Simulate the 4-bit adderl Add stimuli and displaysl Name signalsl Start simulationl Print simulation results3Start LogicWorks5l Open LogicWorks5, click on the iconl Create a new circuit: File à New à CircuitWork spaceLibrariesSimulation windowl Libraries: l Connectors (ports)l Simulation Gates (basic Boolean logic)l Simulation IO (stimulus and display)l Simulation Logic (build-in block)l Add components XOR-2, AND-2 and OR-2, from the library Simulation Gates. (Not the only way to implement a full adder)Build a full adder4Build a full adderl Add I/O ports from the library Connectors (use arrow keys to change the orientation)l Name each port from right-click pop-up menu. Build a full adder5l Connect them directly by mouse. Or use same signal names, from right-click pop-up menu. l Save the circuit as fadder.cct.Build a full adderQuestions6l Create a new symbol: File à New àDevice Symboll Indicate subcircuit: Optionsà Subcircuitand Part Typel Select ‘Create a subcircuit symbol andselect an open circuit to attach to it’l Select ‘fadder.cct’, press ‘ok’and ‘done’Add fadder to libraryAdd fadder to library7l Automatically generate a symbol: OptionsàAuto Create Symboll Change part name, and pin locations if you want. Press ‘Generate Symbol’.Add fadder to libraryl Save the symbol to a library. You can create a new library at this time. Add fadder to library8Questionsl Create a new circuit, place 4 fadder blocks.Build a 4-bit adder9l Create a bus by using on the tool bar. (A bus can be considered as a pipe, the wires in it are decided by breakout)l Right click the bus, select ‘Breakout’from the pop-up menu. l Input signal names in the ‘New Breakout’window.Build a 4-bit adderl Now the bus includes S0, S1, S2 and S3.Build a 4-bit adder10l Make other breakouts and buses, and connect them together. l Save the circuit 4adder.cct.Build a 4-bit adderQuestions11l Stimuli and displaysSimulate the DesignBinary SwitchHex KeyboardClock(instead of keep switching a binary switch)Binary ProbeHex DisplayMSBLSBl Place and connect stimuli and displaysl Before start simulation, name the signals to be observed.Simulate the Design12l Name signals will appear in the simulation window.Simulate the Designl Simulate the circuit by using simulation tool bar. l Simulation results can be adjusted by Simulate the DesignStopSingle StepPauseSimulation SpeedRunCurrent TimeZoom inZoom outNormal size13l Simulation values can be shown on the circuit graph, by checking Simulation à Show Values.l To print the simulation result, go to Simulationà Print Timing.l Printing options can be found at Simulation àTiming Print SetupSimulate the


View Full Document

UCSD CSE 141L - LogicWorks5 Tutorial

Download LogicWorks5 Tutorial
Our administrator received your request to download this document. We will send you the file to your email shortly.
Loading Unlocking...
Login

Join to view LogicWorks5 Tutorial and access 3M+ class-specific study document.

or
We will never post anything without your permission.
Don't have an account?
Sign Up

Join to view LogicWorks5 Tutorial 2 2 and access 3M+ class-specific study document.

or

By creating an account you agree to our Privacy Policy and Terms Of Use

Already a member?