Virtual Circuit Board

Virtual Circuit Board

52 ratings
The Basics
By dbomblauncher2
How to use, connect, and interact with logic gates and other components in VCB.
3
4
5
   
Award
Favorite
Favorited
Unfavorite
Introduction
Welcome to Virtual Circuit Board, or VCB for short. In VCB, you can build circuits with logic gates and other components. This guide will show you how to build an AND circuit, and how to use the other basic components.
Read, Write, and Traces
The logic gates and components in VCB are connected by READ, WRITE, TRACE, and sometimes CROSS. These allow components to communicate.

The first ink in your toolbar is the WRITE. This ink acts as the output from logic gates and components. The next ink is TRACE. TRACE is the wires of VCB that can interact with READ, WRITE, and CROSS. The third ink is CROSS. This allows two traces to cross each other without interacting. Note that CROSS can only be one pixel wide or will not work.

The final ink is read. Read acts like the input for all of the components.

Try Making the circuit above using an AND gate. (highlighted below)
Logic Gates
VCB uses components called logic gates, which are the fundamental building blocks of computers. If you already know how they work, you can skip this section.
There are multiple kinds of gates, BUFFER, AND, OR, XOR.


We'll get into the next four gates later.
________________________________________________________________
The first gate, BUFFER, only allows one data to go in one direction while having a one-tick delay.



IN | Out
0 | 0
1 | 1
________________________________________________________________
Secondly is the AND gate. This gate will only output if all inputs are on. For example, if input A is 1 and input B is 0, the AND gate will not output anything.




A | B | Out
0 | 0 | 0
1 | 0 | 0
0 | 1 | 0
1 | 1 | 1
________________________________________________________________
The third gate is the OR gate. This gate only outputs with at least one input, while also acting like a BUFFER.
A | B | Out
0 | 0 | 0
1 | 0 |1
0 | 1 |1
1 | 1 |1
________________________________________________________________
And finally, the XOR gate. this gate only activates if one input is on. If both inputs are on, the gate turns off.





A | B | Out
0 | 0 | 0
1 | 0 | 1
0 | 1 | 1
1 | 1 | 0
________________________________________________________________
Now let's look at the next four gates, NOT, NAND, NOR, XNOR. These all act the same as the first four we just went over, but the output is inverted. For example, if our input to a NOT gate is off, it will activate.



But if the input is on, it will deactivate.



IN | Out
0 | 1
1 | 0
Interacting With The Simulation
Now that you have a basic AND gate, let's find a way to activate it. Looking at the bottom right of your screen, select the green cube with a 0 on it.

This is a latch that can be toggled on and off but can also act as a switch when simulating. Now that we have something to activate our circuit, we have to add a WRITE to it. This is so that when we turn the latch on, the WRITE will "write" the output of the latch onto the trace.

Now we need something to tell us if the AND gate is on. To do this we put a READ to the right of the WRITE like this. The READ will be the input for an LED.

Then, put an LED to the right of the READ. Once finished all of the steps, your circuit should look like this.

Now to start the simulation, click the green button at the top of your screen that says, "Simulate". Now click on the two switches and see if it works!
Summary
Now that you have built a basic AND gate circuit, try to create more complex circuits. You can find more information by going to the top right of your screen and clicking the leftmost icon that looks like a small packet.

The discord link for VCB is https://discord.com/invite/PgBRnrE9bB
Thank you for reading this guide and I hope that you create amazing circuits in VCB.

Guide created by Dbomblauncher2

Virtual Circuit Board created by Mause
8 Comments
Matt 1 Aug @ 10:59am 
@RoflCopter top 10 gatekeeper oat. casuals, dont let this man discourage you.
Simicro 5 Apr, 2024 @ 10:40am 
Thank you, rewarded
delnar 20 Dec, 2022 @ 10:32pm 
Nice intro. Took me a little bit to understand that every component in order to interact with the system must have a write or read or both associated with it. I kept connecting the clock to the trace directly, when the clock needs a write block associated with it prior to simulating. Once I figured that out, it made a lot more sense.
dbomblauncher2  [author] 10 Oct, 2022 @ 12:29pm 
@RoflCopter I understand what you're saying, but I included a dedicated section for beginners on logic gates. Could you please elaborate on what you meant by the guide not being helpful?
RoflCopter 10 Oct, 2022 @ 12:18pm 
I know you meant well here, but honestly if you don't even know what the various gates do you shouldn't be playing this game in the first place. This guide isn't very helpful.
Niko 16 Jul, 2022 @ 11:56pm 
amazing introduction, rewarded.
ipaz12 12 Jun, 2022 @ 7:53am 
really nice thank you

do you think you could make an assembly guide?
okflo 6 Jun, 2022 @ 8:34am 
Thanks for this nice intro!