Shop OBEX P1 Docs P2 Docs Learn Events
Introduction to CPLD — Parallax Forums

Introduction to CPLD

Martin HodgeMartin Hodge Posts: 1,246
edited 2011-05-11 13:30 in General Discussion
After having just spent at least 5 days downloading, installing and learning to use each of the Altera and Xilinx IDE's for their products (around 3 GB each!!!!) and henceforth apologizing to my computer. I find myself wishing Parallax had an introduction to the world of FPGA/CPLD. We know it would be lean and lightweight and just enough to get started with some simple logic applications.

Probably far into the future, what with all you have going on currently. But keep it in the back of your minds.

Comments

  • LeonLeon Posts: 7,620
    edited 2011-04-18 07:27
    Just buy a low-cost starter kit and have a play, it isn't difficult.
  • Martin HodgeMartin Hodge Posts: 1,246
    edited 2011-04-18 11:20
    Leon wrote: »
    Just buy a low-cost starter kit and have a play,

    Which is exactly what I did. Would have felt better buying it from Parallax, though. To the point of my previous message.
    Leon wrote: »
    it isn't difficult.

    A highly subjective statement. I strenuously disagree.
  • LeonLeon Posts: 7,620
    edited 2011-04-18 12:13
    Get a good book. I can recommend Rapid Prototyping of Digital Systems by Hamblen et al. I used the first edition with an FPGA system I designed many years ago which used an Altera Flex 10K device. It takes you from simple schematic entry to complex designs using VHDL.
  • Martin HodgeMartin Hodge Posts: 1,246
    edited 2011-04-18 16:55
    Just ordered the "Rapid Prototyping of Digital Systems: Quartus® II Edition". Thanks for the 'mend.
  • Ken GraceyKen Gracey Posts: 7,407
    edited 2011-04-19 20:42
    Hey Martin, just wanted to say "thanks" for thinking of Parallax first when you envisioned getting started with CPLD/FPGAs. For a while we considered developing an educational kit around the Altera Stratix II but it was more of an interest until the practicality of the business sense entered into our thought process. It didn't feel right to invest our resources in an FPGA created by a big company - things like end-of-life, software licensing, dongles, and plain complicated manufacturing of BGA were all factors that swayed us away. In some ways it would have made a lot of sense because Chip was prototyping with the StratixS672 (I used to know the part number) but that knowledge was applied to the Propeller instead of educational kits.

    I think Andre' LaMothe made a CPLD learner's kit.

    This is a picture of the board we considered for the kit initially:

    attachment.php?attachmentid=80368&d=1303270946

    Ken Gracey
    Parallax Inc.
    450 x 470 - 107K
  • LeonLeon Posts: 7,620
    edited 2011-04-19 21:24
    This is a very cheap Cyclone II board I bought recently:

    http://cgi.ebay.co.uk/ws/eBayISAPI.dll?ViewItem&item=190501210627&ssPageName=STRK:MEWNX:IT

    It's a two-layer board (I'd have made it four layers) but it should be OK for less-demanding applications. I'm designing an add-on board for it with an LED display and a couple of push-buttons, with a prototyping area. It's ideal for use with the book I mentioned.

    I've also got a Digilent Spartan-3 kit (available from $109), and a couple of home-made PCBs using an Altera MAX-II CPLD and a Xilinx CPLD,

    Andre's CPLD kit is very expensive at $159.95.
  • Martin HodgeMartin Hodge Posts: 1,246
    edited 2011-04-20 08:39
    Those look like great boards, but I was thinking more along the lines of this.

    DSCF6604s.JPG


    I bought this back in '02. I forget for how much. It came with a MAX7000 series CPLD, an LPT programming cable and a copy of MAX+II BASELINE (which is less than 100 MBytes.) What caused me to post my suggestion was the gigabytes that needed to be downloaded/installed in order to use "non-legacy" software. I felt like I was having to load up a 700 piece tool set in order to have that 18mm socket. I was comparing this experience with getting started with the Propeller or BS2. (Or even the SX).

    As you can see it's all up and working now and I'm slogging through Quartus II.
    800 x 600 - 215K
  • LeonLeon Posts: 7,620
    edited 2011-04-20 09:23
    The MAX7000 is a CPLD, not an FPGA. Starting with them can be less intimidating, and the development process is the same.
  • Martin HodgeMartin Hodge Posts: 1,246
    edited 2011-04-20 10:02
    Leon, you should elaborate on that. Saying "one is not the other" doesn't help newbies. Considering HVW calls it "Intro-FPGA" says to me there's some ambiguity afloat.

    At any rate I changed the thread title for accuracy.
  • LeonLeon Posts: 7,620
    edited 2011-04-20 10:15
    It is a grey area. Altera calls their MAX devices CPLDs for marketing reasons but they are actually small FPGAs, with on-chip configuration memory. Other manufacturers' CPLDs are quite different from FPGAs, architecturally.
  • jmgjmg Posts: 15,189
    edited 2011-05-10 14:38
    Would have felt better buying it from Parallax, though.

    That does not make much sense, as they simply pass-on the tools, and Eval Boards.

    Or did you mean a Prop + CPLD Combo Board ?

    If you want small tools, then Atmel's WinCUPL is just 20MB, and very fast.
    http://www.atmel.com/dyn/products/tools_card.asp?tool_id=2759

    It suits their CPLDs up to 128 Macrocells, and uses Boolean Eqn so is quick to learn.
    The ATF1502/04/08 in AS/ASL/BE/RE families are JTAG ISP models, in PLCC/TQFP

    Atmel do have a couple of DIP CPLDs in the ATF750CL & ATF2500, but those need a device programmer.

    If you need more complexity, then look at Lattice's new family

    http://www.latticesemi.com/products/developmenthardware/developmentkits/machxo2picokit.cfm

    Having got my board, I see they use a FT2232H (wow: high speed) in the download link.

    This MachXO2 family is still new, but has RAM and PLLs in a sub $10 device, and can swallow their smallest SoftCPU.
  • Martin HodgeMartin Hodge Posts: 1,246
    edited 2011-05-10 16:36
    I'm over it...
  • LeonLeon Posts: 7,620
    edited 2011-05-10 16:49
    You haven't given up, have you?
  • Martin HodgeMartin Hodge Posts: 1,246
    edited 2011-05-10 17:44
    Leon wrote: »
    You haven't given up, have you?

    On this thread, most certainly! On programmable logic, no sir!

    The point of this thread was missed badly. I understand now why real suggestion boxes are locked and anonymous. Being told publicly that one's suggestion does not make much sense is inexcusably rude and a powerful way to discourage others from offering their own ideas. I guess I have a strange notion about how a suggestion forum should function. This thread was not supposed to be about me, but about a suggestion to Parallax.

    As an example; get an XC9536, which is a sub $1 CPLD and very simple. Put it on a DIP-44 carrier board with a little JTAG header. Bundle a programmer and a Design Suite or Quartus II DVD with it and sell it as an introduction to programmable logic. Target it to those who are highly intimidated (again, not me) by multi-gigabyte design suites and 200 pin BGA chips.

    I realize there are many hurdles to making something like that feasible, but I thought it would be a good idea to at least mention it.

    That's all.
  • LeonLeon Posts: 7,620
    edited 2011-05-10 18:10
    Xilinx did that many years ago. They put a 9536 on a little board with a prototyping area, and gave them away with a programing cable and a copy of the software. I got one at a seminar. I've still got it somewhere.

    I doubt if Parallax would sell very many if they produced something like it.
  • Martin HodgeMartin Hodge Posts: 1,246
    edited 2011-05-10 18:41
    Leon wrote: »
    I doubt if Parallax would sell very many if they produced something like it.

    Then maybe I'll try it.
  • jmgjmg Posts: 15,189
    edited 2011-05-10 21:24
    As an example; get an XC9536, which is a sub $1 CPLD and very simple. Put it on a DIP-44 carrier board with a little JTAG header. Bundle a programmer and a Design Suite or Quartus II DVD with it and sell it as an introduction to programmable logic. Target it to those who are highly intimidated (again, not me) by multi-gigabyte design suites and 200 pin BGA chips.

    But you have not avoided the "multi-gigabyte design suites" by doing this at all ?
    You still have to use whatever the device vendor has, for chip design.

    I agree that tends to be bloated, but they seem to prefer to load tools for ALL parts into one large bucket.

    Only Atmel have anything like tools that could be called small. (but it has the associated caveats of Boolean Entry and Smaller device ceiling )

    You may again want to check what others actually offer, eg Lattice already have $29 Breakout Boards
    http://www.latticesemi.com/products/developmenthardware/breakoutboardevalkits.cfm

    Each Breakout board is a 3” x 3” form factor and features a USB B-mini connector for power and programming, an LED array, and prototype area. { No MachXO2 yet, likely coming, meanwhile the MachXO2 Pico Kit is the same price }
    Notice they do not include a CD/DVD, as the software changes too often for that, and such kits may have long shelf lives.

    Yes, those are a good idea, but they are already available ?

    I've suggested to Atmel that they do a similar [USB Power + Pgm + Chip] minimal release, but so far, no product.
  • Martin HodgeMartin Hodge Posts: 1,246
    edited 2011-05-10 21:28
    Never mind. Sorry I brought it up.
  • Bill HenningBill Henning Posts: 6,445
    edited 2011-05-11 13:30
    NKC used to have nice DIP40 modules with Xilinx CPLD's (XC9536, XC9572, and a couple of other newer ones) but I just checked their site, and they are gone.

    Fortunately I picked up four a couple of years ago to play with :)
    On this thread, most certainly! On programmable logic, no sir!

    The point of this thread was missed badly. I understand now why real suggestion boxes are locked and anonymous. Being told publicly that one's suggestion does not make much sense is inexcusably rude and a powerful way to discourage others from offering their own ideas. I guess I have a strange notion about how a suggestion forum should function. This thread was not supposed to be about me, but about a suggestion to Parallax.

    As an example; get an XC9536, which is a sub $1 CPLD and very simple. Put it on a DIP-44 carrier board with a little JTAG header. Bundle a programmer and a Design Suite or Quartus II DVD with it and sell it as an introduction to programmable logic. Target it to those who are highly intimidated (again, not me) by multi-gigabyte design suites and 200 pin BGA chips.

    I realize there are many hurdles to making something like that feasible, but I thought it would be a good idea to at least mention it.

    That's all.
Sign In or Register to comment.