6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Tue Jun 04, 2024 6:30 pm

All times are UTC




Post new topic Reply to topic  [ 12 posts ] 
Author Message
PostPosted: Fri Jan 06, 2017 6:34 pm 
Offline
User avatar

Joined: Wed Aug 17, 2005 12:07 am
Posts: 1207
Location: Soddy-Daisy, TN USA
Now that I have a programming rig setup for some PLCC-44 CPLD's, I was thinking...how large can I go before I have to get into FPGA or pins so small I can't easily hand solder.

I think I could solder PLCC-84 with no problem. I have some PLCC-84 sockets at home and they're on .1" spacers. But, it's 84 pins... :-D

I was looking at this CPLD:

http://www.mouser.com/Search/ProductDetail.aspx?qs=fH4tvdCgwtN3Qt072sj77g%3d%3d

Which is the ATF1508 at $12.47. It has 64 I/O's, 7.5ns and 128 macrocells. Plus, it's 5V tolerant.

So my question is, how large of a CPLD have you guys actually used in your projects? Was it overkill or did you wish you had more I/O? More speed? etc.

Thanks.

_________________
Cat; the other white meat.


Top
 Profile  
Reply with quote  
PostPosted: Fri Jan 06, 2017 9:23 pm 
Offline
User avatar

Joined: Fri Aug 30, 2002 9:02 pm
Posts: 1688
Location: Sacramento, CA
I have used the Xilinx XC95108 84 pin PLCC on SBC-3 and SBC-4. Both machines pretty much maxed out the capacity of these. Had I had more room and more pins, I would have been able to add more features. For instance, both had the 65SPI 44-pin CPLD in addition to the 84-pin CPLD.

I used sockets for these as I did not include JTAG on my boards and wanted them to be removable.

Daryl

_________________
Please visit my website -> https://sbc.rictor.org/


Top
 Profile  
Reply with quote  
PostPosted: Fri Jan 06, 2017 9:56 pm 
Offline
User avatar

Joined: Thu May 28, 2009 9:46 pm
Posts: 8198
Location: Midwestern USA
cbmeeks wrote:
Now that I have a programming rig setup for some PLCC-44 CPLD's, I was thinking...how large can I go before I have to get into FPGA or pins so small I can't easily hand solder.

I think I could solder PLCC-84 with no problem. I have some PLCC-84 sockets at home and they're on .1" spacers. But, it's 84 pins... :-D

The 53CF94 SCSI controller on POC's host adapter is a PLCC-84 package, which I mounted into a socket. I had no problem whatsoever soldering those 84 pins.

Quote:
So my question is, how large of a CPLD have you guys actually used in your projects? Was it overkill or did you wish you had more I/O? More speed? etc.

The ATF1504AS is the largest I've used so far, in POC V2. It has 32 I/O pins and 64 macrocells. The logic resources weren't a constraint, but I could have used more I/O pins. Next one in the POC series will use the 1508.

As for speed, I'm using the 10ns version of the 1504 and have determined that that is more than ample.

_________________
x86?  We ain't got no x86.  We don't NEED no stinking x86!


Top
 Profile  
Reply with quote  
PostPosted: Fri Jan 06, 2017 10:14 pm 
Offline
User avatar

Joined: Wed Aug 17, 2005 12:07 am
Posts: 1207
Location: Soddy-Daisy, TN USA
8BIT wrote:
I have used the Xilinx XC95108 84 pin PLCC on SBC-3 and SBC-4. Both machines pretty much maxed out the capacity of these.


So that was 69 pins? With no on-board JTAG? Wow. So the 1508 wouldn't handle all that. I believe it's 64 pins I/O.

_________________
Cat; the other white meat.


Top
 Profile  
Reply with quote  
PostPosted: Fri Jan 06, 2017 10:41 pm 
Offline
User avatar

Joined: Thu May 28, 2009 9:46 pm
Posts: 8198
Location: Midwestern USA
cbmeeks wrote:
8BIT wrote:
I have used the Xilinx XC95108 84 pin PLCC on SBC-3 and SBC-4. Both machines pretty much maxed out the capacity of these.

So that was 69 pins? With no on-board JTAG? Wow. So the 1508 wouldn't handle all that. I believe it's 64 pins I/O.

Don't forget his units included video, which can eat up quite a bit of resources.

_________________
x86?  We ain't got no x86.  We don't NEED no stinking x86!


Top
 Profile  
Reply with quote  
PostPosted: Sat Jan 07, 2017 5:34 am 
Offline
User avatar

Joined: Fri Aug 30, 2002 9:02 pm
Posts: 1688
Location: Sacramento, CA
cbmeeks wrote:
8BIT wrote:
I have used the Xilinx XC95108 84 pin PLCC on SBC-3 and SBC-4. Both machines pretty much maxed out the capacity of these.


So that was 69 pins? With no on-board JTAG? Wow. So the 1508 wouldn't handle all that. I believe it's 64 pins I/O.


After looking again, SBC-4 did have a JTAG port for the CPLD. I chose socket over direct solder and since I did not intend for users to reprogram the CPLD, I left the JTAG off to save board space on SBC-3. On SBC-4, I was able to make room for the JTAG port. I had a breakout board for the 84 pin PLCC that included a JTAG port so it was easy to pop out the CPLD, reprogram it, and replace it.

SBC-3 had video, which used up a lot of gates on counters. SBC-4 had a buffered expansion port and an interrupt controller (of sorts) which used up more pins than logic blocks.

