POC VERSION TWO

For discussing the 65xx hardware itself or electronics projects.
User avatar
BigDumbDinosaur
Posts: 9425
Joined: 28 May 2009
Location: Midwestern USA (JB Pritzker’s dystopia)
Contact:

Re: POC Version 2

Post by BigDumbDinosaur »

barrym95838 wrote:
That seems to be the most sparsely populated area of your board, so it looks like you should be able to do it, at the expense of some bill-boarding and jumper-map real estate.
Mind-reader! :lol:
Current POC V2 PCB layout with an Atmel ATF1504AS CPLD.
Current POC V2 PCB layout with an Atmel ATF1504AS CPLD.
Above is the current layout.
Partial POC V2 PCB layout using an Atmel ATF1508AS CPLD.
Partial POC V2 PCB layout using an Atmel ATF1508AS CPLD.
The above is the start of a new layout using the 1508AS. As you can see, the PLCC-84 package is like an elephant sitting on a toad in this design. Plus there are all those bypass caps. The top rows of pins won't be usable, because I can't get the connections out. Despite that, I'll actually have some usable spares, since only 36 I/O pins are used in the circuit and I figure 40-42 will be accessible.

The EWS jumper block you see on the small CPLD layout can be relocated, as it is a static DC circuit and thus isn't position-sensitive. Some silk screen artwork will have to go, which is no big deal. Otherwise, I think I can get everything hooked up. There's always a way...
x86?  We ain't got no x86.  We don't NEED no stinking x86!
User avatar
BigEd
Posts: 11463
Joined: 11 Dec 2008
Location: England
Contact:

Re: POC Version 2

Post by BigEd »

It's enormous!
User avatar
BigDumbDinosaur
Posts: 9425
Joined: 28 May 2009
Location: Midwestern USA (JB Pritzker’s dystopia)
Contact:

Re: POC Version 2

Post by BigDumbDinosaur »

BigEd wrote:
It's enormous!
Seems like it, eh, especially when compared to the PLCC-44 device it replaces. Hence my "elephant sitting on a toad" wisecrack. The 53CF94 ASIC on the SCSI host adapter is also PLCC-84 and accounts for about one half of the total PCB real estate. No wonder QFPs and such were developed.

BTW, the object representing the PLCC-84 package includes the socket. I could slightly shrink things by soldering the CPLD directly to the board, but that would mean I'd have to have a JTAG port to program it. I can live with the socket.
x86?  We ain't got no x86.  We don't NEED no stinking x86!
Aslak3
Posts: 258
Joined: 05 Aug 2013
Location: Southampton, UK
Contact:

Re: POC Version 2

Post by Aslak3 »

BDD,

Have you considered radically reworking the board, or are you keen to reuse as much of the existing layout as possible?

The reason I ask is I had a similar "change" in my 6809 project (going from discrete 74 glue to a PLCC84 CPLD) and in the end I concluded that the only thing to do was to scrap the entirety of the existing layout and start again.

In your case, how about a more square board with the PLC84 in the centre? I know you have some quite "tight" square area requirements for board costs, but it might be worth looking at? It would be a shame to not have the full set of CPLD pins available.

Also, do you have some documentation describing what your CPLD will do? I'm assuming from the number of pins and function blocks that it is a bit more then just glue logic?

EDIT: fixed PLCC pin count.
Last edited by Aslak3 on Mon Aug 18, 2014 5:16 pm, edited 1 time in total.
8 bit fun and games: https://www.aslak.net/
User avatar
barrym95838
Posts: 2056
Joined: 30 Jun 2013
Location: Sacramento, CA, USA

Re: POC Version 2

Post by barrym95838 »

Some of the description is too advanced for me to understand completely, but it looks like this is BDD's device:

http://www.atmel.com/Images/doc0784.pdf

Mike
Aslak3
Posts: 258
Joined: 05 Aug 2013
Location: Southampton, UK
Contact:

Re: POC Version 2

Post by Aslak3 »

I'm curious to learn what BDD will be programming the device to do. The XC95108 in my micro (a comparable part I believe) serves as a couple of simple peripherals (sounder driver, bank switching latch, IDE high byte latch) as well as the traditional glue functions (address decoding, interrupt routing, etc). I'm interested to find out what BDDs PLD will be handling. Eg those unuseable pins could be useful for all kinds of things.
8 bit fun and games: https://www.aslak.net/
User avatar
BigDumbDinosaur
Posts: 9425
Joined: 28 May 2009
Location: Midwestern USA (JB Pritzker’s dystopia)
Contact:

