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

View this thread on: d.buzz | hive.blog | peakd.com | ecency.com
·@escorn·
0.000 HBD
Electronics Simulations #16| An Introduction to digital circuit simulator "Digital" - how to construct circuits and simulations
#### What Will I Learn?
In this tutorial readers:

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

<center>![icon64.png](https://res.cloudinary.com/hpiynhbhq/image/upload/v1518429759/basxpl3lo53lsu9wraoq.png)
</center>

#### 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:

<center>![2.png](https://res.cloudinary.com/hpiynhbhq/image/upload/v1518430265/uopegiqvt75aypsdwwxn.png)
</center>

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:

<center>![3.png](https://res.cloudinary.com/hpiynhbhq/image/upload/v1518430594/f3ek3rtvez9mqwrkkmww.png)
</center>

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:

<center>![4.png](https://res.cloudinary.com/hpiynhbhq/image/upload/v1518430778/tpvkowta46qfwinjhioj.png)
</center>

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.

<center>![5.png](https://res.cloudinary.com/hpiynhbhq/image/upload/v1518430892/yxweurp7ai9d45onhdpc.png)
</center>

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

<center>![6.png](https://res.cloudinary.com/hpiynhbhq/image/upload/v1518430945/fovpqd0lzz2ujawhtzy6.png)</center>

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

<center>
![7.png](https://res.cloudinary.com/hpiynhbhq/image/upload/v1518430996/wawk6l8xs3i6useakrq1.png)
</center>

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

<center>![8.png](https://res.cloudinary.com/hpiynhbhq/image/upload/v1518431370/qh41tjlkrgj6mqqq8dqe.png)</center>

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

<center>![9.png](https://res.cloudinary.com/hpiynhbhq/image/upload/v1518431587/fcx5h66guorfk6z4kwp8.png)
</center>

(*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.

<center>![10.png](https://res.cloudinary.com/hpiynhbhq/image/upload/v1518431706/rsv2bbdivp6uvvll5npv.png)
</center>

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

<center>![11.png](https://res.cloudinary.com/hpiynhbhq/image/upload/v1518431722/cfsjqmggcfmblkqtcczn.png)
</center>

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

<center>![12.png](https://res.cloudinary.com/hpiynhbhq/image/upload/v1518431777/tfdeebqwqjxixvfvvi4b.png)</center>

Labeled version should look like:

<center>![13.png](https://res.cloudinary.com/hpiynhbhq/image/upload/v1518431832/utxjdskmffjkt6j0wznj.png)</center>

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:

<center>
![14.png](https://res.cloudinary.com/hpiynhbhq/image/upload/v1518431911/xvzk3hhogwecpgvr1q9g.png)
</center>

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

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

<center>![15.png](https://res.cloudinary.com/hpiynhbhq/image/upload/v1518431965/ikqnmsap3kopxwd9mxkb.png)</center>


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.

<center>![17.png](https://res.cloudinary.com/hpiynhbhq/image/upload/v1518432112/t4n8tfiq9c93nfdvdqxa.png)
</center>

Result of the simulation is given below:

<center>![20.png](https://res.cloudinary.com/hpiynhbhq/image/upload/v1518433112/lw9mt8oiah5eshkdp09b.png)
</center>

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.

<center>![18.png](https://res.cloudinary.com/hpiynhbhq/image/upload/v1518432345/uuimwsqaiblnm7jxkxlh.png)
</center>

When it is clicked the following window appears:
</center>![19.png](https://res.cloudinary.com/hpiynhbhq/image/upload/v1518432383/yffkbc7bknge5qpvgfpj.png)
<center>

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](https://drive.google.com/open?id=1Xy-wJTaPQHftTTARJKExFtJhlEOIwL_e). 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:

SimulIDE | Caneda | 
--- | --- | 
[Part 1](https://utopian.io/utopian-io/@escorn/electronics-simulations-2-or-illustration-of-2-bit-comparator-by-using-simulide-simulator)|[Part 1](https://utopian.io/utopian-io/@escorn/electronics-simulations-6-or-basics-of-the-circuit-simulation-software-caneda-how-to-build-circuits-and-scope-them) |
[Part 2](https://utopian.io/utopian-io/@escorn/electronics-simulations-3-or-constructing-7-segment-led-display-decoder-with-simulide) | [Part 2](https://utopian.io/utopian-io/@escorn/electronics-simulations-7-or-illustration-of-half-wave-and-full-wave-rectifier-circuits-in-caneda) |
[Part 3](https://utopian.io/utopian-io/@escorn/electronics-simulations-4-or-fundamental-properties-to-construct-circuits-in-simulide) | [Part 3](https://utopian.io/utopian-io/@escorn/electronics-simulations-8-or-construction-of-passive-band-pass-filters-and-ac-sweep-simulation-on-caneda) |
[Part 4](https://utopian.io/utopian-io/@escorn/electronics-simulations-5-or-creating-sub-circuits-and-how-to-implemen-them-in-simulide-with-4-to-1-mux-example) | [Part 4]( https://utopian.io/utopian-io/@escorn/electronics-simulations-9-or-implementation-of-op-amps-and-construction-of-differentiator-on-caneda)|
- | [Part 5](https://utopian.io/utopian-io/@escorn/electronics-simulations-10-or-mos-technology-and-implementation-on-caneda) |
- | [Part 6](https://utopian.io/utopian-io/@escorn/electronics-simulations-11-or-logic-gates-implementation-on-caneda-with-a-guide-of-how-to-build-full-adder)|
- | [Part 7](https://utopian.io/utopian-io/@escorn/electronics-simulations-12-or-dc-sweep-property-of-caneda-illustrated-and-observed-with-a-diode-circuit)|
    
    

<br /><hr/><em>Posted on <a href="https://utopian.io/utopian-io/@escorn/electronics-simulations-16-or-an-introduction-to-digital-circuit-simulator-digital-how-to-construct-circuits-and-simulations">Utopian.io -  Rewarding Open Source Contributors</a></em><hr/>
👍 , , , , , , ,