Questions tagged [programmable-logic]

Programmable digital logic devices include FPGAs, CPLDs, and older devices such as GALs and PALs. Programmable logic enables flexibly implementing complex digital functions in a single chip, from a few gates of glue logic to entire microprocessors or complex signal processing systems.

Filter by
Sorted by
Tagged with
0 votes
0 answers
71 views

What logic function performs this IEEE Standard 91-1984 symbol?

I'm thinking about copying network interface card for an old HP9000/300 series computer. These cards are insanely expensive on ebay these days (around 200USD), and i think that i could make one for ...
woytekm's user avatar
  • 81
1 vote
0 answers
57 views

How can I improve my ladder logic diagram of a vending machine?

I am trying to create a coffee and tea machine using a ladder logic diagram. There are small, medium, and large sizes. This is where I am now: Can you give me any ideas or corrections on how to ...
Maxim Kasnedelchev's user avatar
1 vote
0 answers
94 views

Lowering VCE(sat) for analog transistor switch

I've been wanting to build a primitive programmable logic device using mainly bipolar transistors. One of the defining characteristics of a PLD is the ability to select what inputs get passed through ...
Virgil_Tibbs's user avatar
0 votes
1 answer
31 views

Atmel Micro-controller on a Xilinx CPLD board

This question is related to the CoolRunner-II Starter Board that was used to be offered from Digilent. See here for schematic. See here for the reference manual. Here is the block diagram for the CPLD ...
gyuunyuu's user avatar
  • 1,933
1 vote
3 answers
101 views

What is this chip? Is it re-programmable? [duplicate]

I found this chip inside my kid's walker. Seems like it stores the pre-installed audios of children's rhymes. It's connected to several LEDs, a mono speaker and two button pcbs. I wanna replace the ...
ZipfTheBiff's user avatar
0 votes
1 answer
34 views

Understanding OLD PEEL173 code

I have some code for a PEEL173 form the early 90's. I would like to understand the logic of this code, but I don't recognize this syntax. Question 1: Do you recognize the syntax of this language? What ...
CakeMaster's user avatar
1 vote
1 answer
88 views

MAX3000A clock enables

I am digging into the RTL diagram created by the Quartus. I see no registers with ENA input being used. For example: created by the following code ...
Anonymous's user avatar
  • 6,908
2 votes
1 answer
107 views

Is it possible to decrease timing for this circuit?

Warning. I named signal w_tristate_decoder for other reason than it being tristate. w_tristate_decoder is just a name for ths ...
Anonymous's user avatar
  • 6,908
0 votes
0 answers
40 views

Difference between programmable array logic (PALs) with different speeds

I require a PALC22V10-25DMB for my system but this device is not available. I have two other devices for replacement with different speeds: PALC22V10-20DBM and PALC22V10-30DBM. Is it possible to use ...
Shahzaib Ahmed's user avatar
0 votes
0 answers
75 views

Pros and cons connecting R2R directly to FPGA/CPLD

I am designing the R2R-based DAC circuit (5 bits per channel) for the video output @ 25.17 MHz. Looking for advice to ensure I didn't overlook something very important. Initial design was CPLD -> ...
Anonymous's user avatar
  • 6,908
0 votes
0 answers
43 views

Can I use PICkit 3 to program an ATF16V8CZ?

Is possible to program an ATF16V8CZ chip using a PICkit 3 programmer? In the pin description of the datasheet I can't find the conections to the programmer or the MCLR pin.
bruno vicente's user avatar
0 votes
2 answers
94 views

Can a digital system be considered an ASIC regardless its physical implementation?

From my knowledge from classical books of computational and digital systems, an ASIC is a category of full-customized or semi-customized integrated circuit (IC) tailored to a specific application. ...
Rubem Pacelli's user avatar
17 votes
7 answers
4k views

Use cases for RAM-less microcontrollers

In a different question around a specific microcontroller (ATtiny12 - datasheet) I came to ask myself: What are the intended use cases for such devices? Does it target the segment: Too "complex&...
ElectronicsStudent's user avatar
1 vote
1 answer
297 views

Problem in programming ALTERA MAX 7000S CPLD with homemade Byte Blaster

