Re:The Mill CPU Architecture – Threading [video]
by ChuckMcM on Monday December 11, 2017 @11:36AM
(#15898120)
This is the kind of experiment it is fun to use small FPGA evaluation boards to run. (or a larger CPLD).
Re:The Mill CPU Architecture – Threading [video]
by loup-vaillant on Tuesday December 12, 2017 @07:14AM
(#15905008)
Sounds nice. I just have a little problem: hasn't the 74181 been discontinued? I never found a modern equivalent —unlike other components such as multiplexers, shift registers…
I'd like to make a TTL CPU, but the more I look at it, the more it seems I'll have to make my ALU without the 74181 —I don't like relying on discontinued parts that may be hard or impossible to source in the near future.
Although the same end result could be accomplished without going through a 4x16 "bit matrix" or "crossbar", the setup has some nice properties, particularly for a hobbyist TTL CPU:
* Generating 16 bit address lines and 8 or 16 bit memory-data IO lines could be done by grabbing 2 or 4 nibbles at a time.
* You could drive LED's or a (decoded) hex 7 segment display directly from the bit-matrix lines to see all N history values.
* If you have at least two mux units, the "A" and "B" inputs of the ALU chip could be pointed at different history values.
* The two mux units could be ganged to feed the wider RAM-address and RAM-data registers.
* When doing math or logic on 8, 16, etc. bit values, you wouldn't have to change the register selectors (mux addresses) to change nibbles: the act of pushing the result moves the next operands into position under the "tape head".
That last point means that a fairly simple TTL circuit could flexibly support 4,8,12,16,...,64 bit ALU ops (provided enough 74HCT595s were connected to provide 2x that many bits total). Just set up the initial data and operation, load a TTL counter with the desired number of nibbles, and let 'er rip at the max speed the 74181 can handle.
I call this "The Suspenders" CPU architecture.