Module 4 EXTRA
Combinational Logic Simulation


Make your own ICs with Logisim
Making Your Own WORKING Combinational Logic Circuits with Logisim
In addition to learning about logic digital circuits using Learnabout-Electronics we are happy to recommend building and testing your own designs live on screen by downloading Logisim, a FREE logic circuit basic design and simulator tool.
To get you started, you can download a number of working logic circuits described in our Digital Electronics Module to see how the logic actually works. You can even modify any of the circuits, or use them as part of your own designs.
Download Your FREE Logic Simulator
Logisim is a free GNU program, and can be downloaded via the Logisim homepage. If you are not familiar with Logisim, (version 2.7.1) the program comes with its own Beginner’s Tutorial, User Guide and Library Reference that can be downloaded separately.
Logisim on Mobile Devices
Note: Logisim works on most Desktop operating systems but current releases are not designed to work with Mobile platforms using iOS or Android, (See Logisim web site for details.)
Using Logisim with Learnabout-Electronics
Once you have downloaded Logisim, there are a number of ready made example logic circuits available to download from www.learn.vpn-networks.com to accompany our Digital Electronics modules
How to download the working circuits from www.learn.vpn-networks.com
1. Click on any of the Logisim circuit links list below.
The circuit file will download as an xml code document with the file type as .circ (In some browsers the file may be downloaded as a txt file, but you can still open it with Logisim and then save it as a .circ file.)
2. Save the page - the method varies with different browsers, e.g. Save Page As in Firefox and Chrome, or Page > Save As in IE (use a location where you will know how to find it − e.g. your desktop or in a new folder).
To download more files, click the Back button on your browser to return to the VPN Electronics Learning Logisim page and choose another file from the list.
3. Clicking any of your saved circuit files in their new location should now automatically run Logisim and open your file.
To use the circuit simulation, make sure to click the simulation icon (the hand symbol − top left corner of the Logisim window). Once the hand tool is selected, use it to click on any input to change its logic state, and observe the effects of different inputs on the circuit outputs.
Double clicking on a sub-circuit block reveals the hidden circuit within the block. To return to the main circuit, click Main in the File window at the left of the screen.
Simulation Files for COMBINATIONAL LOGIC from Learnabout-Electronics
Downloading simulations for the first time? Check the instructions above.
Module 4.1 Arithmetic Circuits
Fig 4.1.3 4-Bit Parallel Adder
Fig 4.1.4 8-Bit Twos Complement Adder/Subtractor
Module 4.2 Data Selectors & Multiplexers
Fig. 4.2.3 4-to-1-Line Multiplexer
4-to-1 Multiplexer & 1-to-4 Demultiplexer
Module 4.3 Comparators
Fig. 4.3.1 Four Bit Equality Comparator
Fig. 4.3.2 One Bit Magnitude Comparator
Fig. 4.3.4 Four Bit Magnitude Comparator
Fig. 4.3.5 Eight Bit Magnitude Comparator
Module 4.4 Encoders and Decoders
Fig. 4.4.2 74HC148 8-to-3-Line Encoder
Fig. 4.4.3 16-to-4-Line Encoder
Fig. 4.4.5 2-to-4-Line Decoder
Fig. 4.4.6 The 74HC42 BCD-to-Decimal Decoder
Fig. 4.4.10 The 74HC49 BCD-to-7-Segment Decoder
Fig. 4.4.11 The 74HC48 BCD-to-7-Segment Decoder
Module 4.1 Arithmetic Circuits
Fig 4.1.3 4-Bit Parallel Adder
Fig 4.1.4 8-Bit Twos Complement Adder/Subtractor
Module 4.2 Data Selectors & Multiplexers
Fig. 4.2.3 4-to-1-Line Multiplexer
4-to-1 Multiplexer & 1-to-4 Demultiplexer
Module 4.3 Comparators
Fig. 4.3.1 Four Bit Equality Comparator
Fig. 4.3.2 One Bit Magnitude Comparator
Fig. 4.3.4 Four Bit Magnitude Comparator
Fig. 4.3.5 Eight Bit Magnitude Comparator
Module 4.4 Encoders and Decoders
Fig. 4.4.2 74HC148 8-to-3-Line Encoder
Fig. 4.4.3 16-to-4-Line Encoder
Fig. 4.4.5 2-to-4-Line Decoder
Fig. 4.4.6 The 74HC42 BCD-to-Decimal Decoder
Fig. 4.4.10 The 74HC49 BCD-to-7-Segment Decoder
Fig. 4.4.11 The 74HC48 BCD-to-7-Segment Decoder