Re: POC Version 2

Post by BigDumbDinosaur »

barrym95838 wrote:
Some of the description is too advanced for me to understand completely, but it looks like this is BDD's device:

http://www.atmel.com/Images/doc0784.pdf
That's the animal. It's available in PLCC-84, TQFP-100, PQFP-100 and PQFP-160 packages. I'm not able to solder the PGFP and TQFP packages, so I stuck with the PLCC-84 for now.
Aslak3 wrote:
Have you considered radically reworking the board...?
No. The west side of the board has to remain unchanged from POC V1 so the SCSI host adapter (HBA) will fit. Otherwise, I will be faced with redesigning the HBA as well and spending extra money to get new PCBs made. The HBA works very well, so I really don't want to tinker with it for now.
Quote:
I'm curious to learn what BDD will be programming the device to do. The XC95108 in my micro (a comparable part I believe) serves as a couple of simple peripherals (sounder driver, bank switching latch, IDE high byte latch) as well as the traditional glue functions (address decoding, interrupt routing, etc). I'm interested to find out what BDDs PLD will be handling. Eg those unuseable pins could be useful for all kinds of things.
The ATF1504AS (the PLCC-44 device) was supposed to handle memory mapping, bank address capture, SCSI DMA logic, wait-state generation, /RD and /WD generation, and I/O device selection. The 1504 has 64 macro cells, so I also was planning on synthesizing a simple "hardware management unit" (HMU) to allow selective mapping out of low and high ROM, as well as write bleed-through when a ROM address is written. This would have allowed me to shadow the ROM in RAM and avoid wait-stating ROM accesses at high clock rates.

Since it appears I will have to make the switch to the 1508AS, the door will be opened to a more elaborate design. Here's the memory map:
POC V2 Memory Map
POC V2 Memory Map
Ultimately, the HMU would be as follows:
Hardware Management Unit Assignments
Hardware Management Unit Assignments
The extra I/O pins on the 1508 can be connected to ABORTB, IRQB, NIMB and VPB. With 128 macrocells, I'll have adequate resources to implement some memory protection, user and supervisor modes, bank $00 remapping and other features that I've hashed out in older posts.
Last edited by BigDumbDinosaur on Wed Aug 20, 2014 7:52 pm, edited 1 time in total.
x86?  We ain't got no x86.  We don't NEED no stinking x86!
User avatar
cbscpe
Posts: 491
Joined: 13 Oct 2013
Location: Switzerland
Contact:

Re: POC Version 2

Post by cbscpe »

Hi BDD,

what tools (hardware and software) do you use to program the ATF1508.. PLD and is there a USB programmer for this baby?

Regards

Peter
User avatar
BigDumbDinosaur
Posts: 9425
Joined: 28 May 2009
Location: Midwestern USA (JB Pritzker’s dystopia)
Contact:

Re: POC Version 2

Post by BigDumbDinosaur »

cbscpe wrote:
what tools (hardware and software) do you use to program the ATF1508.. PLD and is there a USB programmer for this baby?
I use Atmel's WinCUPL and ISP software and their ATF15XX-DK3 programming/test rig to program the device. I believe Atmel has a USB JTAG gadget but am not sure. The ATF15XX-DK3 runs from a parallel port.

:-)
x86?  We ain't got no x86.  We don't NEED no stinking x86!
User avatar
BitWise
In Memoriam
Posts: 996
Joined: 02 Mar 2004
Location: Berkshire, UK
Contact:

Re: POC Version 2

Post by BitWise »

Andrew Jacobs
6502 & PIC Stuff - http://www.obelisk.me.uk/
Cross-Platform 6502/65C02/65816 Macro Assembler - http://www.obelisk.me.uk/dev65/
Open Source Projects - https://github.com/andrew-jacobs
User avatar
BigDumbDinosaur
Posts: 9425
Joined: 28 May 2009
Location: Midwestern USA (JB Pritzker’s dystopia)
Contact:

Re: POC Version 2

Post by BigDumbDinosaur »

BitWise wrote:
I have everything in the kit excepting the ATDH1150USB USB-to-JTAG cable. The ATDH1150USB must be a relatively new product, as I didn't see any such thing available from Atmel two years ago when I obtained the ATDH1150USB kit. We now have the answer to Peter's question about a USB adapter. :D
x86?  We ain't got no x86.  We don't NEED no stinking x86!
User avatar
BigDumbDinosaur
Posts: 9425
Joined: 28 May 2009
Location: Midwestern USA (JB Pritzker’s dystopia)
Contact:

