Design does not fit on the chip

  • Thread starter Thread starter EvLer
  • Start date Start date
  • Tags Tags
    Design Fit
AI Thread Summary
The discussion centers on a user struggling to fit a combinational logic function into a GAL16V8D programmable logic device (PLD) for an assignment involving five inputs and two outputs indicating multiples of 3 and 5. The user seeks advice on optimizing their Abel program after the compiler indicates that the design exceeds the chip's capacity. Suggestions include examining the generated equations and considering the use of intermediate terms to fit the logic within the constraints of the PLD. Additionally, reversing polarity to utilize inverted equations from a Karnaugh map is recommended as a potential solution for achieving a more efficient design. Ultimately, the user reports success after implementing these suggestions.
EvLer
Messages
454
Reaction score
0
So, yeah... this is an assignment, but i just need some hint:
we need to write an abel program for a combinational logic function with 5 inputs representing integers 0-31, and two outputs M3 and M5, which indicate whether the number is multiple of 3 or 5, respectively.
So, here's my truth_table... and... my design does not fit on the chip (compiler says)! How can i rework this if compiler isn't able to optimize it?

thanks much as always.

EDIT: i should say that i used GAL16V8D, is it possible to use this PLD or do i need to use something like GAL22?
 

Attachments

Last edited:
Engineering news on Phys.org
EvLer said:
So, yeah... this is an assignment, but i just need some hint:
we need to write an abel program for a combinational logic function with 5 inputs representing integers 0-31, and two outputs M3 and M5, which indicate whether the number is multiple of 3 or 5, respectively.
So, here's my truth_table... and... my design does not fit on the chip (compiler says)! How can i rework this if compiler isn't able to optimize it?

thanks much as always.

EDIT: i should say that i used GAL16V8D, is it possible to use this PLD or do i need to use something like GAL22?
Here's a hint -- look at the equations that the compiler generated, and think about how you can get the logic to fit if you generate an intermediate term and feed it back into the PLD as another input. It may take two passes through the small PLD to get the result. So it may take two or more clock cycles for the logic to propagate from new input data to valid output data.
 
don't mean to overwhelm my post, but here are the equations generated by abel (i fit it on GAL22 for now)... could i have a hint :cry:

M3 = (N4 & !N3 & N2 & !N1 & N0
# N4 & N3 & !N2 & !N1 & !N0
# !N4 & N3 & N2 & !N1 & !N0
# N4 & !N3 & !N2 & N1 & !N0
# !N4 & !N3 & N2 & N1 & !N0
# !N4 & N3 & !N2 & !N1 & N0
# !N4 & !N3 & !N2 & N1 & N0
# N4 & N3 & N2 & N1 & !N0
# N4 & N3 & !N2 & N1 & N0
# !N4 & N3 & N2 & N1 & N0);

M5 = (N4 & !N3 & N2 & !N1 & !N0
# !N4 & N3 & !N2 & N1 & !N0
# N4 & N3 & !N2 & !N1 & N0
# !N4 & !N3 & N2 & !N1 & N0
# N4 & N3 & N2 & N1 & !N0
# !N4 & N3 & N2 & N1 & N0);

edit: i assume for GAL16V8 i need to "minimize" sum terms, of which there are 16 (OR-gates and 8 AND gates), right? well...i have 16!
 
Last edited:
Those aren't the reduced equations, are they?

Edit/Hint -- Those are the "reduced" equations for positive logic, but check out the K-map for the inverted form. Try enabling the inverted form in your compiler. Does it not generate them also by default? Whenever your K-map has isolated 1's like that and big groups of 0's, the inverted equations will probably be more efficient.
 
Last edited:
thanks! i reversed polarity and i think it fit...
 
Thread 'Weird near-field phenomenon I get in my EM simulation'
I recently made a basic simulation of wire antennas and I am not sure if the near field in my simulation is modeled correctly. One of the things that worry me is the fact that sometimes I see in my simulation "movements" in the near field that seems to be faster than the speed of wave propagation I defined (the speed of light in the simulation). Specifically I see "nodes" of low amplitude in the E field that are quickly "emitted" from the antenna and then slow down as they approach the far...
Hello dear reader, a brief introduction: Some 4 years ago someone started developing health related issues, apparently due to exposure to RF & ELF related frequencies and/or fields (Magnetic). This is currently becoming known as EHS. (Electromagnetic hypersensitivity is a claimed sensitivity to electromagnetic fields, to which adverse symptoms are attributed.) She experiences a deep burning sensation throughout her entire body, leaving her in pain and exhausted after a pulse has occurred...
Back
Top