Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question #54

Open
Siegrainn opened this issue Mar 7, 2018 · 0 comments
Open

Question #54

Siegrainn opened this issue Mar 7, 2018 · 0 comments

Comments

@Siegrainn
Copy link

Hi, I have a question I'd like to ask. When I was testing the command exact_mig I found the function :

M'(M'(D,B,M(0,D',C)),M(B,A,M'(0,D',C)),M(B,A',M(0,C,B'))) that covers the minterms (0,1,6,10,13,14,15).

How should I calculate the cost ? Should I count the primitive M(0,D',C) two times or only one ?

The way I'm calculating the cost is:

7 gates, 12 input variables and 7 inverters.

For example, using another program I found the function:
M(M(M'(A,B,1),C',0),M(M(1,C,D),M(A,B,D'),0),1)

With 6 gates, 8 input variables and 3 inverters.

I would like to know if I'm calculating the cost correctly, and if in fact the second function is better than the first one. Thank you for your help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant