6502.org Forum  Projects  Code  Documents  Tools  Forum
It is currently Sun Oct 06, 2024 10:22 am

All times are UTC




Post new topic Reply to topic  [ 6 posts ] 
Author Message
 Post subject: Newbie questions
PostPosted: Fri Nov 08, 2013 1:53 pm 
Offline

Joined: Mon Aug 05, 2013 10:43 pm
Posts: 258
Location: Southampton, UK
I'm after some guidance on how to begin playing with CPLDs and FPGAs (one day).

Background: I have a 6809 (I know) project, which is progressing well and I'm learning a lot about loads of different things. My little computer is now fairly useable with a DUART, VIA, bitbanged SPI, IDE interface, sound etc, and at a point where it would be great to use it as a vehicle to learn about an area which I've wanted to learn for the best part of two decades, that is programmable logic.

But what I'm struggling with is how to get started. I have narrowed things down a little bi; the hardware in question should be something I can breadboard first, ideally have a 5V supply and generally work with the rest of the 80s era parts in the computer. Xilinix seems like the best manuf. to go with, if only because the dev tools are free to use.

My first use of PL will (hopefully) be used to replace the glue logic in my current computer, and (hopefully) in the future to implement some peripherals, like an I2C interface, or perhaps something to drive some kind of display.

Here is a list of parts I'm pretty sure I need:

:arrow: XC9572PC44-10C (several)
:arrow: PLCC->DIP adapter for the breadboard
:arrow: PLCC socket for when I eventually use the parts in a PCB :)
:arrow: Xilinx USB Cable Platform
:arrow: PLCC extraction tool

I know the 9572 is EOL, but you can still get them cheaply and this is all about learning some cool tech, not making a sellable product. ;)

It's the programmer I'm most concerend about. Most people seem to use LPT port programmers, but I'll be using my Mac Mini running Windows inside a VM. Can these programmers be used for the CPLD?

I have the ISE Webpack software installed (5GB download!) and am currently trying to decide what language to start with. Verilog seems to look the closest to C (a language I know very well) so I will probably go with that, but am open to suggestions?

Obviously I will start small. A CPLD counter driven by a 555 will be my first little project. ;)

Any questions, suggestions that I'm mad etc, .... please go ahead.

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


Top
 Profile  
Reply with quote  
 Post subject: Re: Newbie questions
PostPosted: Fri Nov 08, 2013 6:29 pm 
Offline

Joined: Mon Nov 11, 2002 6:53 pm
Posts: 79
Location: Seattle
You're on the right track!

I'm more of an Altera guy as I loathe the toolchain that Xilinx provides. Anyway, just a matter of personal taste. Depending on how you construct your board, you can easily construct your own wire-wrap adapter by getting a standard PLCC socket and then buying SIP wire-wrap pins.

As for programming cables on a Mac, eBay is your friend. There are lots of people selling Altera / Xilinx compatible USB JTAG-programmers for under $50.

Last but not least, if you're looking for 5v devices, Altera has the EPM7xxx CPLD series which range from 32-128LE's in PLCC and higher for surface mount. They're kinda expensive if you go through digikey or mouser but pretty affordable once again on eBay. I just scored 37 EPM7064 CPLD's for $25 including shipping :-) While CPLD's are great, most of them only can be programmed up to 100 times or so, so make sure you stay within that. Alternative, you can switch to FPGA's. I'm using an Altera FLEX EPF10k10, which has 576 LE's and is a 5v only, 84-pin PLCC which you can configure using JTAG. If you go the altera route, MAKE SURE YOU GET THE 'S' series as those are the only ones that support JTAG. You're screwed otherwise and will need active serial or an expensive programmer..

And no, you're not mad :-)

Yvo


Top
 Profile  
Reply with quote  
 Post subject: Re: Newbie questions
PostPosted: Fri Nov 08, 2013 6:59 pm 
Offline
User avatar

Joined: Tue Nov 16, 2010 8:00 am
Posts: 2353
Location: Gouda, The Netherlands
For a simple way to get into FPGAs, check out this board:
viewtopic.php?f=10&t=2740


Top
 Profile  
Reply with quote  
 Post subject: Re: Newbie questions
PostPosted: Fri Nov 08, 2013 11:25 pm 
Offline

Joined: Mon Aug 05, 2013 10:43 pm
Posts: 258
Location: Southampton, UK
yzoer wrote:
You're on the right track!


Crikey. Must be my lucky day!

Quote:
I'm more of an Altera guy as I loathe the toolchain that Xilinx provides. Anyway, just a matter of personal taste. Depending on how you construct your board, you can easily construct your own wire-wrap adapter by getting a standard PLCC socket and then buying SIP wire-wrap pins.


I think I will take a look at both the suites and see which one I prefer. My info that Altera don't have free software was clearly out of date, thankfully. Am in the process downloading it now. I see that they have, just a few months ago, finally dropped support for the MAX7000 chips off of the latest Quartus II software. Pretty good going as I think the chips came out in 1995....

I have never played with wirewrap. In general I try out the circuit on the breadboard, and then get a PCB made up. Wirewrap looks interesting though...

Quote:
Last but not least, if you're looking for 5v devices, Altera has the EPM7xxx CPLD series which range from 32-128LE's in PLCC and higher for surface mount. They're kinda expensive if you go through digikey or mouser but pretty affordable once again on eBay. I just scored 37 EPM7064 CPLD's for $25 including shipping :-)


You must have got the last ones. I can't see much less then US $5 a pop. I'll buy a couple, assuming I get on ok with the ECAD tools, along with a programmer and the other stuff. And maybe a couple of the X9572's assuming I can find one programmer that does both.

Thanks for the tips! I'm sure I will be back later with all kinds of questions. ;)

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


Top
 Profile  
Reply with quote  
 Post subject: Re: Newbie questions
PostPosted: Sat Nov 09, 2013 2:18 am 
Offline
User avatar

Joined: Thu May 28, 2009 9:46 pm
Posts: 8414
Location: Midwestern USA
Aslak3 wrote:
yzoer wrote:
Last but not least, if you're looking for 5v devices, Altera has the EPM7xxx CPLD series which range from 32-128LE's in PLCC and higher for surface mount. They're kinda expensive if you go through digikey or mouser but pretty affordable once again on eBay. I just scored 37 EPM7064 CPLD's for $25 including shipping :-)


You must have got the last ones. I can't see much less then US $5 a pop. I'll buy a couple, assuming I get on ok with the ECAD tools, along with a programmer and the other stuff. And maybe a couple of the X9572's assuming I can find one programmer that does both.

Thanks for the tips! I'm sure I will be back later with all kinds of questions. ;)

Atmel continues to produce 5 volt CPLDs. Take a look at their AT15xx lineup.

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


Top
 Profile  
Reply with quote  
 Post subject: Re: Newbie questions
PostPosted: Sat Nov 09, 2013 2:33 am 
Offline
User avatar

Joined: Fri Aug 30, 2002 1:09 am
Posts: 8521
Location: Southern California
Has Cypress become a nobody in that field?

_________________
http://WilsonMinesCo.com/ lots of 6502 resources
The "second front page" is http://wilsonminesco.com/links.html .
What's an additional VIA among friends, anyhow?


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

All times are UTC


Who is online

Users browsing this forum: No registered users and 10 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: