Beginners CPLD

Topics relating to PALs, CPLDs, FPGAs, and other PLDs used for the support or creation of 65-family processors, both hardware and HDL.

Best for beginners?

XC9536
6
50%
EPM7064
2
17%
Other
4
33%
 
Total votes: 12

User avatar
Dajgoro
Posts: 808
Joined: 08 Aug 2011
Location: Croatia
Contact:

Beginners CPLD

Post by Dajgoro »

Well, i decided to try out this fantastic invention at last...
(The thought that i could put all that messy logic in one ic for my sbc projects instead of soldering lots of logic ic convinced me that this is the way to go...)
I had never before used or touched a CPLD, but i am familiar with VHDL, from my digital logic class...
I've found XC9536 cpld on ebay, and is kinda cheap, and the sockets are too. But it turns out i can't use any regular cheap usb jtag for it. But i do have a genuine parallel port on my pc, and i could build one of toes parallel jtags, but i just need a schematic. Now if you could comment the XC9536, and as an alternative, but a bit more expensive i found the Altera EPM7064.
User avatar
BigEd
Posts: 11464
Joined: 11 Dec 2008
Location: England
Contact:

Post by BigEd »

I've voted for Xilinx, but only because it worked for us, and it's the only one I know. That might be normal: most people will only be familiar with the single supplier they first picked.

I'd be interested to hear more detail from any other voter, especially from anyone voting 'other' - the stability and usability of the tools are very important, and Xilinx is good there.

I thought the sockets for PLCC devices were expensive, but indeed just over £1 for a through-hole PLCC44 socket.

This page has a good walk through of a first CPLD project using xilinx, all on stripboard/project board, including making up a parallel cable adapter. (The Xilinx tools work the same on Windows and Linux - this page happens to talk about Ubuntu.)

Once you have the adapter and the tools, the move from CPLD to FPGA, if you ever want to make it, is seamless. At least it is for Xilinx.

Cheers
Ed
User avatar
8BIT
Posts: 1787
Joined: 30 Aug 2002
Location: Sacramento, CA
Contact:

Post by 8BIT »

I too like the xilinx chips. I found this on ebay

http://www.ebay.com/itm/120803095352

its $15 from Hong Kong. I bought a similar one way back when. You can also search for "xilinx jtag" and find many others as well.

The schematic for a parallel port programmer can be found in this document:

http://www.xilinx.com/support/documenta ... xtp029.pdf

Hope this helps!

Daryl
Last edited by 8BIT on Thu Dec 01, 2011 9:27 pm, edited 1 time in total.
User avatar
Windfall
Posts: 229
Joined: 27 Nov 2011
Location: Amsterdam, Netherlands
Contact:

Post by Windfall »

Voting Xilinx or Altera is only fair when you have experience with both, and I don't think many people do. The picture painted by what I read on-line, e.g. in several forums, is that Altera development software is considerably more solid than that of Xilinx.
User avatar
BigDumbDinosaur
Posts: 9428
Joined: 28 May 2009
Location: Midwestern USA (JB Pritzker’s dystopia)
Contact:

Beginners CPLD

Post by BigDumbDinosaur »

I'm partial to Atmel. I'm planning on using the 1508 series in POC V2 when I get to it. WinCUPL works well as a development tool, although it does have some bugs.
x86?  We ain't got no x86.  We don't NEED no stinking x86!
User avatar
BigEd
Posts: 11464
Joined: 11 Dec 2008
Location: England
Contact:

Post by BigEd »

Windfall wrote:
Voting Xilinx or Altera is only fair when you have experience with both, and I don't think many people do.
That's a reasonable position, but too late for me, sorry!
Quote:
The picture painted by what I read on-line, e.g. in several forums, is that Altera development software is considerably more solid than that of Xilinx.
Interesting! I had the impression it was the other way around, but that's from 3 or 4 years ago (maybe more.) Certainly I've had no problem, on both Windows and Linux.

The quality of support forums would be another consideration.

BDD, do you have one or two bullet point reasons for preferring Atmel, or is it a gut feel thing?

Cheers
Ed
User avatar
BitWise
In Memoriam
Posts: 996
Joined: 02 Mar 2004
Location: Berkshire, UK
Contact:

Post by BitWise »