Those devices all ran extremely warm, almost too hot to the touch. I used stick-on heat sinks in an attempt to keep them from over heating. On a plus side, I never had one fail.

Daryl

_________________
Please visit my website -> https://sbc.rictor.org/


Top
 Profile  
Reply with quote  
PostPosted: Sat Jan 07, 2017 3:44 pm 
Offline

Joined: Wed Mar 02, 2016 12:00 pm
Posts: 343
I am planning to use Lattice MachXO3 or XO2 for my next PCB (with 206 "pins"). They are all ballbonded with 0.8mm pitch, but I would say they are probably easier to solder than 0.4mm pins (which often ends with shorts)..

Soldering 0.5mm pins is actually quite easy if you just use enough flux and a flat beveled solder tip: https://www.youtube.com/watch?v=5uiroWBkdFY


Top
 Profile  
Reply with quote  
PostPosted: Sat Jan 07, 2017 5:53 pm 
Offline

Joined: Mon Aug 05, 2013 10:43 pm
Posts: 258
Location: Southampton, UK
cbmeeks wrote:
So my question is, how large of a CPLD have you guys actually used in your projects? Was it overkill or did you wish you had more I/O? More speed? etc.

I've also used an XC95108 in my micro. I/O was sufficient, and I expect unless you are looking to implement a full bus master, it would be enough pins for most 8 bit micros. I don't have the results from the build report, but I'm pretty sure these parts would be good to at least 20MHz.

I used it for Address decoding, Read/Write generation, Simple Interrupt controller, Tone generator, Bank switching, and an 8 bit latch for the high byte on the IDE port. There were about 10 pins left over after the core usage was allocated (I routed only the high byte of the address bus, plus A0). The 10 extra pins were used for the expansion connector, and eventually were used for more chip selects and interrupt inputs etc.

My eventually goal was to try implementing a simple DMA controller, and at that point I ran into the logic limitations of what I could do with a CPLD. Hence my next (current) board uses a pair of Altera Flex 10K FPGAs (specifically the EPF10K10). These are what I believe to be the most accessible FPGAs for incorporating in our 5V micros. They are available in PLCC84 and have at least 5 times the logic of something like the XC95108. Because they are runtime programmed via an external config flash, they are more work to integrate. It might seem a bit weird using an FPGA in a micro filled with retro-parts, but there. :)

_________________
8 bit fun and games: https://www.aslak.net/


Top
 Profile  
Reply with quote  
PostPosted: Sun Jan 08, 2017 5:33 pm 
Offline
User avatar

Joined: Sun Oct 13, 2013 2:58 pm
Posts: 485
Location: Switzerland
In my last 6502 project (ROMulus 2nd) I was using a ATF1508AS in a PLCC-84 on a PCB using a through-hole socket and a PCB. I like the ATF1508AS as it is still in production, generally available and it is a 5V device. With the PLCC-84 you have 64 user IO pins when using the JTAG (and you need that as it's the only cheap programming interface). However I plan to switch to the TQFP-100 package which first is smaller and gives you up to 80 user IO pins. I already soldered TQFP-100 (not a ATF1508AS) using a normal chisel tip and it works. But I recommend better equipment like a lamp with magnifying glass and bevel tips. Then it should be much easier.


Top
 Profile  
Reply with quote  
PostPosted: Mon Apr 23, 2018 4:38 pm 
Offline

Joined: Mon Nov 11, 2002 6:53 pm
Posts: 79
Location: Seattle
Altera EPM7128SLC CPLD's for me and EPF10K10 FPGA's for TTL based stuff for me.. It's got about 68 pins usable and they're dirt-cheap on ebay ( $2 or thereabouts). They come in a variety of packages but I primarily use the 84 PLCC one. Make sure you get the 'S' part so you can use JTAG!

Yvo


Top
 Profile  
Reply with quote  
PostPosted: Thu Apr 26, 2018 3:00 am 
Offline

Joined: Wed Feb 12, 2014 1:39 am
Posts: 172
Location: Sweden
I've been using the EPM7064 in TQFP-44 which gives 36 I/Os and 64 Macrocells which isn't bad. I'm more limited by the I/Os than the Macrocells for the Glue logic/IRQ stuff I want to do. I need more pins!

For video I was able to just fit an 80x30 Text mode vga controller in the 7064 but it doesn't seem to have enough macrocells to add things like scrolling etc so I'm looking at using the EPM7128S in PLCC-84 to achieve that.


Top
 Profile  
Reply with quote  
PostPosted: Mon Apr 30, 2018 9:01 am 
Offline

Joined: Wed Mar 02, 2016 12:00 pm
Posts: 343
I just moved over to the new LatticeXO3L-9400 which has 9400 LUTS and about 48KiB SRAM. How this compares to macrocells would be like comparing tomatoes to bananas, but they have a short note about it.

cbmeeks wrote:
So my question is, how large of a CPLD have you guys actually used in your projects? Was it overkill or did you wish you had more I/O? More speed? etc.


Well, I went from the 6800 to 9400 LUT version to get VGA, SDCard and some other stuff into it. More internal ram also helps to keep cost down. Lattice gave it to me for free, but I think they are going to charge around $15USD for it. The 1400 LUT version goes for $2USD now (!) and you can probably squeeze one of the 6502 cores into that as well. The smallest I have is a 256 LUT, and I made a special cut-down 65n02 for that.


Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 12 posts ] 

All times are UTC


Who is online

Users browsing this forum: No registered users and 21 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to: