ROM module, made from switch banks, diodes, handful of TTL chips;
organized as 16 words of 16 bits each
To make the experience fit your profile, pick a username and tell us what interests you.
We found and based on your interests.
As I integrated the ROM into my ECM-16/TTL Pilot-1 cpu, I've encountered a couple of problems:
- there is an intermittent short circuit developing on data bit A line, which makes it stuck to HIGH no matter the actual switch position
- on address E it seems to be no output
- reset signal is not fully implemented, so the address counter won't clear to zero.
The first two of the above problems were solved by soldering some wires that came loose - as they are quite exposed, they are fairly delicate and were not able to handle stresses of me moving/transporting the board around.
The reset was implemented by small adjustment of board's wiring.
Here is the board's back, and it is visible that its wiring is fairly fragile in places. I intend to apply epoxy to this side of board to make it sturdier and less prone to damage. The downside is that if something happens to the board after that, it would be next to impossible to repair it.
Here is the schematic/model of this ROM module I use in my simulations:
In actual board, the pair of 74hc238 3-to-8 decoders drives address lines of switch bank, activating a single word to the data bus.
Made a passive board that makes this ROM compatible with the connection "standard" I came up with for the rest of my CPU.
Overview of the new board connected to the ROM board:
And here is detailed view of the small board with all pins labelled for future reference:
Over a last couple of moths I constructed a ROM unit, which may be useful in further development of my computer project.
The unit is composed of 256 switches and 256 associated diodes, has 2 3-to-8 74hc238 decoders combined so they act as single 4-to-16 decoder, output buffer for each of 16 data bits (Schmidt invertor combined with regular one), and, as a bonus, the board also contains 74hc163 4-bit synchronous counter. With this arrangement, two ways of addressing are implemented.
1: one can just send an address, and after first rising clock edge the addressed data will be on outputs.
2: addresses can be auto-incremented, and new sequential data word will appear on each rising clock edge.
There are, as some useful extra, also LEDs, which show which word is chosen, and what data it contains.
Below are photos of the board:
In action, with the prototype as comparison:
Several views:
Create an account to leave a comment. Already have an account? Log In.
I agree, this perhaps would be easier and cheaper. But I made a conscious choice to do it the way I did, partially just for fun, partially because the shipping times from China can vary between 2 weeks and more than 2 months, and partially because I haven't yet acquainted myself with CAD software to make models for etched PCBs.
Also I haven't planned to expand this ROM in the future, I have proper EEPROM chips laying around, together with programmer for them, so when time comes, I'll use them.
This particular board is just for proof of concept, and for testing my other projects.
The advantage for testing is that it can be reprogrammed on the fly, without the need to go around to PC and burn EEPROM each time I find a bug, or need to input another test program.
No, this was built for use with my own cpu project (https://hackaday.io/project/160530-ecm-16ttl-homebrew-computer) as a small easy to program ROM for testing purposes.
Frankly, I haven't been aware of TD4 cpu existence up until now. As you've mentioned it, a quick search turned up the project building this cpu here on hackaday (https://hackaday.io/project/26215-td4-cpu).
yeah TD4 is a design presented in a Japanese book. Unfortunately there isn't an english translation to my knowledge. it's a pretty popular project build in the asian markets, and as you have noticed, there are a number of TD4 builds up on hackaday.io . just for reference https://www.amazon.com/Shi-x304-No-Tsukurikata-Dejitaru/dp/4839909865
Well, this is very cool. A couple of weeks ago I built a 3 x 8 bit PROM as a bootloader for a vintage 8-bit computer project. I also use a 74HC238 decoder. Mine uses jumpers rather than switches but I’d like to try some of those subminiature 16 position rotary switches for the final build.
Do you have a diode at each switch? I don't see any, and am confused about how the switches don't interfere with each other without using diodes to isolate them.
Looks like there might be home made SIP diode array just above each of the DIP switches presumably solder to each of the switches. The top right hand corner one is easier to see.
Yea, the diodes are just barely seen, they are vertically arranged. Each pin has a diode soldered to it, and from other side all anodes are soldered together.
Become a member to follow this project and never miss any updates
Perhaps you could build the circuit on a PC board. Each added board would expand the memory. A 4" x 4" double sided board with plated through holes cost only $4 for 5 boards at EasyEDA.