Re:CPU of the Day: Motorola MC68040VL
by monocasa on Saturday November 02, 2019 @01:47PM
(#21428984)
Having written microcode, and with the gate level information we have on the 6502 now, I can totally tell you that it's microcode. Some people get confused for some reason if they've only been exposed to vertical microcode.
[ Parent
| on HN ]
Re:CPU of the Day: Motorola MC68040VL
by userbinator on Saturday November 02, 2019 @02:53PM
(#21429311)
If a 6(?)-state PLA counts as microcode, what CPU isn't microcoded?
Re:CPU of the Day: Motorola MC68040VL
by 0xcde4c3db on Saturday November 02, 2019 @09:09PM
(#21431318)
Looking at what the PLA actually does, though, isn't it tantamount to a cleverly compressed microcode ROM? As far as I understand it, the opcode and cycle number select a "word" of control signals to spit out, and the PLA aspect is primarily used to allow multiple permutations of cycle+instruction to select the same "microinstruction" without duplicating it as a conventional ROM would require.
edit: I realize that in some trivial sense any combinational logic is tantamount to a compressed ROM, but I mean that even in a design sense this seems like it's not far off from a deduped array of microinstructions.
Probably unpipelined RISC designs with exclusively single-cycle instructions. The instruction decoder just consists of setting a bunch of multiplexers to the right states for that instruction.
The distinction might be whether the instruction breaks up into a sequence of discrete internal operations. Implementing this as a hardwired state machine is an optimization.