I am trying to read back an ALTERA MAX 7000S CPLD (EPM7064SLC84-10) mounted on a board (a part of the board's schematic is shown below) and copy it on another CPLD. In the schematic, X4 is a male 10 ...
pooya's user avatar
  • 39
0 votes
1 answer
90 views

Can I/O pins on a PLD (e.g. ATF16V8B) be configured to act as an open-drain output that is usable in a wired-OR circuit?

I designed a peripheral card for an 8-bit home computer which uses an ATF16V8B for address decoding and glue logic. I want this card to be able to generate interrupt requests by driving the system's /...
Craig Iannello's user avatar
12 votes
4 answers
1k views

Accurate quadrature decoding without external clocking

An Incremental Encoder is a linear or rotary electromechanical device that has two output signals, A and B, which issue pulses ...
Pavel Stepanek's user avatar
0 votes
1 answer
141 views

Top-level HDL File with Libero SOC

I'm using Libero SOC for the first time. I've used Quartus and Vivado before. I notice in the tutorials ways to use the graphical "Smart Design" file type as a top level module. But I can't ...
FooAnon's user avatar
  • 162
0 votes
0 answers
99 views

Do any FPGAs that set undefined values ​in registers after power up exist?

There is some discussions how to set default values or start an initial sequence in FPGAs design after programming/power-up. The most reliable method is using a supervisor IC which guaranteed send ...
Arseniy's user avatar
  • 2,180
2 votes
0 answers
101 views

JTagging an Atmel ATF1500 CPLD

Intentions I'm learning how to use CPLDs and I thought a good one to start with is the Atmel ATF1500AL-TQFP44. Whats the deal The datasheet provides no information about programming the CPLD; also, ...
Jacob P's user avatar
  • 165
0 votes
1 answer
167 views

CPLD Programming via Microcontroller

I am new to CPLD's and I have a CPLD connected to the microcontroller via JTAG. Xilinx has an application note (XAPP058) about programming but I could not understand very well. Steps that I understand:...
GG Jack's user avatar
1 vote
0 answers
62 views

How do I make my MAX II CPLD stable after disconnecting it from USB ByteBlaster and PC?

I just designed and programmed firmware into my CPLD which has a state machine for a project. It works fine when connected to the USB ByteBlaster and PC. However, when I disconnect the ByteBlaster, ...
MRice's user avatar
  • 11
0 votes
3 answers
133 views

Is this two-tone oscillator a smart design?

I am fiddling a bit with building some kind of programmable sound generator using simple components. I got something more or less working now as a proof of concept: Here, the 555 is wired as an ...
Bart Friederichs's user avatar
0 votes
3 answers
114 views

How can I implement selectable VCC and ground

I want to make a retro computer around a 6809E and a CPLD. It occurs to me that the physical layout/design of this board would be nearly identical for all the 40 pin, 8 bit CPUs except for power and ...
Lee Morgan's user avatar
0 votes
1 answer
288 views

What is the maximum number of inputs to a logic gate that is being used in computing hardware these days?

I was referring to this question, but I had a confusion due to the concept of programmable logic devices. Image from UW page 7. Here the OR section can have up to 8 inputs to it. I'm confused about ...
lousycoder's user avatar
0 votes
2 answers
257 views

PLC programming

In the figure below it says if the contact used is NC, then program it in the PLC as NO. Why? Also, the diagram on the left for example the stop pushbutton which is connected to IN 1, is a NC switch ...
OMAR's user avatar
  • 875
0 votes
0 answers
150 views

Writing an assembler for Lattice GAL devices

I am writing a compiler for the Lattice GAL10V8 and GAL16V8 PLDs. (And, yes I know that these chips are now obsolete.) I have completed the compiler as far as parsing the logic equations and pin ...
Mario Gianota's user avatar
0 votes
0 answers
69 views

Working on a legacy system that requires a full DMA controller (external DRQ/DACK mechanism) CPLD or FPGA vs Microcontroller

I'm working on a system that involves a legacy ASIC that requires a DMA controller. My current implementation is based on the STM32, but as you might know, the STM32 doesn't provide external DRQ/DACK ...
Embedded Music's user avatar
1 vote
1 answer
171 views

Can I programming a CPLD in low-level?

Maybe it's a silly question, but I want to use a microcontroller with a CPLD. My idea is for the microcontroller to reprogram the CPLD as many times as the user wants. The problem is that I don't want ...
Fabián Romo's user avatar
1 vote
2 answers
455 views

GAL 16v8 tri-state independent pin control

I would like to use GAL chips for a project. 16V8, 22V10, 26V12. I have read that the tri-state status of a pin maybe controlled individually. I do not understand how write the equations to ...
Magic_Smoke's user avatar
2 votes
1 answer
944 views

New design with XC9500XL CPLDs, is it already obsolete?

I am in the middle of a new design for which a relatively small amount of logic is needed. This is a change to a previous version in which discrete 3.3V logic parts were used. We decided to go a CPLD ...
Edgar Brown's user avatar
  • 8,366
2 votes
1 answer
68 views

200 Input Smart Multimeter Project

First off, thanks for taking the time to read this and help out. Here's a quick overview of what I am trying to design. I have a break out box that has 200 female probe inputs. Each input is numbered, ...
bmilesyo's user avatar
0 votes
2 answers
70 views

Should I get a response when beeping two GND pins on a CPLD?

I have an Altera CPLD, 5M570ZT100I5N (100 pins, Quad-Flat-Package) mounted in a socket adapter to get access to the pins. I try to beep two GND pins on the same edge of the package, but get no ...
drC1Ron's user avatar
  • 125
1 vote
2 answers
626 views

Altera Quartus detects 2 CPLD devices instead of 1

I try to program a design I made using 5M40ZE64C5N CPLD. The software side was successful and I got a .pof file without any critical warnings or errors. The problem occurs when I try to upload the ...
user3161354's user avatar
0 votes
1 answer
156 views

16V8 PLD alternatives for fast clock-to-data turnaround time

Context: I'm prototyping an MIPI I3C Basic slave device implemented on a PSOC5LP. (I3C is similar to I2C, but is spec'd to run at up to 12.9 MHz.) Due to a speed limitation of the PSOC, I'm ...
Burt_Harris's user avatar
1 vote
2 answers
2k views

