3 ms·
In between the dead PAL/GAL ecosystem and today's FPGAs, you have CPLDs. A 32-macrocell 15-nanosecond ATF1502ASV will run you US$2.42 from Digi-Key https://ww
by kragen 4y ago
In between the dead PAL/GAL ecosystem and today's FPGAs, you have CPLDs. A 32-macrocell 15-nanosecond ATF1502ASV will run you US$2.42 from Digi-Key https://www.digikey.com/en/products/detail/microchip-technology/ATF1502ASV-15JU44/1008571 https://www.digikey.com/en/products/detail/microchip-technol... and a 64-macrocell 10-nanosecond 3.3-volt M4A3-64 will run you US$6.90 https://www.digikey.com/en/products/detail/lattice-semiconductor-corporation/M4A3-64-32-10VNC48/3457383 https://www.digikey.com/en/products/detail/lattice-semicondu.... You can replace a heck of a lot of 74xx components with a 64-macrocell CPLD, the software tooling for CPLDs is significantly less antiquated than the PAL/GAL tooling, and the designs are as open as the PAL/GAL designs.
The thing is, though, if you can stomach a BGA, a 640-LUT iCE40UL640 FPGA is only US$2.80 via Digi-Key https://www.digikey.com/en/products/detail/lattice-semiconductor-corporation/ICE40UL640-SWG16ITR1K/5130904 https://www.digikey.com/en/products/detail/lattice-semicondu..., so it's hard to justify using a CPLD instead in a new design. Maybe easier since the shortage crisis. But that's a "still-in-production commercial-grade† FPGA" and it's US$2.80 in parts, not US$100. A reel of 1000 is US$2340.
Is this the small-scale hobbyist FPGA you're looking for? I think you can fit two or three RISC-V controllers on it with SeRV, and it includes 56 kbits (7 KiBytes?) of EBRAM.
(Disclaimer: I don't actually know any of this stuff, I'm just repeating things I've read without really understanding them.)
______
† I'm not sure what you mean by "commercial-grade"? I mean it's not a university research project? Lattice is a commercial company and sells the iCE40UL640 as a commercial product.
- gaudat 4y agoCommerical grade refers to the temperature range the component is tested to work. Amusingly it is the lowest grade where you can get industrial grade, military grade or even space grade components. I tried to work with those lattice parts once but they were so tiny (0.3 or 0.4mm pitch bga) basically undoable by cheap Chinese hobbyist board houses.
- kragen 4y agoThe WLCSP is even tinier pitch! I was thinking maybe I could superglue the chip to a board balls up and dead-bug it? Thanks for the explanation of "commercial-grade" as "not automotive-grade"!
- r3012 4y agoI think the usual technique for soldering a BGA is a lot easier. https://hackaday.com/2021/02/28/bga-soldering-and-inspection/ https://hackaday.com/2021/02/28/bga-soldering-and-inspection... At the bottom of the page you'll see a link to someone who followed your suggestion. Now that looks hard. :)
- hakfoo 4y ago"Commercial grade" was a terrible choice of words, I know. I guess I was looking for "currently on offer, and in a phase of lifecycle where you could design a long-lifecycle product around it without a panicked mid-life crisis to replace the chip when supplies ran out." Not "15 year old parts that have deprecated to the point where they're hobbyist-priced". I suppose another big problem with a lot of more sophisticated offerings is, as you suggest, BGA may be hard to stomach. Anything more complex than through-hole packages, or socketable versions is going to dramatically raise the bar for "this can be shipped as a kit and home-assembled." The PLCC one might be viable from that context. Yeah, the "we'll drill your PCB" houses will also tack down your SMD parts, but it changes the proposition. Instead of selling a $10 blank PCB and saying "order what you need from Mouser" you suddenly have a lot more money sunk in partially or fully assembled inventory.
- kragen 4y agoOh, I see! I don't know what Lattice's life cycle for its products is but given that they're evidently still making CPLDs from 30 years ago I wouldn't worry too much. I think these particular FPGAs are only about 7 years old, too; the datasheet (DS1050) lists two revisions, both from 02015, and I recall looking for such low-end FPGAs around that time and not being able to find any. The last time I went to an electronics hobbyist store I was amazed to find that everything was on breakout boards. They didn't sell chips, they sold boards, all with 2.54mm Molex pin headers on them, or sometimes rows of holes for you to solder the pin headers to. It was so extreme that they had a ULN2003 septa-darlington on a breakout board, by itself, with a pin header connected to each of its pins. A DIP ULN2003! Which has 2.54mm pins on the actual chip! So apparently electronics hobbyists now barely use breadboards or soldering irons. They wire together boards with jumper wires, using the pin headers that come pre-soldered to the board. In that vein, it looks like SparkFun sells a Lattice XO2-1200 breakout board with 2.54 mm pin headers for US$21.50 https://www.sparkfun.com/products/14828 https://www.sparkfun.com/products/14828 but they're out of stock, and a similar Lattice iCE40LP8K breakout board for US$41.95 https://www.sparkfun.com/products/14829 https://www.sparkfun.com/products/14829 which is also out of stock. And, holy crap, that chip has more logic cells than the iCE40UP5K chip I erroneously thought was Lattice's biggest. And also the US$7.95 https://www.sparkfun.com/products/17131 https://www.sparkfun.com/products/17131 in Adafruit's Feather wing footprint which is not out of stock and has an Intel MAX 10 FPGA along with an Atmel SAMD51 μC. Anyway I feel like, if you wanted to ship an FPGA thing as a kit and home-assemble it, you could solder the BGA FPGA onto a small PCB with 2.54mm pin headers along the edges so the kit assemblers can plug it into their breadboard or connect wires to it easily. Basically the PCB takes the place of an epoxy or ceramic DIP and leadframe. I'm not sure the traditional Heathkit-style "kit" market exists any more, though. 50 years ago you by buying the unassembled kit you were saving the salary of a lab technician in Benton Harbor who would have assembled, soldered, tested, and troubleshot your device by hand, at a cost of potentially over US$100. Now you're saving the cost of a pick-and-place machine at JLCPCB; they charge 0.15¢ per pin, last time I checked, with a minimum order quantity of 10 boards. The benefit now of getting parts unassembled is not that it's cheaper; it's that you can assemble them into something different, shortening the feedback time on your own designs.