Generating Code Automatically

Matlab
 
GeneXproTools 4.0 allows you to design logic circuits using a total of 258 different built-in logical functions. And with the All Gates Matlab grammar you can generate immediately Matlab code using all the 258 built-in gates.

But you can also redesign immediately the generated Matlab circuits using five additional logical grammars: Not-And-Or Only, Nand Only, Nor Only, Mux System, and Reed-Muller System. These grammars can be used to automatically generate Not-And-Or Only, Nand Only, Nor Only, Mux Only, and Not-And-Xor circuits.

To translate your logical circuits into Matlab, on the GeneXproTools modeling environment, select the Model Panel, and then select both Matlab and the Logical System you are interested in (Not-And-Or Only, Nand Only, Nor Only, Mux System, and Reed-Muller System) on the Language list boxes.

Obviously, GeneXproTools allows you to use exclusively the gates you are interested in as your building blocks and then use the All Gates Matlab grammar to generate your logic circuits. The advantage of this approach is that you will almost certainly end up with much more parsimonious circuits.

Home | Contents | Previous  | Next