Unformatted text preview:

LogicWorks5 Tutorial Basic CSE141L FA05 Jianhua Liu CSE Dept UCSD LogicWorks5 l 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 1 Tutorial Outline l l Open LogicWorks5 and create a new circuit Build a full adder l l l l Add the full adder into library l l Add components Add ports Add connections Create a symbol Build a 4 bit adder l Create bus and breakout Tutorial Outline cont l Simulate the 4 bit adder l l l l Add stimuli and displays Name signals Start simulation Print simulation results 2 Start LogicWorks5 l l Open LogicWorks5 click on the icon Create a new circuit File New Circuit Libraries Work space Simulation window Build a full adder l Libraries l l l l l Connectors ports Simulation Gates basic Boolean logic Simulation IO stimulus and display Simulation Logic build in block Add components XOR 2 AND 2 and OR 2 from the library Simulation Gates Not the only way to implement a full adder 3 Build a full adder Build a full adder l l Add I O ports from the library Connectors use arrow keys to change the orientation Name each port from right click pop up menu 4 Build a full adder l Connect them directly by mouse Or use same signal names from right click pop up menu l Save the circuit as fadder cct Questions 5 Add fadder to library l l l l Create a new symbol File New Device Symbol Indicate subcircuit Options Subcircuit and Part Type Select Create a subcircuit symbol and select an open circuit to attach to it Select fadder cct press ok and done Add fadder to library 6 Add fadder to library l l Automatically generate a symbol Options Auto Create Symbol Change part name and pin locations if you want Press Generate Symbol Add fadder to library l Save the symbol to a library You can create a new library at this time 7 Questions Build a 4 bit adder l Create a new circuit place 4 fadder blocks 8 Build a 4 bit adder l l l 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 Right click the bus select Breakout from the pop up menu Input signal names in the New Breakout window Build a 4 bit adder l Now the bus includes S0 S1 S2 and S3 9 Build a 4 bit adder l Make other breakouts and buses and connect them together l Save the circuit 4adder cct Questions 10 Simulate the Design l Stimuli and displays Binary Switch Binary Probe MSB Hex Keyboard Hex Display LSB Clock instead of keep switching a binary switch Simulate the Design l Place and connect stimuli and displays l Before start simulation name the signals to be observed 11 Simulate the Design l Name signals will appear in the simulation window Simulate the Design l Simulate the circuit by using simulation tool bar Run Stop Simulation Speed Single Step Pause l Current Time Zoom out Normal size Zoom in Simulation results can be adjusted by 12 Simulate the Design l l l Simulation values can be shown on the circuit graph by checking Simulation Show Values To print the simulation result go to Simulation Print Timing Printing options can be found at Simulation Timing Print Setup Questions 13


View Full Document

UCSD CSE 141L - LogicWorks5 Tutorial

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