Comments (7)
% 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.
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.
@ratul619 could you post the blif file so I can take a look?
from lsoracle.
.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.
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.
Hi , Should this be solved now ? Thanks
from lsoracle.
Hey,
With the current version we have, it worked without any problem.
from lsoracle.
Related Issues (20)
- any stable branch ? HOT 2
- Initial Setup Basic Instructions HOT 1
- Set up CCID to publish non master docs. HOT 1
- Add documentation of papers about LSOracle and it's performance HOT 2
- Problem about command "oracle" HOT 3
- make error HOT 7
- ./lsoracle: not found HOT 1
- Aborted (Core dumped) HOT 1
- I have a make error。 HOT 6
- error: ‘write_child’ is not a member of ‘oracle’ HOT 1
- some questions for testcase in "Structure Aware Partitioning for Mixed Logic Synthesis" HOT 1
- "get_all_partitions" does not work
- Segmentation Fault (Core dumped) HOT 1
- some questions in structure aware partition method
- Exporting a top-module in Verilog containing the instantiations of the sub-circuits
- MIG optimization HOT 2
- Error in `lsoracle': free(): invalid pointer: 0x00000000344e8f00
- build without ENABLE_OPENSTA and ENABLE_ABC will failed
- Program execution stuck during karypar HOT 1
- performance question HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lsoracle.