Easier way to implement a large look-up table in Verilog?

I am designing the FPGA-based control for a power-electronic AC/DC converter. This converter has five output voltage levels, so it has 8 switching instances. The levels are given by ...
CaptainFantastic's user avatar
2 votes
1 answer
2k views

3 digit BCD Counter in VHDL and Quartus II

I'm trying to make a 3 digits BCD counter in VHDL for Cyclone V FPGA from intel. I have an module-k counter design and I instantiate four counters in top level module (structural design): One counter ...
Jhonson B.'s user avatar
0 votes
2 answers
207 views

Have I burnt my MAX II by excessive soldering?

I soldered my first TQFP 100 package, an Altera MAX II EPM570 CPLD, on a PCB. But I only found the "correct" way to solder (put flux on the pads and on the pins, melt some tin on a thin iron ...
ris8_allo_zen0's user avatar
-1 votes
1 answer
104 views

What is the relation of memory and PLD to (synchronous) sequential circuits?

In Mona's Digital Design book, Chapter 5 outlines the formal procedures for analyzing and designing clocked (syn- chronous) sequential circuits. The gate structure of several types of flip‐flops ...
Tim's user avatar
  • 359
1 vote
1 answer
126 views

What is the difference between these two ladder logic diagrams?

First ladder logic diagram: Second ladder logic diagram: I am trying to implement a toggle switch. On the rising edge of "Change", it should toggle "ToggleThis". I thought the ...
user207787's user avatar
0 votes
1 answer
102 views

Which pins belong in a "I/O region" on a MAX II CPLD?

I want to use an Altera/Intel MAX II device (EPM570) to drive 20 LEDs. They all have 20mA forward voltage, for a worst-case current draw of 400mA. The application note AN 286 explains how an Altera/...
ris8_allo_zen0's user avatar
1 vote
3 answers
333 views

How much current can a MAX II I/O pin safely sink? 16 or 55mA?

This question is quite similar to this one. As far as I understood, an I/O pin configured as LVTTL output can be programmed to source/sink up to 16mA. This is what the MAX II handbook says in Table 2....
ris8_allo_zen0's user avatar
1 vote
2 answers
140 views

Is fractional PLL the key functionality that defines whether a microcontroller is able to generate an analog TV signal?

I've been researching microcontrollers with the goal of outputting NTSC and/or PAL video signals. And when I look at the microcontroller specifications, it appears to me that the single most important ...
Duke Dougal's user avatar
2 votes
1 answer
711 views

Analog video chrominance decoding - PAL/NTSC

I'm implementing an analog video decoder on FPGA. I find some difficulties during chrominance decoding. I appreciate if you can help me. These are the steps as I'm doing: I generate an NTSC ColorBar ...
tgharbi's user avatar
  • 21
4 votes
2 answers
665 views

What does an NMOS transistor with the gate connected to the drain do?

I'm studying about PLAs and I came across this simple PLA design. What is the purpose of the highlighted transistors?
AnotherOne's user avatar
0 votes
0 answers
177 views

Programmable delay line IC

I'm currently redesigning a delay line circuit. It is implemented on a Xilinx CPLD IC. Minimum delay is about 200 ns and maximum 600 µs, which is enough range for my project. What I want to do is ...
mil's user avatar
  • 11
0 votes
1 answer
260 views

Checking the color of the pixel in VHDL

I'm trying to switch the colors of a 4-bitmap image using VHDL . In a 4 bit-image . Which means we have these types of colors . ...
James's user avatar
  • 15
0 votes
1 answer
154 views

Question On Logic Gates

In a small railway station, there are three platforms, #1, #2, #3. Up and down trains can enter in platform number #2 and #3, but platform #1 is only devoted to up trains. Design a logic circuit using ...
user255006's user avatar
1 vote
0 answers
37 views

5-V CPLD family in-circuit programmability

I have a need for a relatively small amount of 5V-logic (active at power-up) that would perfectly fit a package like that of the ATF750CL CPLD from Atmel/Microchip, the DigiKey page for these devices ...
Edgar Brown's user avatar
  • 8,366
2 votes
1 answer
585 views

How do you select pin functions on an EPM7128 CPLD?

I have some old Altera MAX EPM7128SLC84-15N CPLDs kicking around that I want to use to interface with 5v TTL logic. If you look at the pinout, some of the pins have more than one function (eg. Pin 2 ...
santonel's user avatar
0 votes
1 answer
67 views

Why a CPLD input pin behaves almost like an output pin?

I want my CPLD (a MAX II CPLD, EPM240, see datasheet) to accept an S/PDIF input using an optical receiver with TTL-compatible output. I tested the receiver alone: when giving proper power and optical ...
ris8_allo_zen0's user avatar

1
2 3 4 5