Skip to content

Commit a680d3c

Browse files
5-21 some testing
1 parent 1ddb3a1 commit a680d3c

File tree

4 files changed

+52
-0
lines changed

4 files changed

+52
-0
lines changed

_posts/2020-01-01-color_design.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,3 +14,15 @@ I want to lay out the basic building plans here, mainly about color and design c
1414
| Orange | Reset | Reset lines |
1515
| Violet | LEDs | wires for LED display boards |
1616
| Brown | Misc | Flags, other listed things |
17+
18+
19+
20+
### 4-16 decoders
21+
| Register | Input | Output | Input&Output IRL |
22+
|----------|-------|--------|------------------|
23+
| C | 1010 | 1111 | 1111 1111 |
24+
| D | 1011 | 1110 | 1101 0111 |
25+
| E | 1100 | 1101 | 0011 1011 |
26+
| F | 1101 | 1100 | 1011 0011 |
27+
| G | 1110 | 1011 | 0111 1101 |
28+
| H | 1111 | 1010 | 1111 0101 |

_posts/2025-05-20-ram.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
## Ram
2+
3+
I'm going to be using a 62256-70 32kx8 ram chip, as that'll be plenty of ram for the program to use.
4+
For the MAR, I'm going with two 74hc377's, although 74hc574's would work just as well. But I already bought a bunch of the 377's so I might as well use them, LOL.
5+
6+
7+
...
8+
That was the end of the day LOL

_posts/2025-05-21-testing.md

Lines changed: 32 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,32 @@
1+
## Testing it all!
2+
3+
Today I have some time to test, but I haven't had much time recently at all. I'm going to start off by testing out the registers, which is complicated slightly by the [74hc154's](https://www.jameco.com/Jameco/Products/ProdDS/45401.pdf), but not by much. There's a lot that I have to make sure I wired right, and while I probably should have started earlier, now's a better time than never, right?
4+
5+
<figure>
6+
<div>
7+
<img src="{{site.url}}assets/img/Screenshot_20250521_210250.png" alt="74hc154 pinout"/>
8+
</div>
9+
<figcaption>{{"74hc154 pinout and truth table"| markdownify}}</figcaption>
10+
</figure>
11+
12+
For the general purpose registers, going left to right, they're 10-15 on the 154's, which means HLHL to HHHH (and using the jumpers, it's reversed to LHLH ) as the truth table is MESSED UP, where a is the LSB...
13+
14+
---
15+
16+
So here's a funny fact
17+
I mixed up the order of these decoders, OOPS...
18+
so here's the new order (and this is put in DCBA order, pin order irl is ABCD)
19+
20+
(It's now been moved to one of the frequently-updated documents [here](https://thecodingchicken.github.io/2020/01/01/color_design.html) )
21+
22+
23+
Well, I think the registers are all set, which is nice. I don't think I'm going to test the A&B registers, as well as the ALU right now as I want to setup LEDs for those on a board. (I also don't have that many jumpers free to view all of those right now.)
24+
25+
I'll have to start working on that soon, but that'll mean running a BOAT load of purple LED wires, which will make these boards even less portable than they are.
26+
27+
---
28+
29+
Well, that's it for today, hopefully tomorrow I'll have more time for this. I doubt it, given the hours I want to work and all that. The next best chance will be Saturday evening, or Sunday morning/afternoon&evening.
30+
31+
I think my next target will be to finish the current clock, and start testing out everything else(PC, ALU). I only had a couple errors in the registers module, namely the DIR pin(needed to be 5v instead of ground to get it to go A->B), a wire was in the wrong order for one of the decoders, and the order is messed up. But, that's not too bad given the literal mess of wires. I _might_ have swapped a bit somewhere, but that'll take thourough debugging with a completed system, or at least something much further than what currently exists.
32+
It's also getting closer to the time where I need to purchase a board to start building it all out on, as that'll get me to the point where I can hook things up to the bus for real, as right now I have 6 completed(ish) modules, and 3-4 more that I need to wire up that will all have to be connected to the bus. And once I have a permenant bus wired up, I can start doing simple things like counting up and down, outputting values to a register, etc. Half of this build will be overcomplicated but it's MY build, so I do it MY way. :-)
37.3 KB
Loading

0 commit comments

Comments
 (0)