A (0): GP register/arg 0
B (1): GP register/arg 1
C (2): GP register/arg 2
D (3): GP register/arg 3
L (4): GP register/(L)ow index register
H (5): GP register/(H)igh index register
It claims to be a "RISC architecture" but the instructions are 1-3 bytes variable length, which is also more similar to the 8008 and other early 8-bit CPUs.An 8-bit minicomputer with a fully custom architecture
11–20 of 33 posts
Re: An 8-bit minicomputer with a fully custom architecture
#12I kind of want to try to make a "74 series logic" RISC V CPU at some point so I can inherit the compiler. It's rough building the larger systems though. All the early logic is still around for the most part, but most of the "medium integration" parts have disappeared. Things like register files and bitslice ALUs. (74x181, etc.)
It’s not difficult to buy old 74x181 and 74x182 ICs on eBay. You can even get sixteen-bit ALUs like the IDT 7831 for decent prices.
Build a register file from a bank of registers. For example, use a 74x138 and a few 74x377.
Alternatively, either use a true dual port SRAM to build a three port register file, or build your own from a time-multiplexed SRAM and some bus transceivers.
Complex combinational logic can be implemented in an EEPROM truth table pretty easily.
Sometimes, part of the fun is figuring out how to build a complex device from a very limited palette of parts.
Re: An 8-bit minicomputer with a fully custom architecture
#13I kind of want to try to make a "74 series logic" RISC V CPU at some point so I can inherit the compiler. It's rough building the larger systems though. All the early logic is still around for the most part, but most of the "medium integration" parts have disappeared. Things like register files and bitslice ALUs. (74x181, etc.)
There's also an additional project[2], but it seems stalled with no progress during the past few years.
1. https://github.com/pineapple-one/about
2. https://hackaday.com/2018/02/09/a-risc-v-that-the-rest-of-us...
Re: An 8-bit minicomputer with a fully custom architecture
#14Slightly off topic, but I'm looking forward to FPGA tooling improving to the point where I can build a fantasy personal computer based on dragging and dropping architectural components into a design that compiles to hardware. I'm definitely too lazy to design from scratch or build by hand, and there's already so much out there designed for FPGAs, so just hoping one day it may be plug and play like the Mister is for e…
It was pretty slick. It included a simulator as well. I imagine it probably used verilog or vhdl under the hood (but I wouldn't learn Verilog proper until 3 years after). I think there was functionality to work with an FPGA, but we didn't use it for the class.
It was definitely the sort of project that really got me excited in college and I knew for sure I was on the right track with what I wanted to study.
Re: An 8-bit minicomputer with a fully custom architecture
#15Slightly off topic, but I'm looking forward to FPGA tooling improving to the point where I can build a fantasy personal computer based on dragging and dropping architectural components into a design that compiles to hardware. I'm definitely too lazy to design from scratch or build by hand, and there's already so much out there designed for FPGAs, so just hoping one day it may be plug and play like the Mister is for e…
Quite possibly I misunderstand on what level you mean that, but I think the devil is in the details, and "drag and drop your computer architecture" seems as unrealistic in practice as "drag and drop your application" turned out to be. Unless you mean "architectural components" at such a high level that you don't mean to define (say) a CPU architecture, but basically just adding "device" soft cores to a common bus (or…
Re: An 8-bit minicomputer with a fully custom architecture
#16Slightly off topic, but I'm looking forward to FPGA tooling improving to the point where I can build a fantasy personal computer based on dragging and dropping architectural components into a design that compiles to hardware. I'm definitely too lazy to design from scratch or build by hand, and there's already so much out there designed for FPGAs, so just hoping one day it may be plug and play like the Mister is for e…
This would be wonderful - I hacked on a CPU architecture and brought it to an FPGA by manually converting a Logisim [1] schematic to VHDL. It's still terribly buggy. Maybe it'd be possible to write an integration for the (unmaintained) Logisim to export the schematic to a HDL of some sort to get close. [1] http://www.cburch.com/logisim/
No need, Digital (https://github.com/hneemann/Digital) already does this:
> A circuit can be exported to VHDL or Verilog. There is also direct support for the BASYS3 Board and the TinyFPGA BX board. See the documentation for details. The examples folder contains a variant of the example CPU, which runs on a BASYS3 board.
Re: An 8-bit minicomputer with a fully custom architecture
#17Somebody is way too into solderless breadboards. I can see building a CPU from smaller components, but not dealing with loose connections in that mess.
Ben Eater had a whole video on why he encourages building a breadboard computer. https://www.youtube.com/watch?v=fCbAafKLqC8 A lot of people have taken what they've learned and moved on to designing their own PCB versions. You can see some of them here: https://www.reddit.com/r/beneater
Re: An 8-bit minicomputer with a fully custom architecture
#18Re: An 8-bit minicomputer with a fully custom architecture
#19Given the scale of the breadboarded rat's nest prototype, was this actually achieved?
[1] https://github.com/jdah/jdh-8/blob/c621a9980a7d4eb7aa4debc62...
Re: An 8-bit minicomputer with a fully custom architecture
#20Slightly off topic, but I'm looking forward to FPGA tooling improving to the point where I can build a fantasy personal computer based on dragging and dropping architectural components into a design that compiles to hardware. I'm definitely too lazy to design from scratch or build by hand, and there's already so much out there designed for FPGAs, so just hoping one day it may be plug and play like the Mister is for e…
Old presentation about this: https://riscv.org/wp-content/uploads/2015/01/riscv-rocket-ch... especially slide 6