Circuit Drawer
April 14, 2009 10:37 PM Subscribe
Anybody know of any free software that will take my logic equations and make a circuit diagram?
As an example, the following describes a circuit with three inputs and three outputs. I'd like to have this automatically drawn up with the usual symbols for and-gates, or-gates, and inverters. Of course the syntax can be anything similar to this.
Inputs X0, X1, X2; outputs Y0, Y1, Y2.
W = ! ( X0∙X1 + X1∙X2 + X2∙X0 )
Z = ! ( X0∙X1∙X2 + (X0 + X1 + X2)∙W )
Y0 = W∙(Z + X1 + X2) + Z∙X1∙X2
Y1 = W∙(Z + X0 + X2) + Z∙X0∙X2
Y2 = W∙(Z + X0 + X1) + Z∙X0∙X1
As an example, the following describes a circuit with three inputs and three outputs. I'd like to have this automatically drawn up with the usual symbols for and-gates, or-gates, and inverters. Of course the syntax can be anything similar to this.
Inputs X0, X1, X2; outputs Y0, Y1, Y2.
W = ! ( X0∙X1 + X1∙X2 + X2∙X0 )
Z = ! ( X0∙X1∙X2 + (X0 + X1 + X2)∙W )
Y0 = W∙(Z + X1 + X2) + Z∙X1∙X2
Y1 = W∙(Z + X0 + X2) + Z∙X0∙X2
Y2 = W∙(Z + X0 + X1) + Z∙X0∙X1
Do you want it to do optimization / synthesis kinds of things? Or just directly translate the algebraic notation into an equivalent set of gates?
posted by hattifattener at 11:29 PM on April 14, 2009
posted by hattifattener at 11:29 PM on April 14, 2009
Response by poster: I would like a gate diagram that matches the structure of my equations, without an optimization. Logic Friday looks very promising!
posted by iconjack at 11:47 PM on April 14, 2009
posted by iconjack at 11:47 PM on April 14, 2009
Logisim is fairly limited (intended for student projects) but is free and should do what you're looking for. It's cross-platform (Java).
posted by zachlipton at 11:49 PM on April 14, 2009
posted by zachlipton at 11:49 PM on April 14, 2009
Response by poster: Logic Friday is pretty nice, but I can't seem to prevent it from "minimizing" my equations, thereby changing the structure of the circuit.
posted by iconjack at 12:02 AM on April 15, 2009
posted by iconjack at 12:02 AM on April 15, 2009
I've never done what you described above, but you can construct models of circuits using this software Modelica or OpenModelica (so perhaps it is useful?)
posted by a womble is an active kind of sloth at 6:13 AM on April 15, 2009
posted by a womble is an active kind of sloth at 6:13 AM on April 15, 2009
This thread is closed to new comments.
posted by teraflop at 11:05 PM on April 14, 2009 [1 favorite]