POC Version 2 w/Big CPLD

Post by BigDumbDinosaur »

It took some doing, but I concocted a PCB layout for POC V2 that uses the PLCC-84 version of Atmel's ATF1508AS CPLD. It's fairly tight—definitely a case of stuffing a bushel of apples into a picnic basket. :lol: I even managed to preserve some of the silkscreen artwork. I'll probably fiddle with it some more to see how tight I can get it. Also, I spotted some minor boo-boos after I created the GIF you see below.
POC V2 w/Atmel ATF1508AS CPLD in PLCC-84 Package
POC V2 w/Atmel ATF1508AS CPLD in PLCC-84 Package
x86?  We ain't got no x86.  We don't NEED no stinking x86!
Aslak3
Posts: 258
Joined: 05 Aug 2013
Location: Southampton, UK
Contact:

Re: POC Version 2 w/Big CPLD

Post by Aslak3 »

BDD,
BigDumbDinosaur wrote:
It took some doing, but I concocted a PCB layout for POC V2 that uses the PLCC-84 version of Atmel's ATF1508AS CPLD. It's fairly tight—definitely a case of stuffing a bushel of apples into a picnic basket. :lol: I even managed to preserve some of the silkscreen artwork. I'll probably fiddle with it some more to see how tight I can get it. Also, I spotted some minor boo-boos after I created the GIF you see below.
The entire board is a piece of art in itself. :)

What's your smallest track width and via size? My boards - comparable to yours in complexity - are 2 layer, use 10 mil tracks, 10 mil via tracks with a 20 mil hole and pass a 10 mil DRC just because I like to be extra safe. But it's a hell of a lot of work hand routing this stuff. I really need to start on 4 layer boards, with smaller features.

Manual routing PCBs is a strange activity. Sometimes frustrating yet immensely satisfying.
8 bit fun and games: https://www.aslak.net/
User avatar
BigDumbDinosaur
Posts: 9425
Joined: 28 May 2009
Location: Midwestern USA (JB Pritzker’s dystopia)
Contact:

Re: POC Version 2 w/Big CPLD

Post by BigDumbDinosaur »

Aslak3 wrote:
The entire board is a piece of art in itself. :)
Thanks! However, don't expect to see it in the Louvre anytime soon. :lol:
Quote:
What's your smallest track width and via size?
6 mil traces and 26 mil via with 8 mil holes. The board is four-layer, with internal ground and power planes.
Quote:
I really need to start on 4 layer boards, with smaller features.
Four-layer boards definitely simplify the layout, as well as allow you to pack things together more closely. You also get better noise immunity and avoid ground bounce problems. It's worth the slight extra cost over a comparable two-layer board.
Quote:
Manual routing PCBs is a strange activity. Sometimes frustrating yet immensely satisfying.
I liken PCB layout to playing chess with an inscrutable master.

BTW, I said I would try to tighten things up a little more with the new PCB layout. I was able to crowd the CPLD a little closer to the rest of the parts, achieving a slight reduction in trace length. I'll let it sit for a day or two and then review it again to see if there's anything else that can be shrunk.
POC V2 w/Atmel ATF1508AS CPLD in PLCC-84 Package
POC V2 w/Atmel ATF1508AS CPLD in PLCC-84 Package
——————————————————————————————————————————————
Edit: Accidentally uploaded the wrong image. The above is the correct one.
x86?  We ain't got no x86.  We don't NEED no stinking x86!
User avatar
BigDumbDinosaur
Posts: 9425
Joined: 28 May 2009
Location: Midwestern USA (JB Pritzker’s dystopia)
Contact:

Re: POC Version 2 w/Big CPLD

Post by BigDumbDinosaur »

BigDumbDinosaur wrote:
I'll let it sit for a day or two and then review it again to see if there's anything else that can be shrunk.
Well, it sat for more than a day or two as other matters used up my time (see first picture), but I did review the PCB layout and couldn't find anything else to do to refine it. I believe I have a "production" version (see second picture).
EMD F7 Diesel-Electric Locomotive
EMD F7 Diesel-Electric Locomotive
POC V2 "Production" PCB
POC V2 "Production" PCB
x86?  We ain't got no x86.  We don't NEED no stinking x86!
Post Reply