Nice, what did you make the schematics with?![]()
I don't know with you, but in the last few weeks, wiremod has only been a portal for me to build things with wire logic gates. That is, until I discovered Logisim.
Logisim is a schematic based electronics simulator. It works pretty much like wiremod. You spawn a gate, then wire it to other gates. It has a couple of advantages over wiremod, though. No lag. There is only paint-like graphics to render, and you don't have to compute physics and all that stuff Garry's Mod requires. You can also create subcurcuits. The ability to make subcurcuits lets you create a logic circuit, then turn it into a chip, so you don't need to repeat. I love this program so much, and I've spent the last two days making an 8-bit programmable CPU. By looking at the following images, you may get a picture of how complicated a CPU is, and how many thousand logic gates a simple CPU requires.
Here's a picture of how my CPU currently looks. As you can see, this picture does not contain a single logic gate. That's because it's only built up of subcircuits:
Do you see that rectangular microchip to the right there? That's the ALU. Some of you might remember the 8-Bit ALU I built in Garry's Mod. Well, this is an extension containing Addition, Subtraction, Multiplication, Division, Modulus, Exponention, Comparing (greater than, equal to, less than), AND, OR, XOR, NOT and random. Here's a picture of how it is built:
Still no logic gates, but remember that all the subcircuits here is made up of tens, maybe hundreds of logic gates.
All the microchips in that picture is handling the data simultaniusly, then a multiplexer is selecting the data based on an opcode recieved from the Instruction Reader.
If you scroll up and look at the CPU, see that square subcircuit in the middle there? That's the instruction decoder and sequencer. Let's see how that subcircuit looks:
This circuit is reading the program code from a ROM (read-only memory) then decoding the instructions and sequencing them, then it runs the code. You can barely see any logic gates here, either. So, I'm gonna show you how one of the mutliplexers is built. See that microchip marked "MUX"? That's a multiplexer. I'm gonna zoom in on that multiplexer to see how many logic gates such a simple chip requires.
Here's a picture of a 4x8-bit multiplexer:
As you can see, all this subcircuit does is to wire up 4 8-bit multiplexers. The 8-bit multiplexer looks like this:
Think that every subcircuit you've seen on the last pictures requires as many gates as this. You will now have a vague impression of how many logic gates a simple CPU really requires. The first ever CPU commercial, the Intel 8080, was an 8-bit processor, and it had 6000 transistors. CPU's today have about 125 million.
Last edited by Matte; 11-08-2009 at 10:36 PM.
"If anybody says he can think about quantum physics without getting giddy, that only shows he has not understood the first thing about them."
-- Niels Bohr
Wire FPGA
Nice, what did you make the schematics with?![]()
"I like pie"-Jat Goodwin
<Azrael-> ryland: LOL is such a noobish thing to say.
<ryland> LOL
<Fox682> LOLLOL
<Fox682> LOL
<ryland> LOL
"If anybody says he can think about quantum physics without getting giddy, that only shows he has not understood the first thing about them."
-- Niels Bohr
Wire FPGA
I use Quartus II 9.0 Web Edition for this kind of stuff. It's free, and it does everything that Logisim does, except it also has support for Verilog and VHDL. Most professional electronics engineers don't design circuits in a graphical simulator anymore, because it is too time consuming. They use Verilog or VHDL and just "program" their circuits. Quartus II can convert Verilog and VHDL to schematic diagrams, and vice-versa, and then lets you simulate inputs and stuff as well.
Drone design, production, and programming at ChronoShift Industries
Predator Mk.II UAV -- The most advanced aerial combat drone to date.
"The best weapon you have only fires neurons -- better keep it loaded!"
I liked playing with Logisim, but there is just one big problem: It keeps whining about "Oscillation apparent" and stops the simulation.
I know, but I find it more fun to place chips and wire them up
That happens when you create an "infinite loop". It always takes some time for a gate to handle a data input and then output, so if you are creating a circuit like this, you will have an infinite loop:
![]()
"If anybody says he can think about quantum physics without getting giddy, that only shows he has not understood the first thing about them."
-- Niels Bohr
Wire FPGA
The site seems to be down.
Can we get a download?
Pinging gave timeout.
.siht daer ot gniyrt emit detsaw ev'uoY
Bookmarks