Coder Social home page Coder Social logo

Comments (7)

yashton avatar yashton commented on July 28, 2024
% lsoracle -f x.lso 
AIG network stored
[w] no mig in store
There is not an MIG network stored.

I suspect you had an XOR gate stored in the MIG store while the OR gate ended up in the AIG store - you'll note that you loaded the blif as an AIG with -a, but wrote out the MIG store with -m.

from lsoracle.

ratul619 avatar ratul619 commented on July 28, 2024

I read the blif with -m option , but or gate doesnt seem to reflect

lsoracle> read_blif or.blif -m
MIG network stored
lsoracle> ps -m
nodes: 6
inputs: 2
latches: 0
outputs: 1
MAJ nodes: 3
MIG level: 3
lsoracle [mig]> write_verilog -m --filename or_oracle2.v

module top(c , d , q );
input c , d ;
output q ;
wire new_n3, new_n4, new_n5;
assign new_n3 = ~c & d ;
assign new_n4 = d & ~new_n3 ;
assign new_n5 = ( c & new_n3 ) | ( c & ~new_n4 ) | ( new_n3 & ~new_n4 );
assign q = new_n5 ;
endmodule

from lsoracle.

yashton avatar yashton commented on July 28, 2024

@ratul619 could you post the blif file so I can take a look?

from lsoracle.

ratul619 avatar ratul619 commented on July 28, 2024

.model top
.inputs c d
.outputs q
.names $false
.names $true
1
.names $undef
.names c d q
1- 1
-1 1
.end

from lsoracle.

srtemp avatar srtemp commented on July 28, 2024

Good catch. It's a bug in either the BLIF reader or the node resynthesis that goes from truth table -> MIG. I have an update in progress that should fix it, since it updates all of that code, but I need to test with this particular case now. We should push it in the next few days. In the interim I'd recommend using AIG input if possible; that resolved the problem for me.
Thanks for pointing this out!

from lsoracle.

ratul619 avatar ratul619 commented on July 28, 2024

Hi , Should this be solved now ? Thanks

from lsoracle.

NormandAlexandre avatar NormandAlexandre commented on July 28, 2024

Hey,
With the current version we have, it worked without any problem.

from lsoracle.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.