Author Topic: Long time since I've played with PLD's.  (Read 681 times)

0 Members and 1 Guest are viewing this topic.

Offline 1sciguy

  • Contributor
  • Posts: 33
  • Country: us
Long time since I've played with PLD's.
« on: August 01, 2022, 09:15:56 pm »
Guys, it has probably been 30 years since I played with PLD's and then moved over to microcontrollers and never looked back.  I am now, however, looking back and want to know what the latest low-cost, and not nearing obsolescence, types of platforms I should look at.  I want to build a first fault detector for a security system to indicate which monitored window or door was the first to trigger.  Lets say 12 input signals where only the first to fault would latch. This is simple "AND, OR, S-R type logic gates I could have done in a PLD back in the 90's but of course all that stuff is obsolete and I would prefer to do this on a single chip instead of discrete logic chips. I could probably still do this within the microcontroller using port-pin interrupts, but I'm just curious about dabbling into PLD's again.  Is there some super-simple logic drop, drag, and wire it up software that downloads into a PLD?
 

Online ataradov

  • Super Contributor
  • ***
  • Posts: 9513
  • Country: us
    • Personal site
Re: Long time since I've played with PLD's.
« Reply #1 on: August 01, 2022, 09:52:20 pm »
All mainstream vendors obsoleted and removed visual design tools a long time ago. Anything you find for that would be old.

At the same time, I don't understand why your thing could not be trivially solved by an MCU. There is no modern low level PLDs and even smallest FPGAs are a complete pain in the rear with proprietary IDEs and license updates. I'd stay away from them unless the task absolutely can't be solved with an MCU.
Alex
 
The following users thanked this post: coldfiremc

Offline 1sciguy

  • Contributor
  • Posts: 33
  • Country: us
Re: Long time since I've played with PLD's.
« Reply #2 on: August 01, 2022, 09:55:24 pm »
Yes, I'm getting a sense of that in the market.  And severe shortages of this type of component.  I could do it "old school" with a FIFO shift register, but I just thought if there was something cool out there to learn it might be fun.
 

Online ataradov

  • Super Contributor
  • ***
  • Posts: 9513
  • Country: us
    • Personal site
Re: Long time since I've played with PLD's.
« Reply #3 on: August 01, 2022, 10:00:21 pm »
Why do you need a shift register? Get an MCU with >12 pins and connect your sensors directly.

If you really want low end FPGA look at Lattice or Gowin. Both have low density, low pin count FPGA. Some Lattice devices are even intermittently available for purchase right now.
Alex
 

Offline Whales

  • Super Contributor
  • ***
  • Posts: 1594
  • Country: au
    • Halestrom
Re: Long time since I've played with PLD's.
« Reply #4 on: August 01, 2022, 10:58:57 pm »
The market has very much moved to micros.  I tried dipping my toes into the low end of programmable logic several years back only to discover it looks expensive and legacy.  Also there seems to be a culture of multi-hundred-dollar programmers & proprietary software, something which at least some micros have moved beyond.

Some micros even have some in-built programmable logic as a feature.  I suspect that's the cheapest & easiest (but totally "wrong") way of getting it nowadays.

Offline TomS_

  • Frequent Contributor
  • **
  • Posts: 762
  • Country: gb
Re: Long time since I've played with PLD's.
« Reply #5 on: August 07, 2022, 04:18:33 am »
Altera Quartus II 13 has a schematic entry mode for MAX7000 CPLDs, and there are cheap clone programmers available on eBay for < $10. The biggest challenge then is finding some CPLDs, but they do come up from time to time.

It's not a sustainable route though, the CPLDs are harder and harder to find, but it's one option.

Alternatively you can develop for a MAX7000 series CPLD and then use a tool like pof2jed and an Atmel programmer for Atmel ATF150X CPLDs which are still produced today, but a bit difficult to find in these times.
 

Offline djsb

  • Frequent Contributor
  • **
  • Posts: 728
  • Country: gb
Re: Long time since I've played with PLD's.
« Reply #6 on: August 07, 2022, 05:59:41 am »
You could try mystorm when it's available again. It combines an ICE40 HX4K FPGA and a Stm32F730 MCU.

https://www.tindie.com/products/folknology/blackice-mx/#product-reviews

https://www.youtube.com/channel/UCQSPg8L4WFBGuj_MnvQQ7Qw/videos

David
Hertfordshire,UK
 University Electronics Technician, London PIC,CCS C,Arduino,Kicad, Altium Designer,LPKF S103,S62 Operator, Electronics instructor.  http://debuggingrules.com/ Give a man a fish and you feed him for a day. Teach a man to fish and you feed him for a lifetime.
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf