whaaswijk / libmajesty Goto Github PK
View Code? Open in Web Editor NEWLibrary for Logic Synthesis and Optimization
Library for Logic Synthesis and Optimization
See pictures, here applying a Relevance action but can it happen for other actions as well? :
First graph :
// Written by the Majesty Logic Package
module top (
a , b , c ,
F ) ;
input a , b , c ;
output F ;
wire w4 , w5 , w6 ;
assign w4 = ~a | b ;
assign w5 = c | ~w4 ;
assign w6 = ( a & b ) | ( a & ~w5 ) | ( b & ~w5 ) ;
assign F = ~w6 ;
endmodule
Second graph :
// Written by the Majesty Logic Package
module top (
a , b , c ,
F ) ;
input a , b , c ;
output F ;
wire w4 , w5 , w6 , w7 ;
assign w4 = ~a | b ;
assign w5 = c | ~w4 ;
assign w6 = ~b | c ;
assign w7 = ( a & b ) | ( a & ~w6 ) | ( b & ~w6 ) ;
assign F = ~w7 ;
endmodule
NB: graphs are equals
Example Graph (ONE EXAMPLE IS NOT ENOUGH TO KNOW IF IT REALLY WORKS) :
get_moves
and get_moves_fast
do not even bring the same results....
get_moves
seems to be the correct one, and get_moves_fast
the incorrect one
The partial version gives a third different result which is the union of both outputs
// Written by the Majesty Logic Package
module top (
a , b , c ,
F ) ;
input a , b , c ;
output F ;
wire w4 , w5 , w6 , w7 , w8 , w9 ;
assign w4 = b & c ;
assign w5 = b & ~c ;
assign w6 = ~b | w4 ;
assign w7 = ~a & w5 ;
assign w8 = a & w6 ;
assign w9 = w7 | w8 ;
assign F = w9 ;
endmodule
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.