Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
12 years ago

How to Import whole the truth table into Quartus and automatically Optimize it

Hi every one

I had designed a Combinational circuit in Quartus II 13.0 but it was not optimized as the number of input variables were so many I couldn't simplify it using Karnaugh Maps ,so I decided to draw whole truth table on the schematic environment with out pre-simplification, as I searched on the net I found out that Quartus does the simplification by it self after compilation.

so after the compile I checked Netlist Viewers/technology map viewer(post filtering),I found the optimized circuit there ,I wonder if I can export or copy it from there and use it in schematic environment, on the other hand is there a way to import whole the truth table to the Quartus so that it automatically optimizes and makes logics by it self ?

I'd be glad for any sort of hint. thank you

13 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    We can't forget fpgas using Quartus. Probably ( 99,9% sure ) Quartus don't use Karnaugh maps. If you see in the tecnhology map viewer, the real implementation of a circuit, you see a multilevel implementation ( multi level LUT, NO multi level logic gate ), when Karnaugh map gives you a 2 level implementation. Quartus generates a good implementation for an Altera fpga. But there isn't the best circuit based on and-or-not gates. Use a software based on Quine-McKluskey method to get the kind of circuit you're looking for.

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Thx dear bertulus for your reply

    as I get from you statement you mean that it Quartus optimizes the circuit in the way that,it is best fit on the FPGA chip not the global Optimization done by Karnaugh map or even Quine-Mckluskey?

    well but as far as I know(watching some tutorial videos)I found out that it Optimizes the Circuit, and as a best of my knowledge there should be a pre-Optimization done by software.

    but as you mentioned I was looking for the software based on Quine-Mckluskey but I am not sure which software should I trust because they rarely guarantee the result, if you had used some sort of related software's I would be very thankful if you introduce me (I have 6 variables of inputs)

    YouTube link of tutorial videos "http://www.youtube.com/watch?v=qKv9LY_VRbc"
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    also I should tell you that the photo I attached is Image of technology map viewer as you see it is Multi level logic gates and also here I saw an option that I saw karnaugh map of my circuit, so I don't think that you are right,

    maybe on the Implementing to FPGA it acts as you said but I think before that it Minimizes the Circuit.