Saturday, September 2, 2023

Scratchpad Register board ordered

After starting the layout of the Scratchpad Register board in August 2012 — yes, 11 years ago — it has finally been sent out for fabrication by JLCPCB in China. Here's what they say it will look like:

 

If they keep to schedule, production should start Monday (China time) and take 3-4 days. This would have the boards and stencil ship Friday-ish. I opted for the default DHL Express (2-4 day) shipping so they should arrive sometime the following week.

The biggest change in the last two days is the addition of four 33µF tantalum capacitors on the corners, and eleven 100nF ceramic capacitors along the top and bottom edges and down the middle. These capacitors are connected between the VDD and GND planes, and serve to dampen any transients caused by state changes.

Most other changes are cosmetic. I outlined each of the subcircuits in the silkscreening, and annotated each with the function the subcircuit performs. I did this on the Instruction Pointer board, and found this makes it easier to probe the circuits with an oscilloscope. It also helps explain how the board functions to those who foolishly show interest in my insanity.

One place this annotation is especially helpful is identifying which DRAM cell represents which bit in which register. 

First, here's the structure of the array according to Table III of the 1973 MCS-4 User's Manual:

Looking at the board's DRAM array layout, which follows the layout in the actual chip, it appears to follow the same structure: an 8 x 8 array of DRAM cells, each row representing the eight bits of a pair of four-bit registers. However, while each row does represent a register pair, the layout of the bits is not as shown in the table. Instead, the left-most two columns represent Bit 0 of both registers in a pair, the next two columns represent Bit 1 in a pair, and so on. I'm sure this is for routing simplicity, as it places the multiplexer for each bit below the two bits it muxes. 

What's odd, though, is that the order of the two bits reverses for each pair of columns. For Bit 0, the odd register bit is the column on the left and the even register bit is the column on the right. For Bit 1 these reverse; the even register bit is the left column and the odd register bit is the right column. Bit 2 has the same arrangement as Bit 0, while Bit 3 matches Bit 1. Having this sort of oddity identified on the silkscreen will avoid me having to remember such trivia should I need to hunt down a problem.

I'm assuming this had something to do with routing of signals in the chip, but that's only a guess at this point. It might be interesting to look at the metal layers in the chip to see if the reason is clearer.

5 comments:

  1. Apparently I misread the JLCPCB website's statement of "Engineer working hours" which are listed as "Mon-Sun, 8am-10pm, GMT+8". I'm used to thinking of weeks starting on Sunday rather than Monday, so when I saw the working hours listed as starting Monday I didn't read the rest. Ah, cultural difference traps!

    Since they're 12 hours ahead of me, they received my order at 5:30 AM Sunday (their time). The first step of production, data review and preparation, appears to be automated because it completed within minutes. The next step, manufacturing data generation, was completed at 3:15 PM Sunday.

    My last order from JLCPCB was submitted mid-morning December 10th, 2019 (their time). This was a 1.2mm thick board, rather than the more common 1.6mm, so it was quoted at 4-5 days. They had a production glitch (one of the 5 boards had a scratch and failed their QA), and the remaining 4 boards and the stencil shipped the morning of the 16th. I received it December 19th for a total elapsed time of 9 days.

    It's possible that I could receive this order Saturday, but it's more likely I'll get it early next week.

    ReplyDelete
  2. Yay! JLCPCB has completed my PCB and solder stencil. DHL has issued a tracking number, but hasn't picked it up yet. It could show up here any time between Friday and the middle of next week.

    ReplyDelete
  3. Hi Reece, yes this bit arrangement is probably to simplify routing. The bit arrangement in the four PCs is even more scrambled.
    Klaus

    ReplyDelete
  4. DHL has my package, and estimates delivery Tuesday. That's 5 days from now, but if discount the weekend (I don't, but whatever) I guess you could claim it's within the 3-4 day estimate.

    ReplyDelete
  5. My package has cleared US Customs, and is sitting in NYC "scheduled to depart on the next planned movement." While that sounds like someone needs to eat more prunes, it suggests the promised delivery by Tuesday evening is likely.

    ReplyDelete