I will also be updating a world with these circuits as I go along. I will use box.net because it lets me update the file without having to change the blasted name every time!
Computing Circuits World
If you really want a dropbox link, let me know but I will NOT keep it up to date with every new revision, for the reason above.
Links will be placed here to provide a central place to find these circuits.
The full 16 bit add/subtract module, here: http://survivalcraft.lefora.com/topic/19407432/Full-16-bit-adder
RAM circuits for reads and writes over a data bus
Details on using the Memory Bank's clock input to Read and Write
Memory Arrays up to 64K bytes are shown
An up/down counter with preset and bus-based capability
A FULL adder than can be chained for any data width
Multiplexers can connect sub-circuits to a data bus
4-bit ALU (without math)
2 operand Boolean comparison
Latches and Registers
The counter article now has a complete, chainable, up/down, presettable counter module
This counter may be used as a fully functional stack pointer or program counter. It can be chained to any length and is quite fast (depends on the length).
An advanced page on how to use the Memory Bank as a general-purpose Progrmmable Logic Device and how to develop the program from formula or a schematic.
I need to figure out how to get wikitext to display the matrices properly... Sorry about that.
The 64kB RAM
Here's an image of a hyper-functional Program Counter:
I say "hyper-functional" because it provides much more functionality than a typical PC. It is possible to provide unconventional addressing modes and even allows reprogramming of the PC functionality.
The latched instruction address is output on the right. It connects to the system data bus on the bottom. The left side connects to the return stack. It accepts a 4 bit control function at the front. The maximum delay from function/data/return stack change, to output latch is only 6 ticks.
Last Edited By: Stanimus 25 June, 2017 15:02:39. Edited 13 times