Troubleshooting a PLD Circuit: Common Issues and Solutions

  • Thread starter Thread starter EvLer
  • Start date Start date
AI Thread Summary
Common issues with PLD circuits include improper test vector usage, which can lead to unverified programming results. It's essential to compare the PLD's output behavior against the intended design, potentially using an oscilloscope to identify problems like incompatible logic levels. A suggested troubleshooting method involves configuring the PLD to output a constant high signal to isolate electrical issues. The speed setting of the PLD does not affect the programming process but is crucial for timing calculations in complex functions. Ultimately, the discussion highlights the importance of thorough testing and verification in PLD design to avoid common pitfalls.
EvLer
Messages
454
Reaction score
0
How can a PLD go wrong?
The TA watched me burn it (with Dataman) but then when i connected my circuit it did not light my 7-input LED. So, my question is how to check it... for some reason i don't believe that PLD is fried, because i used my friend's (burned it for my truth table) and it did not produce any output either. Circuit is pretty simple and i am pretty sure it is working fine.
Thanks much.
 
Engineering news on Phys.org
LOL. That's never happened to meeee!

Well, did you write test vectors for your design, and did the programmer use those test vectors to verify the burned PLD? You need to write test vectors for your simulator to test out your design, and have the programmer also run them at programming time.

Also, look at the behavior of your PLD in the circuit, compared to the design behavior that you were trying to acheive. Can you figure out what is wrong by looking at the behavior with an oscilloscope? It could be something as simple as incompatible logic levels. Some PLDs only output TTL levels, so if you are trying to drive 74HC-type logic with a PLD, your Voh may not be high enough to satisfy the CMOS Vih requirement.

Did I mention test vectors already... :biggrin:
 
I'll repeat berkeman, test vectors are your friend.

Here is another thing I try:
Configure your PLD with the following truth table, Output=1 (always high regardless
of input). I relize this is not the intended behavior but this is just for a quick/easy debug check. This we separate the input from the output helping you isolate the problem. It will also confirm that the burn process 'can' work.

If the LED does not light then you have an electrical issue on the output and you will be in a good position to locate the root cause. (For instance if the PLD output is not
high then the burn process failed, or perhaps the PLD has no power!) If the LED does light look into the logic encoded into your truth table more closely and at the input signals.
 
OK, i think i maybe figured it out: i programmed my GAL16V8D-25LP for speed of -10 instead of -25, could that be the reason? and if so, does it mean that i fried it permanently. And to begin with, what does the speed stand for?

thanks... i'll look into vectors
 
EvLer said:
OK, i think i maybe figured it out: i programmed my GAL16V8D-25LP for speed of -10 instead of -25, could that be the reason? and if so, does it mean that i fried it permanently. And to begin with, what does the speed stand for?

thanks... i'll look into vectors
No, the device speed has nothing to do with the programming operation. The propagation delay ("speed") is used in your timing calculations when you use PLDs, CPLDs and FPGAs for more complex functions, like memory address mapping controllers for microprocessor circuits.

Can you post the function that you want to achieve, your source code, and the report file for your PLD design?
 
well... between 2 TA's they got it to work erasing the chip 100 times and turning off the burning station, in the process they fried my 7-input LED. I think it actually started to work when we let Abel assign output pins by itself without specifying the outputs as originally was intended by lab specifications. Why is that?
And yeah.. what was going on is that PLD was always outputting 4.08V when the output should have been low. I will post chip report for you to see ... when i get to the lab machine...

Thanks for the suggestions!
 
Hi all I have some confusion about piezoelectrical sensors combination. If i have three acoustic piezoelectrical sensors (with same receive sensitivity in dB ref V/1uPa) placed at specific distance, these sensors receive acoustic signal from a sound source placed at far field distance (Plane Wave) and from broadside. I receive output of these sensors through individual preamplifiers, add them through hardware like summer circuit adder or in software after digitization and in this way got an...
I have recently moved into a new (rather ancient) house and had a few trips of my Residual Current breaker. I dug out my old Socket tester which tell me the three pins are correct. But then the Red warning light tells me my socket(s) fail the loop test. I never had this before but my last house had an overhead supply with no Earth from the company. The tester said "get this checked" and the man said the (high but not ridiculous) earth resistance was acceptable. I stuck a new copper earth...
I am not an electrical engineering student, but a lowly apprentice electrician. I learn both on the job and also take classes for my apprenticeship. I recently wired my first transformer and I understand that the neutral and ground are bonded together in the transformer or in the service. What I don't understand is, if the neutral is a current carrying conductor, which is then bonded to the ground conductor, why does current only flow back to its source and not on the ground path...
Back
Top