Electronics Simulations #16| An Introduction to digital circuit simulator "Digital" - how to construct circuits and simulations

in #utopian-io8 years ago (edited)

What Will I Learn?

In this tutorial readers:

  • will learn basics of the software "Digital"
  • will learn simulation and circuit construction basics of "Digital"

icon64.png

Requirements

In order to complete the tutorial, readers would have:

  • basic idea about digital circuit world
  • a working PC
  • "Digital" software

Difficulty

  • Basic

Tutorial Contents

In this tutorial, I am going to show the basic operaions of the digital circuit simulator, which is named as "Digital". I will start my tutorial by introducing the software, and then move into basic circuit constructions and as a last step I will show how to do simulations. Let me start with the introduction part.

  • Episode 1: What is "Digital" ?

Digital is a simulator for digital circuits. It gives its users some satisfying features such that:

  • Visualization of signal states with measurement graphics.

  • A large library that users are able to use.

  • Analysis and synthesis for combinational and sequential circuits.

  • Modyfing any given component to enlarge field of analysis.

Opening screen of the software is given below:

2.png

From the image:

  • 1 : corresponds to detalied tabs for the given names. The main tools are included here. Reader can do simulations, add components from those tabs.

  • 2: corresponds to main taskbar. It has some functions such as zoom,simulation commands, opening new files

  • 3: corresponds to workspace. Reader will use that field to construct circuits.

(Note that when user click the main tools in part 1 they will extend, and reader will be able to find the desired operation)

  • Episode 2: How to construct digital circuits in the software" ?

After introducing the software, let me explain how to construct circuits in the software. To find components to be used in the circuit, reader should click Components button on the part 1 which I have explained in introduction part as shown below:

3.png

From the figure, we can see the component families that we are able to use. if the user wants to put an AND gate, the process is the following.

  1. Find AND gate from the components under Logic part

  2. Click the corresponding component on the list

  3. Move to workspace and place it to desired position as shown below:

4.png

The process is the same for all components which is on Components tab. After placing a component, reader can change its position by just left clicking it ---> choosing new position.

5.png

Additionally, reader can find general description of the component by just left clicking the corresponding component.

6.png

And as a last thing, reader can change its properties by right clicking the corresponding component.


7.png

Reader can put more gates just as explained above, I have added an OR and an NOR as shown below:

8.png

And I have put a 3 input NXOR gate at the end of those 3 gates as shown below:

9.png

(*Note that at the first step it was 2 input gate and I have changed it from properties as in the figure)

As a next step, we can add Input and Output from IO tab of the Components lists.

10.png

When we add those components, our circuit should look like:

11.png

User can label inputs/outputs by just right clicking them.

12.png

Labeled version should look like:

13.png

All we need to do is wiring. To wire the components reader should just left click on the given dots on the components as shown below:


14.png

(*Note that red dots corresponds to inputs, whereas blue ones for outputs.)

After wiring, we have our finalized circuit as shown below:

15.png

We have managed to construct circuit, all we need to do is simulation.

  • Episode 3: Simulation on the software" ?

In order to simulate the circuit, all we need to do is just click the simulation button.

17.png

Result of the simulation is given below:

20.png

Reader can activate / deactivate the inputs just by left-clicking them.(In the figure above, I have activated A, B, D & E)

"Digital" software also gives us to analyze the logical circuit. To operate analysis, reader should click Analysis under Analysis segment.

18.png

When it is clicked the following window appears:
19.png

From here, user can find the circuit expression & all possible input/output combinations, which is a very useful thing.

I have provided the files for this tutorial here. I highly recommend that the reader should work on the files that I have provided and try to understand the basics of the circuit & software. It will be benefical for he/she.

This is the end for this tutorial.Hope that you like it.

Digital is a really effective and easy to learn software, I highly recommend this software for the one who wants to make simulation in digital circuits especially. If you have any questions, please feel free to ask me on Discord (Escorn#4114)

Curriculum

I have provided the previous tutorials that I have prepared for the community:



Posted on Utopian.io - Rewarding Open Source Contributors

Sort:  

Your contribution cannot be approved because it does not follow the Utopian Rules.

Design or video editing related tutorials, gameplay, simple on-screen instructions, ubiquitous functions (Save, Open, Print, etc.) or basic programming concepts (variables, operators, loops, etc.) will not be accepted.

You can contact us on Discord.
[utopian-moderator]

Hey @deathwing, I just gave you a tip for your hard work on moderation. Upvote this comment to support the utopian moderators and increase your future rewards!