EDN Sep 20 1975 6502
EDN Sep 20 1975 6502
EDN Sep 20 1975 6502
A class of what might be called 2-112-generation microprocessors is now entering the marketplace. This includes the MOS Technology 650X family, the National SCAMP and the Electronic Arrays 9002. These machines tend to cut corners to keep chip manufacturing costs down, but not in ways that will hurt the performance for most main-stream applications. In fact some of these new 2-112-generation pP's will outperform the popular lntel 8080 and Motorola 6800 secondgeneration devices on simple benchmarks. We estimate that the parts cost of these pP's and their associated support chips will drop to $10 sometime in 1976. This means the LSI parts kits for low-end p P systems will drop to the $20-$30 range in 1976, a s only two or three chips will be needed to make up complete p P systems. These 2-1/24 pP's have been intentionally designed to meet this low level of end-product price goals. They typically include either wholly or partially built-in clocks, built-in I10 ports, built-in RAM or combined ROMIRAM chips, and simple, low-drain power supply requirements. Complete, functional p P subsystems-mounted on pc boards, and with power supplies-should be possible under $50. These minimal systems will have 1000 to 2000 bytes of ROM, about 100 bytes of RAM, and perhaps four I10 ports. We will analyze these 2-112-G machines in this and following articles. In addition to the brand new pPfs named above, we'll be re-evaluating some of the second-generation machines in light of the changing competitive situation.
We won't be forgetting the 2nd-generation. machines like the lntel 8080, Motorola 6800, Rockwell PPS-8, and Signetics2650. With pP's you can never safely assume that any supplier has stopped cranking in improvements. On the contrary, there is such a heavy investment in these parts and their associated support chips that you can bet that the manufacturer is constantly re-designing his masks and tweaking his manufacturing line to get increased part speed and lowered cost. From reports we've heard from various manufacturers, we gather that any given pP can be made to run 50% to 100% faster than its initial specs. Additionally, its chip can be redesigned for at least a 25% size reduction. Aswe have said in the past, pPfs represent constantly moving targets with 10-year potential lifetimes. We will not consider either the CMOS pPs or the bipolar bit-slice ones, a s these have no hope of reaching down to the "dirt cheap" prices of single-channel, single-chip MOS pPfs during 1976. (Who knows what will happen by 1977?)
A stripped-down 6800
The first 2-1/24 pP that we've obtained parts for is the MOS Technology 650X family. National's SCAMP-a PMOS part--also exists we've been told. Electronic Arrays' 9002 is in mask preparation and first parts are expected in October. The MOS Technology 650X family represents a conscious attempt of eight former Motorola employees who worked on the development of the 6800 system to put out a part that would replace and outperform the 6800, yet undersell it. With the benefit of hindsight gained on the 6800 project, the MOS Technology team headed by Chuck Peddle, made the following architectural changes in the Motorola CPU: The second "B" accumulator was omitted. Two bytes of the 6800 single index register "X" were split into two "Xff and "Y" index registers that are each one byte long. At the same time the controls were altered so that
EDN SEPTEMBER 20, 1975
these shorter indexes would operate in the "true" indexing mode. Three-state control was eliminated from the address bus outputs.
address) output and adding an "8080-type" RDY signal for single-cycle stepping. Some register resets were dropped from the initializations routine (evoked by the RESET tecture of the
DETERMINING
compared to the similar drawing EDN did for the 6800 in fig. 2 of Ref. 1 . An understanding of what MOS Technology means by saying that their index registers have "true" indexing can be obtained by comparing the indexing of the Signetics 2650 in Ref. 2 with that of the 6800 in the same reference. The Signetics pP also has true indexing, for the base address is carried in the instruction and the offset is added by the index register. Motorola's 6800 puts the base address in the index register and lets the instruction carry the offset. From the semiconductor standpoint, MOS Technology's team stayed with the dynamic 2-phase clock operation of the 6800 but went to depletion-mode loads. Depletion-mode loads appear to be especially helpful to devices using a single 5V supply. They give good switching action-approximating the sharp transitions provided by CMOS-and this, in turn, allows the p P circuitry to have low power dissipation (less than half that of some second-generation pPs) and be driven more easily by on-chip clocks. In our own investigations of a 6502 sample, we verified two other benefits obtained with the :depletion-mode loads. They make the device . quite tolerant to supply voltage variations (our sample would operate from down to nearly 4V to
over 6V) and were able to operate with a wide range of clock speeds on eachside of the nominal 1-MHz target (we could adjust the clock of our sample from less than 100 kHz to over 2 MHz).. . Additionally, the circuit appeared to have good' noise immunity. This, if true, might be a byproduct of the quasi-CMOS switching given by depletion-mode loads.
'
. .
. . .. I
.
I*'
' I
breadboard for "bringing up" the MOS Fig. 2 4 Technology 6502 @ illustrates how simple the 2-112generation machines are hardwarewise for users. This breadboard was laid out (inside a week's time) to approximate the
topology EDN has used to diagram pP's in general. Although we discovered quite a bit of noise (mostly coupling in of clock pulses) on all of our rather long and spread-out lines, the6502 operated without malfunction.
--
Fig. &These elementary prpgnmr show how to put the 6502 into loops so that scope s~gnalscan be generated in RUN mode or a repeating sequence of behavior can be observed in single-step mode. Program (a) represents a bare minimum loop while program (b)incorporates a read (LDA, Immediate) and a write (STA accumulator) operation. If the nonmaskable interrupt line is grounded during singlesteppingthrough program (b),the PC points to ROM lines A and B and then jumps to the address specified by code in A and B. Rod Orgill of MOS Technology says this program happens to contain the s it asks the PC (program worst case timing for the pP a counter) to generate all carries when going from FFFF to 0000.
-
clock oscillator would oscillate without any help once power was applied to the chip, but to control the frequency we used a single 15-pF capacitor and a 100k pot. CMOS gates and D-type FF's were used for the R E S E T and SINGLE-STEP logic. The manual controls for these inputs can be seen expoxied along the front edge of the board.
that it fetched the first instruction of tne from the last line, F, of the ROM, an action that could be visually seen by the glow on the LED in the circuit driving the last line. In our first program (as in fig. 3), we plugged the op code for the 6502's JUMP instruction in line F. The 6502's JUMP is a Zbyte instruction, so the P C would increment and continue on, looking for the remaining two address bytes. It would "wrap around" to ROM location "0" (actually hex 0000 in the full 16-bit address spate). Here again, we didn't bother to insert any diodes. Thus, the address for this jump was again FFFF, and the program jumped back to itself at line F, putting the 6502 into a tight little loop. This looping was easy to verify visually, because the LED'S on the ROM address drive lines only glowed at location 0 , l and F. With the 6502 in this tight loop we examined the signal waveforms on all bus lines. A fair amount of noise existed on the signals because of our sloppy wiring on this initial breadboard, but in spite of this, there was no evidence of any malfunctioning. We simulated the effect of larger memories by adding capacitance on the lines. We discovered that at moderate 500-kHz clock speeds, the 6502 could drive capacitive loads a s large a s 10,000 pF on the address lines. Our tests were not conclusive, of course, because they were done just at room temperature, but they did appear to indi-
cate that this 2-112-G p P should be able to drive fairly large memories without the help of buffers.
bus," which the 6502 adheres to, demands that there can't be too much delay in the logic that produces the write strobe signal for external devices. Supposedly when the clock +2 goes down, that is the signal for external devices to latch in data from the bus during a write cycle. Our CMOS logic had rather long delays and we noted some uncertainty a s to whether the data bus from the pP was still holding the correct signals by the time the strobe finally came through. When we added 100 pF loading to the data bus lines for delay, we obtained reliable write action. In a real system you would hope to have matched components so that the 4, signal could be used directly.
Fig -The 6502 chip has small dimensions thought essential for really low-cost n-channel silicon-gate products. It measures just 168x183 mils now and will be shrunk 10% to 153x168 mils soon. While at first glance it appears identical to the
Motorola 6800 chip, closer examha-.-.. will sho.. -..--s, some of which are enumerated in the text. The clock oscillator is along the upper edge above the ROM that decodes the instruction register.
40
operational and will be processing 3-in. wafers soon (if not by the time this article appears). Internally, quite a few changes have occured in the 650X family chips, accordingto Rod Orgill and Will Mathys of the design team. They conserved on-chip real estate by eliminating some of the 6800's registers. In addition omitting the extra accumulator and the top half of the stack pointer (SP), the designers dropped some of the 6800's temporary registers. The most visually obvious space saving was at the address output buffers. Eliminating these 3state devices allowed MOS Technology to shrink the buffer size considerably. Peddle's advice to those users who feel they must be able to float the address bus for DMA "take-overs" is to hang a TTL 74158 MUX on the address bus. "For the large, fast systems that would want DMA, you'll need a TTL buffer anyway," he said. Space was saved in the 650X8scontrol logic by including only 5 5 of Motorola's 72 instructions. MOS Technology left out six of the 6800's rich repertoire of PDP-11 branch instructions and the half dozen or so instructions that the 6800 used to manipulate data between its two accumulators. Peddle claims the new p P still has more than enough branch instructions. Moreover, the machine obviously can't use any two-accumulator instructions since it has only one accumulator.
conversion unit and gives the 650X family genuine decimal capability without the programmer having to remember to throw in "decimal adjusts." Decimal operation will also be a built-in software-evoked optional operating feature of the EA9002. A s compared to the other low-cost 2-1/24 machines, the 6502 appears to have one possible drawback in minimum-component systems. All 650X CPU's must have external RAM to implement the off-chip subroutine and interrupt save stacks to make up for the single accumulator in the CPU. In contrast, Electronic Arrays' 9002 has a 7-level internal push-down stack for its P C subroutine nesting and 64 bytes of internal RAM. Therefore, the 9002 can get by without any external RAM. To accommodate this need for external RAM, MOS Technology is working on a combined ROMIRAM chip. This will bc a very ambitious, large n-channel chip (present dimensions are 229x208 mils). However, this "6530" will contain "everything but the kitchen sink." It will have 1k bytes of ROM, 64 bytes of RAM, 16 pins of sophisticated 110, and a built-in timer. With this all-inclusive 6530 support chip, Peddle believes the 650X family will have the most economical 2-chip system on the market.
Artide evaluation: Please circle one on R . S . cud. Read Most- No. 463 Read Some-No. 464