I bought some ATMEL ATF1504 CPLDs for glue logic a while back but haven't got around to using them yet. The simpler ATF16V8 and ATF20V10 have been enough so far.
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
Dajgoro
Posts: 808
Joined: 08 Aug 2011
Location: Croatia
Contact:

Post by Dajgoro »

Thanks for the links, i think i will go for the XC9536 for now, and i am going to try to build my own lpt jtag... But which program do i use for editing/programming the XC9536?
User avatar
BigEd
Posts: 11464
Joined: 11 Dec 2008
Location: England
Contact:

Post by BigEd »

For all the xilinx parts, you use ISE - the free version is called 'webpack'. It's a huge download. You will need a (free) machine-specific license from them, and for that you need to register using an email address from a company (or an institution) - gmail won't be accepted. I've never had any spam from them though.

Cheers
Ed
User avatar
Dajgoro
Posts: 808
Joined: 08 Aug 2011
Location: Croatia
Contact:

Post by Dajgoro »

I managed to register with my student email, i hope it will work...
ElEctric_EyE
Posts: 3260
Joined: 02 Mar 2009
Location: OH, USA

Post by ElEctric_EyE »

Windfall wrote:
... The picture painted by what I read on-line, e.g. in several forums, is that Altera development software is considerably more solid than that of Xilinx.
I've had problems in the past with Xilinx ISE10.1 when working with the Spartan 2 but much less so with ISE13.2 using the Spartan 3 and 6 families. Although I do use 'legacy' schematic entry for top_level, also for 32bit address decoding, so this may be to blame, but no problems in my current Spartan 6 FPGA design.

Still, I am of the mind that supporting 1 company without investigating another does not serve the competitive edge which brings us all, 'end users', better products.

Also, I and some others here are very disappointed in Atmel, regarding their GAL22V10. I won't bring it up again here, but there's a common observed problem of programming their proprietary GAL IC.
User avatar
BigDumbDinosaur
Posts: 9428
Joined: 28 May 2009
Location: Midwestern USA (JB Pritzker’s dystopia)
Contact:

Beginners CPLD

Post by BigDumbDinosaur »

BigEd wrote:
BDD, do you have one or two bullet point reasons for preferring Atmel, or is it a gut feel thing?
Partially a gut feeling and partially due to familiarity with WinCUPL and being able to simulate fairly complicated logic in it without incurring too steep a learning curve.

I've struggled trying to make some sense of Xilinx's ISE and have found its workflow doesn't mesh well with my thought processes. As the time I have available to me to play with this stuff is limited, I can't see investing much of it into something with which I can't be comfortable. I set aside ISE nearly a year ago and probably won't look at it again.
x86?  We ain't got no x86.  We don't NEED no stinking x86!
User avatar
BigEd
Posts: 11464
Joined: 11 Dec 2008
Location: England
Contact:

Post by BigEd »

Thanks!

Every now and again I'm reminded that I use the world's worst hash function. I have confused Atmel and Altera! It looks like Atmel make only CPLDs, but Altera make a range from CPLD to FPGA (as do Xilinx, and indeed Lattice.)
User avatar
BigDumbDinosaur
Posts: 9428
Joined: 28 May 2009
Location: Midwestern USA (JB Pritzker’s dystopia)
Contact:

Post by BigDumbDinosaur »

BigEd wrote:
Thanks!

Every now and again I'm reminded that I use the world's worst hash function. I have confused Atmel and Altera! It looks like Atmel make only CPLDs, but Altera make a range from CPLD to FPGA (as do Xilinx, and indeed Lattice.)
That's the trouble with two names that share the same vowels and some consonants. :)

Atmel also makes GALs, which are handy for small logic projects, but good luck finding a programmer that will work with them. I snagged some Lattice GALs off eBay a while ago and although I have no immediate need for them, I figured I might as well keep a few around in case a need does arise.
x86?  We ain't got no x86.  We don't NEED no stinking x86!
User avatar
Dajgoro
Posts: 808
Joined: 08 Aug 2011
Location: Croatia
Contact:

Post by Dajgoro »

Well, i bought four XC9536, and sockets. I also managed to install ISE, now i just need to figure out how to transfer the program to the cpld using the lpt port...
Post Reply