Post Reply 
A TTL approach to the HP-35
06-03-2021, 12:03 PM (This post was last modified: 06-03-2021 12:05 PM by teenix.)
Post: #11
RE: A TTL approach to the HP-35
(06-03-2021 07:31 AM)Alejandro Paz(Germany) Wrote:  I have been working on and off for the last days and more or less I have an idea how the alu & the registers should work and look like, even if I haven't finalized it yet.
The central questions are how is the program going to be stored and executed ? which opcodes does the processor understands ?, for me just one question.

The original 10 bit opcodes are too compact, I think they need too much logic to be decoded, think about the field storage for example, you need a kind of look up table. An expanded version where the source, destination and field start and end are explicitly stored sounds cheaper in logic terms to me, just route these signals to the respective registers, counters. An opcode then would be a series of enable signals plus the fields. I think that this is much more workable than the 10 bit compact form.

This only solves part of the problem. Opcodes like stack push, pop and rotate need extra sequencers, unless they are encoded as a series of opcodes, meaning the original program needs some tweaking besides opcode replacement. I haven't thought it through yet. I'm still concentrated on the alu/regs block and that it performs the basic register-register operations by itself.
The question remains, one could assign say 8 micro opcodes per 10 bit opcode, memory is cheap nowadays... as one German saying goes "Es gibt immer einen Hacken", something along the lines "nothing is free". Either I microcode the opcodes or I microcode the program. I think the second approach seems easier on logic.

My FPGA version decodes the 10 bit opcodes and has a big look up table and a sequencer or two, for decoding and controlling the data flow and a true dual port register file, this makes exchanges a breeze and the other operations too. One do not think on how many chips maybe needed for some feature. Feeding P into the field start or end is also a small concern becuase it needs another mux and a special treatment.

I changed the original opcodes in my PIC emulator as it was much easier to implement in lookup tables for the decoding. I also did the same on my EDUC-8 to PIC emulator for the same reason. The EDUC-8 is a serial 8 bit computer made only from TTL and is a horrible (er challenging) thing to program.

Stack operations are encoded as opcodes which makes manipulation easier from a coding point.

The P register has a few methods of decoding, from logic in the ROM chips and from instructions in the ARC, which deal with word select operations.

I suppose the original chips having around 6000 transistors may give an idea of the complexity. You probably already know, but there are some basic logic diagrams in the HP-45 patent document which may help out.

cheers

Tony
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: A TTL approach to the HP-35 - teenix - 05-15-2021, 05:00 PM
RE: A TTL approach to the HP-35 - mfleming - 05-15-2021, 05:32 PM
RE: A TTL approach to the HP-35 - mfleming - 05-15-2021, 02:42 PM
RE: A TTL approach to the HP-35 - mfleming - 05-16-2021, 02:01 PM
RE: A TTL approach to the HP-35 - teenix - 06-03-2021 12:03 PM



User(s) browsing this thread: 3 Guest(s)