Commit 2d782f7b by Alan Mishchenko

Version abc50915

parent 0f6eeaea
...@@ -418,6 +418,10 @@ SOURCE=.\src\base\io\ioWritePla.c ...@@ -418,6 +418,10 @@ SOURCE=.\src\base\io\ioWritePla.c
# PROP Default_Filter "" # PROP Default_Filter ""
# Begin Source File # Begin Source File
SOURCE=.\src\base\main\libSupport.c
# End Source File
# Begin Source File
SOURCE=.\src\base\main\main.c SOURCE=.\src\base\main\main.c
# End Source File # End Source File
# Begin Source File # Begin Source File
......
No preview for this file type
...@@ -3,16 +3,52 @@ ...@@ -3,16 +3,52 @@
<pre> <pre>
<h1>Build Log</h1> <h1>Build Log</h1>
<h3> <h3>
--------------------Configuration: abc - Win32 Debug-------------------- --------------------Configuration: abc - Win32 Release--------------------
</h3> </h3>
<h3>Command Lines</h3> <h3>Command Lines</h3>
Creating temporary file "C:\DOCUME~1\alanmi\LOCALS~1\Temp\RSP1DD5.tmp" with contents Creating temporary file "C:\DOCUME~1\alanmi\LOCALS~1\Temp\RSP211A.tmp" with contents
[ [
/nologo /MLd /W3 /Gm /GX /ZI /Od /I "src\base\abc" /I "src\base\abci" /I "src\base\abcs" /I "src\base\cmd" /I "src\base\io" /I "src\base\main" /I "src\bdd\cudd" /I "src\bdd\epd" /I "src\bdd\mtr" /I "src\bdd\parse" /I "src\bdd\dsd" /I "src\bdd\reo" /I "src\sop\ft" /I "src\sat\asat" /I "src\sat\msat" /I "src\sat\fraig" /I "src\opt\cut" /I "src\opt\dec" /I "src\opt\fxu" /I "src\opt\rwr" /I "src\map\fpga" /I "src\map\pga" /I "src\map\mapper" /I "src\map\mapp" /I "src\map\mio" /I "src\map\super" /I "src\misc\extra" /I "src\misc\st" /I "src\misc\mvc" /I "src\misc\util" /I "src\misc\vec" /D "WIN32" /D "_DEBUG" /D "_CONSOLE" /D "_MBCS" /D "__STDC__" /D "HAVE_ASSERT_H" /FR"Debug/" /Fp"Debug/abc.pch" /YX /Fo"Debug/" /Fd"Debug/" /FD /GZ /c /nologo /ML /W3 /GX /O2 /I "src\base\abc" /I "src\base\abci" /I "src\base\abcs" /I "src\base\cmd" /I "src\base\io" /I "src\base\main" /I "src\bdd\cudd" /I "src\bdd\epd" /I "src\bdd\mtr" /I "src\bdd\parse" /I "src\bdd\dsd" /I "src\bdd\reo" /I "src\sop\ft" /I "src\sat\asat" /I "src\sat\msat" /I "src\sat\fraig" /I "src\opt\cut" /I "src\opt\dec" /I "src\opt\fxu" /I "src\opt\rwr" /I "src\map\fpga" /I "src\map\pga" /I "src\map\mapper" /I "src\map\mapp" /I "src\map\mio" /I "src\map\super" /I "src\misc\extra" /I "src\misc\st" /I "src\misc\mvc" /I "src\misc\util" /I "src\misc\vec" /D "WIN32" /D "NDEBUG" /D "_CONSOLE" /D "_MBCS" /D "__STDC__" /D "HAVE_ASSERT_H" /FR"Release/" /Fp"Release/abc.pch" /YX /Fo"Release/" /Fd"Release/" /FD /c
"C:\_projects\abc\src\base\abc\abcAig.c"
"C:\_projects\abc\src\base\abc\abcCheck.c"
"C:\_projects\abc\src\base\abc\abcDfs.c"
"C:\_projects\abc\src\base\abc\abcFanio.c"
"C:\_projects\abc\src\base\abc\abcFunc.c"
"C:\_projects\abc\src\base\abc\abcLatch.c"
"C:\_projects\abc\src\base\abc\abcMinBase.c"
"C:\_projects\abc\src\base\abc\abcNames.c"
"C:\_projects\abc\src\base\abc\abcNetlist.c" "C:\_projects\abc\src\base\abc\abcNetlist.c"
"C:\_projects\abc\src\base\abc\abcNtk.c"
"C:\_projects\abc\src\base\abc\abcObj.c"
"C:\_projects\abc\src\base\abc\abcRefs.c"
"C:\_projects\abc\src\base\abc\abcShow.c"
"C:\_projects\abc\src\base\abc\abcSop.c"
"C:\_projects\abc\src\base\abc\abcUtil.c" "C:\_projects\abc\src\base\abc\abcUtil.c"
"C:\_projects\abc\src\base\abci\abc.c" "C:\_projects\abc\src\base\abci\abc.c"
"C:\_projects\abc\src\base\abci\abcAttach.c"
"C:\_projects\abc\src\base\abci\abcBalance.c"
"C:\_projects\abc\src\base\abci\abcCollapse.c"
"C:\_projects\abc\src\base\abci\abcCut.c"
"C:\_projects\abc\src\base\abci\abcDsd.c"
"C:\_projects\abc\src\base\abci\abcFpga.c"
"C:\_projects\abc\src\base\abci\abcFraig.c"
"C:\_projects\abc\src\base\abci\abcFxu.c"
"C:\_projects\abc\src\base\abci\abcMap.c"
"C:\_projects\abc\src\base\abci\abcMiter.c"
"C:\_projects\abc\src\base\abci\abcNtbdd.c"
"C:\_projects\abc\src\base\abci\abcPga.c"
"C:\_projects\abc\src\base\abci\abcPrint.c" "C:\_projects\abc\src\base\abci\abcPrint.c"
"C:\_projects\abc\src\base\abci\abcReconv.c"
"C:\_projects\abc\src\base\abci\abcRefactor.c"
"C:\_projects\abc\src\base\abci\abcRenode.c"
"C:\_projects\abc\src\base\abci\abcRewrite.c"
"C:\_projects\abc\src\base\abci\abcSat.c"
"C:\_projects\abc\src\base\abci\abcStrash.c"
"C:\_projects\abc\src\base\abci\abcSweep.c"
"C:\_projects\abc\src\base\abci\abcSymm.c"
"C:\_projects\abc\src\base\abci\abcTiming.c"
"C:\_projects\abc\src\base\abci\abcUnreach.c"
"C:\_projects\abc\src\base\abci\abcVerify.c"
"C:\_projects\abc\src\base\abcs\abcRetCore.c" "C:\_projects\abc\src\base\abcs\abcRetCore.c"
"C:\_projects\abc\src\base\abcs\abcRetDelay.c" "C:\_projects\abc\src\base\abcs\abcRetDelay.c"
"C:\_projects\abc\src\base\abcs\abcRetImpl.c" "C:\_projects\abc\src\base\abcs\abcRetImpl.c"
...@@ -20,319 +56,610 @@ Creating temporary file "C:\DOCUME~1\alanmi\LOCALS~1\Temp\RSP1DD5.tmp" with cont ...@@ -20,319 +56,610 @@ Creating temporary file "C:\DOCUME~1\alanmi\LOCALS~1\Temp\RSP1DD5.tmp" with cont
"C:\_projects\abc\src\base\abcs\abcSeq.c" "C:\_projects\abc\src\base\abcs\abcSeq.c"
"C:\_projects\abc\src\base\abcs\abcShare.c" "C:\_projects\abc\src\base\abcs\abcShare.c"
"C:\_projects\abc\src\base\abcs\abcUtils.c" "C:\_projects\abc\src\base\abcs\abcUtils.c"
"C:\_projects\abc\src\base\cmd\cmd.c"
"C:\_projects\abc\src\base\cmd\cmdAlias.c"
"C:\_projects\abc\src\base\cmd\cmdApi.c"
"C:\_projects\abc\src\base\cmd\cmdFlag.c"
"C:\_projects\abc\src\base\cmd\cmdHist.c"
"C:\_projects\abc\src\base\cmd\cmdUtils.c"
"C:\_projects\abc\src\base\io\io.c"
"C:\_projects\abc\src\base\io\ioRead.c"
"C:\_projects\abc\src\base\io\ioReadBench.c"
"C:\_projects\abc\src\base\io\ioReadBlif.c"
"C:\_projects\abc\src\base\io\ioReadEdif.c"
"C:\_projects\abc\src\base\io\ioReadEqn.c"
"C:\_projects\abc\src\base\io\ioReadPla.c"
"C:\_projects\abc\src\base\io\ioReadVerilog.c"
"C:\_projects\abc\src\base\io\ioUtil.c"
"C:\_projects\abc\src\base\io\ioWriteBench.c"
"C:\_projects\abc\src\base\io\ioWriteBlif.c"
"C:\_projects\abc\src\base\io\ioWriteCnf.c"
"C:\_projects\abc\src\base\io\ioWriteDot.c"
"C:\_projects\abc\src\base\io\ioWriteEqn.c"
"C:\_projects\abc\src\base\io\ioWriteGml.c"
"C:\_projects\abc\src\base\io\ioWritePla.c"
"C:\_projects\abc\src\base\main\main.c"
"C:\_projects\abc\src\base\main\mainFrame.c"
"C:\_projects\abc\src\base\main\mainInit.c"
"C:\_projects\abc\src\base\main\mainUtils.c"
"C:\_projects\abc\src\bdd\cudd\cuddAddAbs.c"
"C:\_projects\abc\src\bdd\cudd\cuddAddApply.c"
"C:\_projects\abc\src\bdd\cudd\cuddAddFind.c"
"C:\_projects\abc\src\bdd\cudd\cuddAddInv.c"
"C:\_projects\abc\src\bdd\cudd\cuddAddIte.c"
"C:\_projects\abc\src\bdd\cudd\cuddAddNeg.c"
"C:\_projects\abc\src\bdd\cudd\cuddAddWalsh.c"
"C:\_projects\abc\src\bdd\cudd\cuddAndAbs.c"
"C:\_projects\abc\src\bdd\cudd\cuddAnneal.c"
"C:\_projects\abc\src\bdd\cudd\cuddApa.c"
"C:\_projects\abc\src\bdd\cudd\cuddAPI.c"
"C:\_projects\abc\src\bdd\cudd\cuddApprox.c"
"C:\_projects\abc\src\bdd\cudd\cuddBddAbs.c"
"C:\_projects\abc\src\bdd\cudd\cuddBddCorr.c"
"C:\_projects\abc\src\bdd\cudd\cuddBddIte.c"
"C:\_projects\abc\src\bdd\cudd\cuddBridge.c"
"C:\_projects\abc\src\bdd\cudd\cuddCache.c"
"C:\_projects\abc\src\bdd\cudd\cuddCheck.c"
"C:\_projects\abc\src\bdd\cudd\cuddClip.c"
"C:\_projects\abc\src\bdd\cudd\cuddCof.c"
"C:\_projects\abc\src\bdd\cudd\cuddCompose.c"
"C:\_projects\abc\src\bdd\cudd\cuddDecomp.c"
"C:\_projects\abc\src\bdd\cudd\cuddEssent.c"
"C:\_projects\abc\src\bdd\cudd\cuddExact.c"
"C:\_projects\abc\src\bdd\cudd\cuddExport.c"
"C:\_projects\abc\src\bdd\cudd\cuddGenCof.c"
"C:\_projects\abc\src\bdd\cudd\cuddGenetic.c"
"C:\_projects\abc\src\bdd\cudd\cuddGroup.c"
"C:\_projects\abc\src\bdd\cudd\cuddHarwell.c"
"C:\_projects\abc\src\bdd\cudd\cuddInit.c"
"C:\_projects\abc\src\bdd\cudd\cuddInteract.c"
"C:\_projects\abc\src\bdd\cudd\cuddLCache.c"
"C:\_projects\abc\src\bdd\cudd\cuddLevelQ.c"
"C:\_projects\abc\src\bdd\cudd\cuddLinear.c"
"C:\_projects\abc\src\bdd\cudd\cuddLiteral.c"
"C:\_projects\abc\src\bdd\cudd\cuddMatMult.c"
"C:\_projects\abc\src\bdd\cudd\cuddPriority.c"
"C:\_projects\abc\src\bdd\cudd\cuddRead.c"
"C:\_projects\abc\src\bdd\cudd\cuddRef.c"
"C:\_projects\abc\src\bdd\cudd\cuddReorder.c"
"C:\_projects\abc\src\bdd\cudd\cuddSat.c"
"C:\_projects\abc\src\bdd\cudd\cuddSign.c"
"C:\_projects\abc\src\bdd\cudd\cuddSolve.c"
"C:\_projects\abc\src\bdd\cudd\cuddSplit.c"
"C:\_projects\abc\src\bdd\cudd\cuddSubsetHB.c"
"C:\_projects\abc\src\bdd\cudd\cuddSubsetSP.c"
"C:\_projects\abc\src\bdd\cudd\cuddSymmetry.c"
"C:\_projects\abc\src\bdd\cudd\cuddTable.c"
"C:\_projects\abc\src\bdd\cudd\cuddUtil.c"
"C:\_projects\abc\src\bdd\cudd\cuddWindow.c"
"C:\_projects\abc\src\bdd\cudd\cuddZddCount.c"
"C:\_projects\abc\src\bdd\cudd\cuddZddFuncs.c"
"C:\_projects\abc\src\bdd\cudd\cuddZddGroup.c"
"C:\_projects\abc\src\bdd\cudd\cuddZddIsop.c"
"C:\_projects\abc\src\bdd\cudd\cuddZddLin.c"
"C:\_projects\abc\src\bdd\cudd\cuddZddMisc.c"
"C:\_projects\abc\src\bdd\cudd\cuddZddPort.c"
"C:\_projects\abc\src\bdd\cudd\cuddZddReord.c"
"C:\_projects\abc\src\bdd\cudd\cuddZddSetop.c"
"C:\_projects\abc\src\bdd\cudd\cuddZddSymm.c"
"C:\_projects\abc\src\bdd\cudd\cuddZddUtil.c"
"C:\_projects\abc\src\bdd\epd\epd.c"
"C:\_projects\abc\src\bdd\mtr\mtrBasic.c"
"C:\_projects\abc\src\bdd\mtr\mtrGroup.c"
"C:\_projects\abc\src\bdd\parse\parseCore.c"
"C:\_projects\abc\src\bdd\parse\parseStack.c"
"C:\_projects\abc\src\bdd\dsd\dsdApi.c"
"C:\_projects\abc\src\bdd\dsd\dsdCheck.c"
"C:\_projects\abc\src\bdd\dsd\dsdLocal.c"
"C:\_projects\abc\src\bdd\dsd\dsdMan.c"
"C:\_projects\abc\src\bdd\dsd\dsdProc.c"
"C:\_projects\abc\src\bdd\dsd\dsdTree.c"
"C:\_projects\abc\src\bdd\reo\reoApi.c"
"C:\_projects\abc\src\bdd\reo\reoCore.c"
"C:\_projects\abc\src\bdd\reo\reoProfile.c"
"C:\_projects\abc\src\bdd\reo\reoSift.c"
"C:\_projects\abc\src\bdd\reo\reoSwap.c"
"C:\_projects\abc\src\bdd\reo\reoTest.c"
"C:\_projects\abc\src\bdd\reo\reoTransfer.c"
"C:\_projects\abc\src\bdd\reo\reoUnits.c"
"C:\_projects\abc\src\sat\asat\added.c"
"C:\_projects\abc\src\sat\asat\solver.c"
"C:\_projects\abc\src\sat\msat\msatActivity.c"
"C:\_projects\abc\src\sat\msat\msatClause.c"
"C:\_projects\abc\src\sat\msat\msatClauseVec.c"
"C:\_projects\abc\src\sat\msat\msatMem.c"
"C:\_projects\abc\src\sat\msat\msatOrderJ.c"
"C:\_projects\abc\src\sat\msat\msatQueue.c"
"C:\_projects\abc\src\sat\msat\msatRead.c"
"C:\_projects\abc\src\sat\msat\msatSolverApi.c"
"C:\_projects\abc\src\sat\msat\msatSolverCore.c"
"C:\_projects\abc\src\sat\msat\msatSolverIo.c"
"C:\_projects\abc\src\sat\msat\msatSolverSearch.c"
"C:\_projects\abc\src\sat\msat\msatSort.c"
"C:\_projects\abc\src\sat\msat\msatVec.c"
"C:\_projects\abc\src\sat\fraig\fraigApi.c"
"C:\_projects\abc\src\sat\fraig\fraigCanon.c"
"C:\_projects\abc\src\sat\fraig\fraigFanout.c"
"C:\_projects\abc\src\sat\fraig\fraigFeed.c"
"C:\_projects\abc\src\sat\fraig\fraigMan.c"
"C:\_projects\abc\src\sat\fraig\fraigMem.c"
"C:\_projects\abc\src\sat\fraig\fraigNode.c"
"C:\_projects\abc\src\sat\fraig\fraigPrime.c"
"C:\_projects\abc\src\sat\fraig\fraigSat.c"
"C:\_projects\abc\src\sat\fraig\fraigTable.c"
"C:\_projects\abc\src\sat\fraig\fraigUtil.c"
"C:\_projects\abc\src\sat\fraig\fraigVec.c"
"C:\_projects\abc\src\sat\csat\csat_apis.c"
"C:\_projects\abc\src\opt\fxu\fxu.c"
"C:\_projects\abc\src\opt\fxu\fxuCreate.c"
"C:\_projects\abc\src\opt\fxu\fxuHeapD.c"
"C:\_projects\abc\src\opt\fxu\fxuHeapS.c"
"C:\_projects\abc\src\opt\fxu\fxuList.c"
"C:\_projects\abc\src\opt\fxu\fxuMatrix.c"
"C:\_projects\abc\src\opt\fxu\fxuPair.c"
"C:\_projects\abc\src\opt\fxu\fxuPrint.c"
"C:\_projects\abc\src\opt\fxu\fxuReduce.c"
"C:\_projects\abc\src\opt\fxu\fxuSelect.c"
"C:\_projects\abc\src\opt\fxu\fxuSingle.c"
"C:\_projects\abc\src\opt\fxu\fxuUpdate.c"
"C:\_projects\abc\src\opt\rwr\rwrDec.c"
"C:\_projects\abc\src\opt\rwr\rwrEva.c"
"C:\_projects\abc\src\opt\rwr\rwrExp.c"
"C:\_projects\abc\src\opt\rwr\rwrLib.c"
"C:\_projects\abc\src\opt\rwr\rwrMan.c"
"C:\_projects\abc\src\opt\rwr\rwrPrint.c"
"C:\_projects\abc\src\opt\rwr\rwrUtil.c"
"C:\_projects\abc\src\opt\cut\cutApi.c"
"C:\_projects\abc\src\opt\cut\cutCut.c"
"C:\_projects\abc\src\opt\cut\cutMan.c"
"C:\_projects\abc\src\opt\cut\cutMerge.c"
"C:\_projects\abc\src\opt\cut\cutNode.c"
"C:\_projects\abc\src\opt\cut\cutSeq.c"
"C:\_projects\abc\src\opt\cut\cutTruth.c"
"C:\_projects\abc\src\opt\dec\decAbc.c"
"C:\_projects\abc\src\opt\dec\decFactor.c"
"C:\_projects\abc\src\opt\dec\decMan.c"
"C:\_projects\abc\src\opt\dec\decPrint.c"
"C:\_projects\abc\src\opt\dec\decUtil.c"
"C:\_projects\abc\src\opt\sim\simMan.c"
"C:\_projects\abc\src\opt\sim\simSat.c"
"C:\_projects\abc\src\opt\sim\simSupp.c"
"C:\_projects\abc\src\opt\sim\simSwitch.c"
"C:\_projects\abc\src\opt\sim\simSym.c"
"C:\_projects\abc\src\opt\sim\simSymSat.c"
"C:\_projects\abc\src\opt\sim\simSymSim.c"
"C:\_projects\abc\src\opt\sim\simSymStr.c"
"C:\_projects\abc\src\opt\sim\simUtils.c"
"C:\_projects\abc\src\map\fpga\fpga.c"
"C:\_projects\abc\src\map\fpga\fpgaCore.c"
"C:\_projects\abc\src\map\fpga\fpgaCreate.c"
"C:\_projects\abc\src\map\fpga\fpgaCut.c"
"C:\_projects\abc\src\map\fpga\fpgaCutUtils.c"
"C:\_projects\abc\src\map\fpga\fpgaFanout.c"
"C:\_projects\abc\src\map\fpga\fpgaLib.c"
"C:\_projects\abc\src\map\fpga\fpgaMatch.c"
"C:\_projects\abc\src\map\fpga\fpgaSwitch.c"
"C:\_projects\abc\src\map\fpga\fpgaTime.c"
"C:\_projects\abc\src\map\fpga\fpgaTruth.c"
"C:\_projects\abc\src\map\fpga\fpgaUtils.c"
"C:\_projects\abc\src\map\fpga\fpgaVec.c"
"C:\_projects\abc\src\map\mapper\mapper.c"
"C:\_projects\abc\src\map\mapper\mapperCanon.c"
"C:\_projects\abc\src\map\mapper\mapperCore.c"
"C:\_projects\abc\src\map\mapper\mapperCreate.c"
"C:\_projects\abc\src\map\mapper\mapperCut.c"
"C:\_projects\abc\src\map\mapper\mapperCutUtils.c"
"C:\_projects\abc\src\map\mapper\mapperFanout.c"
"C:\_projects\abc\src\map\mapper\mapperLib.c"
"C:\_projects\abc\src\map\mapper\mapperMatch.c"
"C:\_projects\abc\src\map\mapper\mapperRefs.c"
"C:\_projects\abc\src\map\mapper\mapperSuper.c"
"C:\_projects\abc\src\map\mapper\mapperSwitch.c"
"C:\_projects\abc\src\map\mapper\mapperTable.c"
"C:\_projects\abc\src\map\mapper\mapperTime.c"
"C:\_projects\abc\src\map\mapper\mapperTree.c"
"C:\_projects\abc\src\map\mapper\mapperTruth.c"
"C:\_projects\abc\src\map\mapper\mapperUtils.c"
"C:\_projects\abc\src\map\mapper\mapperVec.c"
"C:\_projects\abc\src\map\mio\mio.c"
"C:\_projects\abc\src\map\mio\mioApi.c"
"C:\_projects\abc\src\map\mio\mioFunc.c"
"C:\_projects\abc\src\map\mio\mioRead.c"
"C:\_projects\abc\src\map\mio\mioUtils.c"
"C:\_projects\abc\src\map\super\super.c"
"C:\_projects\abc\src\map\super\superAnd.c"
"C:\_projects\abc\src\map\super\superGate.c"
"C:\_projects\abc\src\map\super\superWrite.c"
"C:\_projects\abc\src\map\pga\pgaCore.c"
"C:\_projects\abc\src\map\pga\pgaMan.c"
"C:\_projects\abc\src\map\pga\pgaMatch.c"
"C:\_projects\abc\src\map\pga\pgaUtil.c"
"C:\_projects\abc\src\misc\extra\extraBddMisc.c"
"C:\_projects\abc\src\misc\extra\extraBddSymm.c"
"C:\_projects\abc\src\misc\extra\extraUtilBitMatrix.c"
"C:\_projects\abc\src\misc\extra\extraUtilCanon.c"
"C:\_projects\abc\src\misc\extra\extraUtilFile.c"
"C:\_projects\abc\src\misc\extra\extraUtilMemory.c"
"C:\_projects\abc\src\misc\extra\extraUtilMisc.c"
"C:\_projects\abc\src\misc\extra\extraUtilProgress.c"
"C:\_projects\abc\src\misc\extra\extraUtilReader.c"
"C:\_projects\abc\src\misc\st\st.c"
"C:\_projects\abc\src\misc\st\stmm.c"
"C:\_projects\abc\src\misc\util\cpu_stats.c"
"C:\_projects\abc\src\misc\util\cpu_time.c"
"C:\_projects\abc\src\misc\util\datalimit.c"
"C:\_projects\abc\src\misc\util\getopt.c"
"C:\_projects\abc\src\misc\util\pathsearch.c"
"C:\_projects\abc\src\misc\util\safe_mem.c"
"C:\_projects\abc\src\misc\util\strsav.c"
"C:\_projects\abc\src\misc\util\texpand.c"
"C:\_projects\abc\src\misc\mvc\mvc.c"
"C:\_projects\abc\src\misc\mvc\mvcApi.c"
"C:\_projects\abc\src\misc\mvc\mvcCompare.c"
"C:\_projects\abc\src\misc\mvc\mvcContain.c"
"C:\_projects\abc\src\misc\mvc\mvcCover.c"
"C:\_projects\abc\src\misc\mvc\mvcCube.c"
"C:\_projects\abc\src\misc\mvc\mvcDivide.c"
"C:\_projects\abc\src\misc\mvc\mvcDivisor.c"
"C:\_projects\abc\src\misc\mvc\mvcList.c"
"C:\_projects\abc\src\misc\mvc\mvcLits.c"
"C:\_projects\abc\src\misc\mvc\mvcMan.c"
"C:\_projects\abc\src\misc\mvc\mvcOpAlg.c"
"C:\_projects\abc\src\misc\mvc\mvcOpBool.c"
"C:\_projects\abc\src\misc\mvc\mvcPrint.c"
"C:\_projects\abc\src\misc\mvc\mvcSort.c"
"C:\_projects\abc\src\misc\mvc\mvcUtils.c"
"C:\_projects\abc\src\base\main\libSupport.c"
] ]
Creating command line "cl.exe @C:\DOCUME~1\alanmi\LOCALS~1\Temp\RSP1DD5.tmp" Creating command line "cl.exe @C:\DOCUME~1\alanmi\LOCALS~1\Temp\RSP211A.tmp"
Creating temporary file "C:\DOCUME~1\alanmi\LOCALS~1\Temp\RSP1DD6.tmp" with contents Creating temporary file "C:\DOCUME~1\alanmi\LOCALS~1\Temp\RSP211B.tmp" with contents
[ [
kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /incremental:yes /pdb:"Debug/abc.pdb" /debug /machine:I386 /out:"_TEST/abc.exe" /pdbtype:sept kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib kernel32.lib user32.lib gdi32.lib winspool.lib comdlg32.lib advapi32.lib shell32.lib ole32.lib oleaut32.lib uuid.lib odbc32.lib odbccp32.lib /nologo /subsystem:console /incremental:no /pdb:"Release/abc.pdb" /machine:I386 /out:"_TEST/abc.exe"
.\Debug\abcAig.obj .\Release\abcAig.obj
.\Debug\abcCheck.obj .\Release\abcCheck.obj
.\Debug\abcDfs.obj .\Release\abcDfs.obj
.\Debug\abcFanio.obj .\Release\abcFanio.obj
.\Debug\abcFunc.obj .\Release\abcFunc.obj
.\Debug\abcLatch.obj .\Release\abcLatch.obj
.\Debug\abcMinBase.obj .\Release\abcMinBase.obj
.\Debug\abcNames.obj .\Release\abcNames.obj
.\Debug\abcNetlist.obj .\Release\abcNetlist.obj
.\Debug\abcNtk.obj .\Release\abcNtk.obj
.\Debug\abcObj.obj .\Release\abcObj.obj
.\Debug\abcRefs.obj .\Release\abcRefs.obj
.\Debug\abcShow.obj .\Release\abcShow.obj
.\Debug\abcSop.obj .\Release\abcSop.obj
.\Debug\abcUtil.obj .\Release\abcUtil.obj
.\Debug\abc.obj .\Release\abc.obj
.\Debug\abcAttach.obj .\Release\abcAttach.obj
.\Debug\abcBalance.obj .\Release\abcBalance.obj
.\Debug\abcCollapse.obj .\Release\abcCollapse.obj
.\Debug\abcCut.obj .\Release\abcCut.obj
.\Debug\abcDsd.obj .\Release\abcDsd.obj
.\Debug\abcFpga.obj .\Release\abcFpga.obj
.\Debug\abcFraig.obj .\Release\abcFraig.obj
.\Debug\abcFxu.obj .\Release\abcFxu.obj
.\Debug\abcMap.obj .\Release\abcMap.obj
.\Debug\abcMiter.obj .\Release\abcMiter.obj
.\Debug\abcNtbdd.obj .\Release\abcNtbdd.obj
.\Debug\abcPga.obj .\Release\abcPga.obj
.\Debug\abcPrint.obj .\Release\abcPrint.obj
.\Debug\abcReconv.obj .\Release\abcReconv.obj
.\Debug\abcRefactor.obj .\Release\abcRefactor.obj
.\Debug\abcRenode.obj .\Release\abcRenode.obj
.\Debug\abcRewrite.obj .\Release\abcRewrite.obj
.\Debug\abcSat.obj .\Release\abcSat.obj
.\Debug\abcStrash.obj .\Release\abcStrash.obj
.\Debug\abcSweep.obj .\Release\abcSweep.obj
.\Debug\abcSymm.obj .\Release\abcSymm.obj
.\Debug\abcTiming.obj .\Release\abcTiming.obj
.\Debug\abcUnreach.obj .\Release\abcUnreach.obj
.\Debug\abcVerify.obj .\Release\abcVerify.obj
.\Debug\abcRetCore.obj .\Release\abcRetCore.obj
.\Debug\abcRetDelay.obj .\Release\abcRetDelay.obj
.\Debug\abcRetImpl.obj .\Release\abcRetImpl.obj
.\Debug\abcRetUtil.obj .\Release\abcRetUtil.obj
.\Debug\abcSeq.obj .\Release\abcSeq.obj
.\Debug\abcShare.obj .\Release\abcShare.obj
.\Debug\abcUtils.obj .\Release\abcUtils.obj
.\Debug\cmd.obj .\Release\cmd.obj
.\Debug\cmdAlias.obj .\Release\cmdAlias.obj
.\Debug\cmdApi.obj .\Release\cmdApi.obj
.\Debug\cmdFlag.obj .\Release\cmdFlag.obj
.\Debug\cmdHist.obj .\Release\cmdHist.obj
.\Debug\cmdUtils.obj .\Release\cmdUtils.obj
.\Debug\io.obj .\Release\io.obj
.\Debug\ioRead.obj .\Release\ioRead.obj
.\Debug\ioReadBench.obj .\Release\ioReadBench.obj
.\Debug\ioReadBlif.obj .\Release\ioReadBlif.obj
.\Debug\ioReadEdif.obj .\Release\ioReadEdif.obj
.\Debug\ioReadEqn.obj .\Release\ioReadEqn.obj
.\Debug\ioReadPla.obj .\Release\ioReadPla.obj
.\Debug\ioReadVerilog.obj .\Release\ioReadVerilog.obj
.\Debug\ioUtil.obj .\Release\ioUtil.obj
.\Debug\ioWriteBench.obj .\Release\ioWriteBench.obj
.\Debug\ioWriteBlif.obj .\Release\ioWriteBlif.obj
.\Debug\ioWriteCnf.obj .\Release\ioWriteCnf.obj
.\Debug\ioWriteDot.obj .\Release\ioWriteDot.obj
.\Debug\ioWriteEqn.obj .\Release\ioWriteEqn.obj
.\Debug\ioWriteGml.obj .\Release\ioWriteGml.obj
.\Debug\ioWritePla.obj .\Release\ioWritePla.obj
.\Debug\main.obj .\Release\main.obj
.\Debug\mainFrame.obj .\Release\mainFrame.obj
.\Debug\mainInit.obj .\Release\mainInit.obj
.\Debug\mainUtils.obj .\Release\mainUtils.obj
.\Debug\cuddAddAbs.obj .\Release\cuddAddAbs.obj
.\Debug\cuddAddApply.obj .\Release\cuddAddApply.obj
.\Debug\cuddAddFind.obj .\Release\cuddAddFind.obj
.\Debug\cuddAddInv.obj .\Release\cuddAddInv.obj
.\Debug\cuddAddIte.obj .\Release\cuddAddIte.obj
.\Debug\cuddAddNeg.obj .\Release\cuddAddNeg.obj
.\Debug\cuddAddWalsh.obj .\Release\cuddAddWalsh.obj
.\Debug\cuddAndAbs.obj .\Release\cuddAndAbs.obj
.\Debug\cuddAnneal.obj .\Release\cuddAnneal.obj
.\Debug\cuddApa.obj .\Release\cuddApa.obj
.\Debug\cuddAPI.obj .\Release\cuddAPI.obj
.\Debug\cuddApprox.obj .\Release\cuddApprox.obj
.\Debug\cuddBddAbs.obj .\Release\cuddBddAbs.obj
.\Debug\cuddBddCorr.obj .\Release\cuddBddCorr.obj
.\Debug\cuddBddIte.obj .\Release\cuddBddIte.obj
.\Debug\cuddBridge.obj .\Release\cuddBridge.obj
.\Debug\cuddCache.obj .\Release\cuddCache.obj
.\Debug\cuddCheck.obj .\Release\cuddCheck.obj
.\Debug\cuddClip.obj .\Release\cuddClip.obj
.\Debug\cuddCof.obj .\Release\cuddCof.obj
.\Debug\cuddCompose.obj .\Release\cuddCompose.obj
.\Debug\cuddDecomp.obj .\Release\cuddDecomp.obj
.\Debug\cuddEssent.obj .\Release\cuddEssent.obj
.\Debug\cuddExact.obj .\Release\cuddExact.obj
.\Debug\cuddExport.obj .\Release\cuddExport.obj
.\Debug\cuddGenCof.obj .\Release\cuddGenCof.obj
.\Debug\cuddGenetic.obj .\Release\cuddGenetic.obj
.\Debug\cuddGroup.obj .\Release\cuddGroup.obj
.\Debug\cuddHarwell.obj .\Release\cuddHarwell.obj
.\Debug\cuddInit.obj .\Release\cuddInit.obj
.\Debug\cuddInteract.obj .\Release\cuddInteract.obj
.\Debug\cuddLCache.obj .\Release\cuddLCache.obj
.\Debug\cuddLevelQ.obj .\Release\cuddLevelQ.obj
.\Debug\cuddLinear.obj .\Release\cuddLinear.obj
.\Debug\cuddLiteral.obj .\Release\cuddLiteral.obj
.\Debug\cuddMatMult.obj .\Release\cuddMatMult.obj
.\Debug\cuddPriority.obj .\Release\cuddPriority.obj
.\Debug\cuddRead.obj .\Release\cuddRead.obj
.\Debug\cuddRef.obj .\Release\cuddRef.obj
.\Debug\cuddReorder.obj .\Release\cuddReorder.obj
.\Debug\cuddSat.obj .\Release\cuddSat.obj
.\Debug\cuddSign.obj .\Release\cuddSign.obj
.\Debug\cuddSolve.obj .\Release\cuddSolve.obj
.\Debug\cuddSplit.obj .\Release\cuddSplit.obj
.\Debug\cuddSubsetHB.obj .\Release\cuddSubsetHB.obj
.\Debug\cuddSubsetSP.obj .\Release\cuddSubsetSP.obj
.\Debug\cuddSymmetry.obj .\Release\cuddSymmetry.obj
.\Debug\cuddTable.obj .\Release\cuddTable.obj
.\Debug\cuddUtil.obj .\Release\cuddUtil.obj
.\Debug\cuddWindow.obj .\Release\cuddWindow.obj
.\Debug\cuddZddCount.obj .\Release\cuddZddCount.obj
.\Debug\cuddZddFuncs.obj .\Release\cuddZddFuncs.obj
.\Debug\cuddZddGroup.obj .\Release\cuddZddGroup.obj
.\Debug\cuddZddIsop.obj .\Release\cuddZddIsop.obj
.\Debug\cuddZddLin.obj .\Release\cuddZddLin.obj
.\Debug\cuddZddMisc.obj .\Release\cuddZddMisc.obj
.\Debug\cuddZddPort.obj .\Release\cuddZddPort.obj
.\Debug\cuddZddReord.obj .\Release\cuddZddReord.obj
.\Debug\cuddZddSetop.obj .\Release\cuddZddSetop.obj
.\Debug\cuddZddSymm.obj .\Release\cuddZddSymm.obj
.\Debug\cuddZddUtil.obj .\Release\cuddZddUtil.obj
.\Debug\epd.obj .\Release\epd.obj
.\Debug\mtrBasic.obj .\Release\mtrBasic.obj
.\Debug\mtrGroup.obj .\Release\mtrGroup.obj
.\Debug\parseCore.obj .\Release\parseCore.obj
.\Debug\parseStack.obj .\Release\parseStack.obj
.\Debug\dsdApi.obj .\Release\dsdApi.obj
.\Debug\dsdCheck.obj .\Release\dsdCheck.obj
.\Debug\dsdLocal.obj .\Release\dsdLocal.obj
.\Debug\dsdMan.obj .\Release\dsdMan.obj
.\Debug\dsdProc.obj .\Release\dsdProc.obj
.\Debug\dsdTree.obj .\Release\dsdTree.obj
.\Debug\reoApi.obj .\Release\reoApi.obj
.\Debug\reoCore.obj .\Release\reoCore.obj
.\Debug\reoProfile.obj .\Release\reoProfile.obj
.\Debug\reoSift.obj .\Release\reoSift.obj
.\Debug\reoSwap.obj .\Release\reoSwap.obj
.\Debug\reoTest.obj .\Release\reoTest.obj
.\Debug\reoTransfer.obj .\Release\reoTransfer.obj
.\Debug\reoUnits.obj .\Release\reoUnits.obj
.\Debug\added.obj .\Release\added.obj
.\Debug\solver.obj .\Release\solver.obj
.\Debug\msatActivity.obj .\Release\msatActivity.obj
.\Debug\msatClause.obj .\Release\msatClause.obj
.\Debug\msatClauseVec.obj .\Release\msatClauseVec.obj
.\Debug\msatMem.obj .\Release\msatMem.obj
.\Debug\msatOrderJ.obj .\Release\msatOrderJ.obj
.\Debug\msatQueue.obj .\Release\msatQueue.obj
.\Debug\msatRead.obj .\Release\msatRead.obj
.\Debug\msatSolverApi.obj .\Release\msatSolverApi.obj
.\Debug\msatSolverCore.obj .\Release\msatSolverCore.obj
.\Debug\msatSolverIo.obj .\Release\msatSolverIo.obj
.\Debug\msatSolverSearch.obj .\Release\msatSolverSearch.obj
.\Debug\msatSort.obj .\Release\msatSort.obj
.\Debug\msatVec.obj .\Release\msatVec.obj
.\Debug\fraigApi.obj .\Release\fraigApi.obj
.\Debug\fraigCanon.obj .\Release\fraigCanon.obj
.\Debug\fraigFanout.obj .\Release\fraigFanout.obj
.\Debug\fraigFeed.obj .\Release\fraigFeed.obj
.\Debug\fraigMan.obj .\Release\fraigMan.obj
.\Debug\fraigMem.obj .\Release\fraigMem.obj
.\Debug\fraigNode.obj .\Release\fraigNode.obj
.\Debug\fraigPrime.obj .\Release\fraigPrime.obj
.\Debug\fraigSat.obj .\Release\fraigSat.obj
.\Debug\fraigTable.obj .\Release\fraigTable.obj
.\Debug\fraigUtil.obj .\Release\fraigUtil.obj
.\Debug\fraigVec.obj .\Release\fraigVec.obj
.\Debug\csat_apis.obj .\Release\csat_apis.obj
.\Debug\fxu.obj .\Release\fxu.obj
.\Debug\fxuCreate.obj .\Release\fxuCreate.obj
.\Debug\fxuHeapD.obj .\Release\fxuHeapD.obj
.\Debug\fxuHeapS.obj .\Release\fxuHeapS.obj
.\Debug\fxuList.obj .\Release\fxuList.obj
.\Debug\fxuMatrix.obj .\Release\fxuMatrix.obj
.\Debug\fxuPair.obj .\Release\fxuPair.obj
.\Debug\fxuPrint.obj .\Release\fxuPrint.obj
.\Debug\fxuReduce.obj .\Release\fxuReduce.obj
.\Debug\fxuSelect.obj .\Release\fxuSelect.obj
.\Debug\fxuSingle.obj .\Release\fxuSingle.obj
.\Debug\fxuUpdate.obj .\Release\fxuUpdate.obj
.\Debug\rwrDec.obj .\Release\rwrDec.obj
.\Debug\rwrEva.obj .\Release\rwrEva.obj
.\Debug\rwrExp.obj .\Release\rwrExp.obj
.\Debug\rwrLib.obj .\Release\rwrLib.obj
.\Debug\rwrMan.obj .\Release\rwrMan.obj
.\Debug\rwrPrint.obj .\Release\rwrPrint.obj
.\Debug\rwrUtil.obj .\Release\rwrUtil.obj
.\Debug\cutApi.obj .\Release\cutApi.obj
.\Debug\cutCut.obj .\Release\cutCut.obj
.\Debug\cutMan.obj .\Release\cutMan.obj
.\Debug\cutMerge.obj .\Release\cutMerge.obj
.\Debug\cutNode.obj .\Release\cutNode.obj
.\Debug\cutSeq.obj .\Release\cutSeq.obj
.\Debug\cutTruth.obj .\Release\cutTruth.obj
.\Debug\decAbc.obj .\Release\decAbc.obj
.\Debug\decFactor.obj .\Release\decFactor.obj
.\Debug\decMan.obj .\Release\decMan.obj
.\Debug\decPrint.obj .\Release\decPrint.obj
.\Debug\decUtil.obj .\Release\decUtil.obj
.\Debug\simMan.obj .\Release\simMan.obj
.\Debug\simSat.obj .\Release\simSat.obj
.\Debug\simSupp.obj .\Release\simSupp.obj
.\Debug\simSwitch.obj .\Release\simSwitch.obj
.\Debug\simSym.obj .\Release\simSym.obj
.\Debug\simSymSat.obj .\Release\simSymSat.obj
.\Debug\simSymSim.obj .\Release\simSymSim.obj
.\Debug\simSymStr.obj .\Release\simSymStr.obj
.\Debug\simUtils.obj .\Release\simUtils.obj
.\Debug\fpga.obj .\Release\fpga.obj
.\Debug\fpgaCore.obj .\Release\fpgaCore.obj
.\Debug\fpgaCreate.obj .\Release\fpgaCreate.obj
.\Debug\fpgaCut.obj .\Release\fpgaCut.obj
.\Debug\fpgaCutUtils.obj .\Release\fpgaCutUtils.obj
.\Debug\fpgaFanout.obj .\Release\fpgaFanout.obj
.\Debug\fpgaLib.obj .\Release\fpgaLib.obj
.\Debug\fpgaMatch.obj .\Release\fpgaMatch.obj
.\Debug\fpgaSwitch.obj .\Release\fpgaSwitch.obj
.\Debug\fpgaTime.obj .\Release\fpgaTime.obj
.\Debug\fpgaTruth.obj .\Release\fpgaTruth.obj
.\Debug\fpgaUtils.obj .\Release\fpgaUtils.obj
.\Debug\fpgaVec.obj .\Release\fpgaVec.obj
.\Debug\mapper.obj .\Release\mapper.obj
.\Debug\mapperCanon.obj .\Release\mapperCanon.obj
.\Debug\mapperCore.obj .\Release\mapperCore.obj
.\Debug\mapperCreate.obj .\Release\mapperCreate.obj
.\Debug\mapperCut.obj .\Release\mapperCut.obj
.\Debug\mapperCutUtils.obj .\Release\mapperCutUtils.obj
.\Debug\mapperFanout.obj .\Release\mapperFanout.obj
.\Debug\mapperLib.obj .\Release\mapperLib.obj
.\Debug\mapperMatch.obj .\Release\mapperMatch.obj
.\Debug\mapperRefs.obj .\Release\mapperRefs.obj
.\Debug\mapperSuper.obj .\Release\mapperSuper.obj
.\Debug\mapperSwitch.obj .\Release\mapperSwitch.obj
.\Debug\mapperTable.obj .\Release\mapperTable.obj
.\Debug\mapperTime.obj .\Release\mapperTime.obj
.\Debug\mapperTree.obj .\Release\mapperTree.obj
.\Debug\mapperTruth.obj .\Release\mapperTruth.obj
.\Debug\mapperUtils.obj .\Release\mapperUtils.obj
.\Debug\mapperVec.obj .\Release\mapperVec.obj
.\Debug\mio.obj .\Release\mio.obj
.\Debug\mioApi.obj .\Release\mioApi.obj
.\Debug\mioFunc.obj .\Release\mioFunc.obj
.\Debug\mioRead.obj .\Release\mioRead.obj
.\Debug\mioUtils.obj .\Release\mioUtils.obj
.\Debug\super.obj .\Release\super.obj
.\Debug\superAnd.obj .\Release\superAnd.obj
.\Debug\superGate.obj .\Release\superGate.obj
.\Debug\superWrite.obj .\Release\superWrite.obj
.\Debug\pgaCore.obj .\Release\pgaCore.obj
.\Debug\pgaMan.obj .\Release\pgaMan.obj
.\Debug\pgaMatch.obj .\Release\pgaMatch.obj
.\Debug\pgaUtil.obj .\Release\pgaUtil.obj
.\Debug\extraBddMisc.obj .\Release\extraBddMisc.obj
.\Debug\extraBddSymm.obj .\Release\extraBddSymm.obj
.\Debug\extraUtilBitMatrix.obj .\Release\extraUtilBitMatrix.obj
.\Debug\extraUtilCanon.obj .\Release\extraUtilCanon.obj
.\Debug\extraUtilFile.obj .\Release\extraUtilFile.obj
.\Debug\extraUtilMemory.obj .\Release\extraUtilMemory.obj
.\Debug\extraUtilMisc.obj .\Release\extraUtilMisc.obj
.\Debug\extraUtilProgress.obj .\Release\extraUtilProgress.obj
.\Debug\extraUtilReader.obj .\Release\extraUtilReader.obj
.\Debug\st.obj .\Release\st.obj
.\Debug\stmm.obj .\Release\stmm.obj
.\Debug\cpu_stats.obj .\Release\cpu_stats.obj
.\Debug\cpu_time.obj .\Release\cpu_time.obj
.\Debug\datalimit.obj .\Release\datalimit.obj
.\Debug\getopt.obj .\Release\getopt.obj
.\Debug\pathsearch.obj .\Release\pathsearch.obj
.\Debug\safe_mem.obj .\Release\safe_mem.obj
.\Debug\strsav.obj .\Release\strsav.obj
.\Debug\texpand.obj .\Release\texpand.obj
.\Debug\mvc.obj .\Release\mvc.obj
.\Debug\mvcApi.obj .\Release\mvcApi.obj
.\Debug\mvcCompare.obj .\Release\mvcCompare.obj
.\Debug\mvcContain.obj .\Release\mvcContain.obj
.\Debug\mvcCover.obj .\Release\mvcCover.obj
.\Debug\mvcCube.obj .\Release\mvcCube.obj
.\Debug\mvcDivide.obj .\Release\mvcDivide.obj
.\Debug\mvcDivisor.obj .\Release\mvcDivisor.obj
.\Debug\mvcList.obj .\Release\mvcList.obj
.\Debug\mvcLits.obj .\Release\mvcLits.obj
.\Debug\mvcMan.obj .\Release\mvcMan.obj
.\Debug\mvcOpAlg.obj .\Release\mvcOpAlg.obj
.\Debug\mvcOpBool.obj .\Release\mvcOpBool.obj
.\Debug\mvcPrint.obj .\Release\mvcPrint.obj
.\Debug\mvcSort.obj .\Release\mvcSort.obj
.\Debug\mvcUtils.obj .\Release\mvcUtils.obj
.\Release\libSupport.obj
] ]
Creating command line "link.exe @C:\DOCUME~1\alanmi\LOCALS~1\Temp\RSP1DD6.tmp" Creating command line "link.exe @C:\DOCUME~1\alanmi\LOCALS~1\Temp\RSP211B.tmp"
<h3>Output Window</h3> <h3>Output Window</h3>
Compiling... Compiling...
abcAig.c
abcCheck.c
abcDfs.c
abcFanio.c
abcFunc.c
abcLatch.c
abcMinBase.c
abcNames.c
abcNetlist.c abcNetlist.c
abcNtk.c
abcObj.c
abcRefs.c
abcShow.c
abcSop.c
abcUtil.c abcUtil.c
abc.c abc.c
abcAttach.c
abcBalance.c
abcCollapse.c
abcCut.c
abcDsd.c
abcFpga.c
abcFraig.c
abcFxu.c
abcMap.c
abcMiter.c
abcNtbdd.c
abcPga.c
abcPrint.c abcPrint.c
abcReconv.c
abcRefactor.c
abcRenode.c
abcRewrite.c
abcSat.c
abcStrash.c
abcSweep.c
abcSymm.c
abcTiming.c
abcUnreach.c
abcVerify.c
abcRetCore.c abcRetCore.c
abcRetDelay.c abcRetDelay.c
abcRetImpl.c abcRetImpl.c
...@@ -340,318 +667,588 @@ abcRetUtil.c ...@@ -340,318 +667,588 @@ abcRetUtil.c
abcSeq.c abcSeq.c
abcShare.c abcShare.c
abcUtils.c abcUtils.c
cmd.c
cmdAlias.c
cmdApi.c
cmdFlag.c
cmdHist.c
cmdUtils.c
io.c
ioRead.c
ioReadBench.c
ioReadBlif.c
ioReadEdif.c
ioReadEqn.c
ioReadPla.c
ioReadVerilog.c
ioUtil.c
ioWriteBench.c
ioWriteBlif.c
ioWriteCnf.c
ioWriteDot.c
ioWriteEqn.c
ioWriteGml.c
ioWritePla.c
main.c
mainFrame.c
mainInit.c
mainUtils.c
cuddAddAbs.c
cuddAddApply.c
cuddAddFind.c
cuddAddInv.c
cuddAddIte.c
cuddAddNeg.c
cuddAddWalsh.c
cuddAndAbs.c
cuddAnneal.c
cuddApa.c
C:\_projects\abc\src\bdd\cudd\cuddApa.c(181) : warning C4244: 'return' : conversion from 'unsigned long ' to 'unsigned short ', possible loss of data
C:\_projects\abc\src\bdd\cudd\cuddApa.c(213) : warning C4244: 'return' : conversion from 'unsigned long ' to 'unsigned short ', possible loss of data
C:\_projects\abc\src\bdd\cudd\cuddApa.c(530) : warning C4244: '=' : conversion from 'unsigned short ' to 'unsigned char ', possible loss of data
C:\_projects\abc\src\bdd\cudd\cuddApa.c(588) : warning C4244: '=' : conversion from 'unsigned short ' to 'unsigned char ', possible loss of data
cuddAPI.c
cuddApprox.c
cuddBddAbs.c
cuddBddCorr.c
cuddBddIte.c
cuddBridge.c
cuddCache.c
C:\_projects\abc\src\bdd\cudd\cuddCache.c(902) : warning C4146: unary minus operator applied to unsigned type, result still unsigned
cuddCheck.c
cuddClip.c
cuddCof.c
cuddCompose.c
cuddDecomp.c
cuddEssent.c
cuddExact.c
cuddExport.c
cuddGenCof.c
cuddGenetic.c
cuddGroup.c
C:\_projects\abc\src\bdd\cudd\cuddGroup.c(2062) : warning C4018: '<=' : signed/unsigned mismatch
cuddHarwell.c
cuddInit.c
cuddInteract.c
cuddLCache.c
C:\_projects\abc\src\bdd\cudd\cuddLCache.c(1387) : warning C4146: unary minus operator applied to unsigned type, result still unsigned
cuddLevelQ.c
cuddLinear.c
cuddLiteral.c
cuddMatMult.c
cuddPriority.c
cuddRead.c
cuddRef.c
cuddReorder.c
C:\_projects\abc\src\bdd\cudd\cuddReorder.c(395) : warning C4146: unary minus operator applied to unsigned type, result still unsigned
cuddSat.c
C:\_projects\abc\src\bdd\cudd\cuddReorder.c(2016) : warning C4700: local variable 'minLevel' used without having been initialized
C:\_projects\abc\src\bdd\cudd\cuddReorder.c(2020) : warning C4700: local variable 'maxLevel' used without having been initialized
cuddSign.c
cuddSolve.c
cuddSplit.c
cuddSubsetHB.c
cuddSubsetSP.c
cuddSymmetry.c
cuddTable.c
C:\_projects\abc\src\bdd\cudd\cuddTable.c(1822) : warning C4018: '<' : signed/unsigned mismatch
C:\_projects\abc\src\bdd\cudd\cuddTable.c(1927) : warning C4018: '<' : signed/unsigned mismatch
C:\_projects\abc\src\bdd\cudd\cuddTable.c(2235) : warning C4018: '<' : signed/unsigned mismatch
C:\_projects\abc\src\bdd\cudd\cuddTable.c(2303) : warning C4018: '<' : signed/unsigned mismatch
C:\_projects\abc\src\bdd\cudd\cuddTable.c(2358) : warning C4146: unary minus operator applied to unsigned type, result still unsigned
cuddUtil.c
cuddWindow.c
cuddZddCount.c
cuddZddFuncs.c
cuddZddGroup.c
cuddZddIsop.c
cuddZddLin.c
cuddZddMisc.c
cuddZddPort.c
cuddZddReord.c
cuddZddSetop.c
cuddZddSymm.c
cuddZddUtil.c
epd.c
mtrBasic.c
mtrGroup.c
parseCore.c
parseStack.c
dsdApi.c
dsdCheck.c
dsdLocal.c
dsdMan.c
dsdProc.c
dsdTree.c
reoApi.c
reoCore.c
reoProfile.c
reoSift.c
reoSwap.c
reoTest.c
reoTransfer.c
reoUnits.c
added.c
solver.c
msatActivity.c
msatClause.c
msatClauseVec.c
msatMem.c
msatOrderJ.c
msatQueue.c
msatRead.c
msatSolverApi.c
msatSolverCore.c
msatSolverIo.c
msatSolverSearch.c
msatSort.c
msatVec.c
fraigApi.c
fraigCanon.c
fraigFanout.c
fraigFeed.c
fraigMan.c
fraigMem.c
fraigNode.c
fraigPrime.c
fraigSat.c
fraigTable.c
fraigUtil.c
fraigVec.c
csat_apis.c
fxu.c
fxuCreate.c
fxuHeapD.c
fxuHeapS.c
fxuList.c
fxuMatrix.c
fxuPair.c
fxuPrint.c
fxuReduce.c
fxuSelect.c
fxuSingle.c
fxuUpdate.c
rwrDec.c
rwrEva.c
rwrExp.c
rwrLib.c
rwrMan.c
rwrPrint.c
rwrUtil.c
cutApi.c
cutCut.c
cutMan.c
cutMerge.c
cutNode.c
cutSeq.c
cutTruth.c
decAbc.c
decFactor.c
decMan.c
decPrint.c
decUtil.c
simMan.c
simSat.c
simSupp.c
simSwitch.c
simSym.c
simSymSat.c
simSymSim.c
simSymStr.c
simUtils.c
fpga.c
fpgaCore.c
fpgaCreate.c
fpgaCut.c
fpgaCutUtils.c
fpgaFanout.c
fpgaLib.c
fpgaMatch.c
fpgaSwitch.c
fpgaTime.c
fpgaTruth.c
fpgaUtils.c
fpgaVec.c
mapper.c
mapperCanon.c
mapperCore.c
mapperCreate.c
mapperCut.c
mapperCutUtils.c
mapperFanout.c
mapperLib.c
mapperMatch.c
mapperRefs.c
mapperSuper.c
mapperSwitch.c
mapperTable.c
mapperTime.c
mapperTree.c
mapperTruth.c
mapperUtils.c
mapperVec.c
mio.c
mioApi.c
mioFunc.c
mioRead.c
mioUtils.c
super.c
superAnd.c
superGate.c
superWrite.c
pgaCore.c
pgaMan.c
pgaMatch.c
pgaUtil.c
extraBddMisc.c
extraBddSymm.c
extraUtilBitMatrix.c
extraUtilCanon.c
extraUtilFile.c
extraUtilMemory.c
extraUtilMisc.c
extraUtilProgress.c
extraUtilReader.c
st.c
stmm.c
cpu_stats.c
cpu_time.c
datalimit.c
getopt.c
pathsearch.c
safe_mem.c
strsav.c
texpand.c
mvc.c
mvcApi.c
mvcCompare.c
mvcContain.c
mvcCover.c
mvcCube.c
mvcDivide.c
mvcDivisor.c
mvcList.c
mvcLits.c
mvcMan.c
mvcOpAlg.c
mvcOpBool.c
mvcPrint.c
mvcSort.c
mvcUtils.c
libSupport.c
Linking... Linking...
Creating temporary file "C:\DOCUME~1\alanmi\LOCALS~1\Temp\RSP1DD8.tmp" with contents Creating temporary file "C:\DOCUME~1\alanmi\LOCALS~1\Temp\RSP211D.tmp" with contents
[ [
/nologo /o"Debug/abc.bsc" /nologo /o"Release/abc.bsc"
.\Debug\abcAig.sbr .\Release\abcAig.sbr
.\Debug\abcCheck.sbr .\Release\abcCheck.sbr
.\Debug\abcDfs.sbr .\Release\abcDfs.sbr
.\Debug\abcFanio.sbr .\Release\abcFanio.sbr
.\Debug\abcFunc.sbr .\Release\abcFunc.sbr
.\Debug\abcLatch.sbr .\Release\abcLatch.sbr
.\Debug\abcMinBase.sbr .\Release\abcMinBase.sbr
.\Debug\abcNames.sbr .\Release\abcNames.sbr
.\Debug\abcNetlist.sbr .\Release\abcNetlist.sbr
.\Debug\abcNtk.sbr .\Release\abcNtk.sbr
.\Debug\abcObj.sbr .\Release\abcObj.sbr
.\Debug\abcRefs.sbr .\Release\abcRefs.sbr
.\Debug\abcShow.sbr .\Release\abcShow.sbr
.\Debug\abcSop.sbr .\Release\abcSop.sbr
.\Debug\abcUtil.sbr .\Release\abcUtil.sbr
.\Debug\abc.sbr .\Release\abc.sbr
.\Debug\abcAttach.sbr .\Release\abcAttach.sbr
.\Debug\abcBalance.sbr .\Release\abcBalance.sbr
.\Debug\abcCollapse.sbr .\Release\abcCollapse.sbr
.\Debug\abcCut.sbr .\Release\abcCut.sbr
.\Debug\abcDsd.sbr .\Release\abcDsd.sbr
.\Debug\abcFpga.sbr .\Release\abcFpga.sbr
.\Debug\abcFraig.sbr .\Release\abcFraig.sbr
.\Debug\abcFxu.sbr .\Release\abcFxu.sbr
.\Debug\abcMap.sbr .\Release\abcMap.sbr
.\Debug\abcMiter.sbr .\Release\abcMiter.sbr
.\Debug\abcNtbdd.sbr .\Release\abcNtbdd.sbr
.\Debug\abcPga.sbr .\Release\abcPga.sbr
.\Debug\abcPrint.sbr .\Release\abcPrint.sbr
.\Debug\abcReconv.sbr .\Release\abcReconv.sbr
.\Debug\abcRefactor.sbr .\Release\abcRefactor.sbr
.\Debug\abcRenode.sbr .\Release\abcRenode.sbr
.\Debug\abcRewrite.sbr .\Release\abcRewrite.sbr
.\Debug\abcSat.sbr .\Release\abcSat.sbr
.\Debug\abcStrash.sbr .\Release\abcStrash.sbr
.\Debug\abcSweep.sbr .\Release\abcSweep.sbr
.\Debug\abcSymm.sbr .\Release\abcSymm.sbr
.\Debug\abcTiming.sbr .\Release\abcTiming.sbr
.\Debug\abcUnreach.sbr .\Release\abcUnreach.sbr
.\Debug\abcVerify.sbr .\Release\abcVerify.sbr
.\Debug\abcRetCore.sbr .\Release\abcRetCore.sbr
.\Debug\abcRetDelay.sbr .\Release\abcRetDelay.sbr
.\Debug\abcRetImpl.sbr .\Release\abcRetImpl.sbr
.\Debug\abcRetUtil.sbr .\Release\abcRetUtil.sbr
.\Debug\abcSeq.sbr .\Release\abcSeq.sbr
.\Debug\abcShare.sbr .\Release\abcShare.sbr
.\Debug\abcUtils.sbr .\Release\abcUtils.sbr
.\Debug\cmd.sbr .\Release\cmd.sbr
.\Debug\cmdAlias.sbr .\Release\cmdAlias.sbr
.\Debug\cmdApi.sbr .\Release\cmdApi.sbr
.\Debug\cmdFlag.sbr .\Release\cmdFlag.sbr
.\Debug\cmdHist.sbr .\Release\cmdHist.sbr
.\Debug\cmdUtils.sbr .\Release\cmdUtils.sbr
.\Debug\io.sbr .\Release\io.sbr
.\Debug\ioRead.sbr .\Release\ioRead.sbr
.\Debug\ioReadBench.sbr .\Release\ioReadBench.sbr
.\Debug\ioReadBlif.sbr .\Release\ioReadBlif.sbr
.\Debug\ioReadEdif.sbr .\Release\ioReadEdif.sbr
.\Debug\ioReadEqn.sbr .\Release\ioReadEqn.sbr
.\Debug\ioReadPla.sbr .\Release\ioReadPla.sbr
.\Debug\ioReadVerilog.sbr .\Release\ioReadVerilog.sbr
.\Debug\ioUtil.sbr .\Release\ioUtil.sbr
.\Debug\ioWriteBench.sbr .\Release\ioWriteBench.sbr
.\Debug\ioWriteBlif.sbr .\Release\ioWriteBlif.sbr
.\Debug\ioWriteCnf.sbr .\Release\ioWriteCnf.sbr
.\Debug\ioWriteDot.sbr .\Release\ioWriteDot.sbr
.\Debug\ioWriteEqn.sbr .\Release\ioWriteEqn.sbr
.\Debug\ioWriteGml.sbr .\Release\ioWriteGml.sbr
.\Debug\ioWritePla.sbr .\Release\ioWritePla.sbr
.\Debug\main.sbr .\Release\main.sbr
.\Debug\mainFrame.sbr .\Release\mainFrame.sbr
.\Debug\mainInit.sbr .\Release\mainInit.sbr
.\Debug\mainUtils.sbr .\Release\mainUtils.sbr
.\Debug\cuddAddAbs.sbr .\Release\cuddAddAbs.sbr
.\Debug\cuddAddApply.sbr .\Release\cuddAddApply.sbr
.\Debug\cuddAddFind.sbr .\Release\cuddAddFind.sbr
.\Debug\cuddAddInv.sbr .\Release\cuddAddInv.sbr
.\Debug\cuddAddIte.sbr .\Release\cuddAddIte.sbr
.\Debug\cuddAddNeg.sbr .\Release\cuddAddNeg.sbr
.\Debug\cuddAddWalsh.sbr .\Release\cuddAddWalsh.sbr
.\Debug\cuddAndAbs.sbr .\Release\cuddAndAbs.sbr
.\Debug\cuddAnneal.sbr .\Release\cuddAnneal.sbr
.\Debug\cuddApa.sbr .\Release\cuddApa.sbr
.\Debug\cuddAPI.sbr .\Release\cuddAPI.sbr
.\Debug\cuddApprox.sbr .\Release\cuddApprox.sbr
.\Debug\cuddBddAbs.sbr .\Release\cuddBddAbs.sbr
.\Debug\cuddBddCorr.sbr .\Release\cuddBddCorr.sbr
.\Debug\cuddBddIte.sbr .\Release\cuddBddIte.sbr
.\Debug\cuddBridge.sbr .\Release\cuddBridge.sbr
.\Debug\cuddCache.sbr .\Release\cuddCache.sbr
.\Debug\cuddCheck.sbr .\Release\cuddCheck.sbr
.\Debug\cuddClip.sbr .\Release\cuddClip.sbr
.\Debug\cuddCof.sbr .\Release\cuddCof.sbr
.\Debug\cuddCompose.sbr .\Release\cuddCompose.sbr
.\Debug\cuddDecomp.sbr .\Release\cuddDecomp.sbr
.\Debug\cuddEssent.sbr .\Release\cuddEssent.sbr
.\Debug\cuddExact.sbr .\Release\cuddExact.sbr
.\Debug\cuddExport.sbr .\Release\cuddExport.sbr
.\Debug\cuddGenCof.sbr .\Release\cuddGenCof.sbr
.\Debug\cuddGenetic.sbr .\Release\cuddGenetic.sbr
.\Debug\cuddGroup.sbr .\Release\cuddGroup.sbr
.\Debug\cuddHarwell.sbr .\Release\cuddHarwell.sbr
.\Debug\cuddInit.sbr .\Release\cuddInit.sbr
.\Debug\cuddInteract.sbr .\Release\cuddInteract.sbr
.\Debug\cuddLCache.sbr .\Release\cuddLCache.sbr
.\Debug\cuddLevelQ.sbr .\Release\cuddLevelQ.sbr
.\Debug\cuddLinear.sbr .\Release\cuddLinear.sbr
.\Debug\cuddLiteral.sbr .\Release\cuddLiteral.sbr
.\Debug\cuddMatMult.sbr .\Release\cuddMatMult.sbr
.\Debug\cuddPriority.sbr .\Release\cuddPriority.sbr
.\Debug\cuddRead.sbr .\Release\cuddRead.sbr
.\Debug\cuddRef.sbr .\Release\cuddRef.sbr
.\Debug\cuddReorder.sbr .\Release\cuddReorder.sbr
.\Debug\cuddSat.sbr .\Release\cuddSat.sbr
.\Debug\cuddSign.sbr .\Release\cuddSign.sbr
.\Debug\cuddSolve.sbr .\Release\cuddSolve.sbr
.\Debug\cuddSplit.sbr .\Release\cuddSplit.sbr
.\Debug\cuddSubsetHB.sbr .\Release\cuddSubsetHB.sbr
.\Debug\cuddSubsetSP.sbr .\Release\cuddSubsetSP.sbr
.\Debug\cuddSymmetry.sbr .\Release\cuddSymmetry.sbr
.\Debug\cuddTable.sbr .\Release\cuddTable.sbr
.\Debug\cuddUtil.sbr .\Release\cuddUtil.sbr
.\Debug\cuddWindow.sbr .\Release\cuddWindow.sbr
.\Debug\cuddZddCount.sbr .\Release\cuddZddCount.sbr
.\Debug\cuddZddFuncs.sbr .\Release\cuddZddFuncs.sbr
.\Debug\cuddZddGroup.sbr .\Release\cuddZddGroup.sbr
.\Debug\cuddZddIsop.sbr .\Release\cuddZddIsop.sbr
.\Debug\cuddZddLin.sbr .\Release\cuddZddLin.sbr
.\Debug\cuddZddMisc.sbr .\Release\cuddZddMisc.sbr
.\Debug\cuddZddPort.sbr .\Release\cuddZddPort.sbr
.\Debug\cuddZddReord.sbr .\Release\cuddZddReord.sbr
.\Debug\cuddZddSetop.sbr .\Release\cuddZddSetop.sbr
.\Debug\cuddZddSymm.sbr .\Release\cuddZddSymm.sbr
.\Debug\cuddZddUtil.sbr .\Release\cuddZddUtil.sbr
.\Debug\epd.sbr .\Release\epd.sbr
.\Debug\mtrBasic.sbr .\Release\mtrBasic.sbr
.\Debug\mtrGroup.sbr .\Release\mtrGroup.sbr
.\Debug\parseCore.sbr .\Release\parseCore.sbr
.\Debug\parseStack.sbr .\Release\parseStack.sbr
.\Debug\dsdApi.sbr .\Release\dsdApi.sbr
.\Debug\dsdCheck.sbr .\Release\dsdCheck.sbr
.\Debug\dsdLocal.sbr .\Release\dsdLocal.sbr
.\Debug\dsdMan.sbr .\Release\dsdMan.sbr
.\Debug\dsdProc.sbr .\Release\dsdProc.sbr
.\Debug\dsdTree.sbr .\Release\dsdTree.sbr
.\Debug\reoApi.sbr .\Release\reoApi.sbr
.\Debug\reoCore.sbr .\Release\reoCore.sbr
.\Debug\reoProfile.sbr .\Release\reoProfile.sbr
.\Debug\reoSift.sbr .\Release\reoSift.sbr
.\Debug\reoSwap.sbr .\Release\reoSwap.sbr
.\Debug\reoTest.sbr .\Release\reoTest.sbr
.\Debug\reoTransfer.sbr .\Release\reoTransfer.sbr
.\Debug\reoUnits.sbr .\Release\reoUnits.sbr
.\Debug\added.sbr .\Release\added.sbr
.\Debug\solver.sbr .\Release\solver.sbr
.\Debug\msatActivity.sbr .\Release\msatActivity.sbr
.\Debug\msatClause.sbr .\Release\msatClause.sbr
.\Debug\msatClauseVec.sbr .\Release\msatClauseVec.sbr
.\Debug\msatMem.sbr .\Release\msatMem.sbr
.\Debug\msatOrderJ.sbr .\Release\msatOrderJ.sbr
.\Debug\msatQueue.sbr .\Release\msatQueue.sbr
.\Debug\msatRead.sbr .\Release\msatRead.sbr
.\Debug\msatSolverApi.sbr .\Release\msatSolverApi.sbr
.\Debug\msatSolverCore.sbr .\Release\msatSolverCore.sbr
.\Debug\msatSolverIo.sbr .\Release\msatSolverIo.sbr
.\Debug\msatSolverSearch.sbr .\Release\msatSolverSearch.sbr
.\Debug\msatSort.sbr .\Release\msatSort.sbr
.\Debug\msatVec.sbr .\Release\msatVec.sbr
.\Debug\fraigApi.sbr .\Release\fraigApi.sbr
.\Debug\fraigCanon.sbr .\Release\fraigCanon.sbr
.\Debug\fraigFanout.sbr .\Release\fraigFanout.sbr
.\Debug\fraigFeed.sbr .\Release\fraigFeed.sbr
.\Debug\fraigMan.sbr .\Release\fraigMan.sbr
.\Debug\fraigMem.sbr .\Release\fraigMem.sbr
.\Debug\fraigNode.sbr .\Release\fraigNode.sbr
.\Debug\fraigPrime.sbr .\Release\fraigPrime.sbr
.\Debug\fraigSat.sbr .\Release\fraigSat.sbr
.\Debug\fraigTable.sbr .\Release\fraigTable.sbr
.\Debug\fraigUtil.sbr .\Release\fraigUtil.sbr
.\Debug\fraigVec.sbr .\Release\fraigVec.sbr
.\Debug\csat_apis.sbr .\Release\csat_apis.sbr
.\Debug\fxu.sbr .\Release\fxu.sbr
.\Debug\fxuCreate.sbr .\Release\fxuCreate.sbr
.\Debug\fxuHeapD.sbr .\Release\fxuHeapD.sbr
.\Debug\fxuHeapS.sbr .\Release\fxuHeapS.sbr
.\Debug\fxuList.sbr .\Release\fxuList.sbr
.\Debug\fxuMatrix.sbr .\Release\fxuMatrix.sbr
.\Debug\fxuPair.sbr .\Release\fxuPair.sbr
.\Debug\fxuPrint.sbr .\Release\fxuPrint.sbr
.\Debug\fxuReduce.sbr .\Release\fxuReduce.sbr
.\Debug\fxuSelect.sbr .\Release\fxuSelect.sbr
.\Debug\fxuSingle.sbr .\Release\fxuSingle.sbr
.\Debug\fxuUpdate.sbr .\Release\fxuUpdate.sbr
.\Debug\rwrDec.sbr .\Release\rwrDec.sbr
.\Debug\rwrEva.sbr .\Release\rwrEva.sbr
.\Debug\rwrExp.sbr .\Release\rwrExp.sbr
.\Debug\rwrLib.sbr .\Release\rwrLib.sbr
.\Debug\rwrMan.sbr .\Release\rwrMan.sbr
.\Debug\rwrPrint.sbr .\Release\rwrPrint.sbr
.\Debug\rwrUtil.sbr .\Release\rwrUtil.sbr
.\Debug\cutApi.sbr .\Release\cutApi.sbr
.\Debug\cutCut.sbr .\Release\cutCut.sbr
.\Debug\cutMan.sbr .\Release\cutMan.sbr
.\Debug\cutMerge.sbr .\Release\cutMerge.sbr
.\Debug\cutNode.sbr .\Release\cutNode.sbr
.\Debug\cutSeq.sbr .\Release\cutSeq.sbr
.\Debug\cutTruth.sbr .\Release\cutTruth.sbr
.\Debug\decAbc.sbr .\Release\decAbc.sbr
.\Debug\decFactor.sbr .\Release\decFactor.sbr
.\Debug\decMan.sbr .\Release\decMan.sbr
.\Debug\decPrint.sbr .\Release\decPrint.sbr
.\Debug\decUtil.sbr .\Release\decUtil.sbr
.\Debug\simMan.sbr .\Release\simMan.sbr
.\Debug\simSat.sbr .\Release\simSat.sbr
.\Debug\simSupp.sbr .\Release\simSupp.sbr
.\Debug\simSwitch.sbr .\Release\simSwitch.sbr
.\Debug\simSym.sbr .\Release\simSym.sbr
.\Debug\simSymSat.sbr .\Release\simSymSat.sbr
.\Debug\simSymSim.sbr .\Release\simSymSim.sbr
.\Debug\simSymStr.sbr .\Release\simSymStr.sbr
.\Debug\simUtils.sbr .\Release\simUtils.sbr
.\Debug\fpga.sbr .\Release\fpga.sbr
.\Debug\fpgaCore.sbr .\Release\fpgaCore.sbr
.\Debug\fpgaCreate.sbr .\Release\fpgaCreate.sbr
.\Debug\fpgaCut.sbr .\Release\fpgaCut.sbr
.\Debug\fpgaCutUtils.sbr .\Release\fpgaCutUtils.sbr
.\Debug\fpgaFanout.sbr .\Release\fpgaFanout.sbr
.\Debug\fpgaLib.sbr .\Release\fpgaLib.sbr
.\Debug\fpgaMatch.sbr .\Release\fpgaMatch.sbr
.\Debug\fpgaSwitch.sbr .\Release\fpgaSwitch.sbr
.\Debug\fpgaTime.sbr .\Release\fpgaTime.sbr
.\Debug\fpgaTruth.sbr .\Release\fpgaTruth.sbr
.\Debug\fpgaUtils.sbr .\Release\fpgaUtils.sbr
.\Debug\fpgaVec.sbr .\Release\fpgaVec.sbr
.\Debug\mapper.sbr .\Release\mapper.sbr
.\Debug\mapperCanon.sbr .\Release\mapperCanon.sbr
.\Debug\mapperCore.sbr .\Release\mapperCore.sbr
.\Debug\mapperCreate.sbr .\Release\mapperCreate.sbr
.\Debug\mapperCut.sbr .\Release\mapperCut.sbr
.\Debug\mapperCutUtils.sbr .\Release\mapperCutUtils.sbr
.\Debug\mapperFanout.sbr .\Release\mapperFanout.sbr
.\Debug\mapperLib.sbr .\Release\mapperLib.sbr
.\Debug\mapperMatch.sbr .\Release\mapperMatch.sbr
.\Debug\mapperRefs.sbr .\Release\mapperRefs.sbr
.\Debug\mapperSuper.sbr .\Release\mapperSuper.sbr
.\Debug\mapperSwitch.sbr .\Release\mapperSwitch.sbr
.\Debug\mapperTable.sbr .\Release\mapperTable.sbr
.\Debug\mapperTime.sbr .\Release\mapperTime.sbr
.\Debug\mapperTree.sbr .\Release\mapperTree.sbr
.\Debug\mapperTruth.sbr .\Release\mapperTruth.sbr
.\Debug\mapperUtils.sbr .\Release\mapperUtils.sbr
.\Debug\mapperVec.sbr .\Release\mapperVec.sbr
.\Debug\mio.sbr .\Release\mio.sbr
.\Debug\mioApi.sbr .\Release\mioApi.sbr
.\Debug\mioFunc.sbr .\Release\mioFunc.sbr
.\Debug\mioRead.sbr .\Release\mioRead.sbr
.\Debug\mioUtils.sbr .\Release\mioUtils.sbr
.\Debug\super.sbr .\Release\super.sbr
.\Debug\superAnd.sbr .\Release\superAnd.sbr
.\Debug\superGate.sbr .\Release\superGate.sbr
.\Debug\superWrite.sbr .\Release\superWrite.sbr
.\Debug\pgaCore.sbr .\Release\pgaCore.sbr
.\Debug\pgaMan.sbr .\Release\pgaMan.sbr
.\Debug\pgaMatch.sbr .\Release\pgaMatch.sbr
.\Debug\pgaUtil.sbr .\Release\pgaUtil.sbr
.\Debug\extraBddMisc.sbr .\Release\extraBddMisc.sbr
.\Debug\extraBddSymm.sbr .\Release\extraBddSymm.sbr
.\Debug\extraUtilBitMatrix.sbr .\Release\extraUtilBitMatrix.sbr
.\Debug\extraUtilCanon.sbr .\Release\extraUtilCanon.sbr
.\Debug\extraUtilFile.sbr .\Release\extraUtilFile.sbr
.\Debug\extraUtilMemory.sbr .\Release\extraUtilMemory.sbr
.\Debug\extraUtilMisc.sbr .\Release\extraUtilMisc.sbr
.\Debug\extraUtilProgress.sbr .\Release\extraUtilProgress.sbr
.\Debug\extraUtilReader.sbr .\Release\extraUtilReader.sbr
.\Debug\st.sbr .\Release\st.sbr
.\Debug\stmm.sbr .\Release\stmm.sbr
.\Debug\cpu_stats.sbr .\Release\cpu_stats.sbr
.\Debug\cpu_time.sbr .\Release\cpu_time.sbr
.\Debug\datalimit.sbr .\Release\datalimit.sbr
.\Debug\getopt.sbr .\Release\getopt.sbr
.\Debug\pathsearch.sbr .\Release\pathsearch.sbr
.\Debug\safe_mem.sbr .\Release\safe_mem.sbr
.\Debug\strsav.sbr .\Release\strsav.sbr
.\Debug\texpand.sbr .\Release\texpand.sbr
.\Debug\mvc.sbr .\Release\mvc.sbr
.\Debug\mvcApi.sbr .\Release\mvcApi.sbr
.\Debug\mvcCompare.sbr .\Release\mvcCompare.sbr
.\Debug\mvcContain.sbr .\Release\mvcContain.sbr
.\Debug\mvcCover.sbr .\Release\mvcCover.sbr
.\Debug\mvcCube.sbr .\Release\mvcCube.sbr
.\Debug\mvcDivide.sbr .\Release\mvcDivide.sbr
.\Debug\mvcDivisor.sbr .\Release\mvcDivisor.sbr
.\Debug\mvcList.sbr .\Release\mvcList.sbr
.\Debug\mvcLits.sbr .\Release\mvcLits.sbr
.\Debug\mvcMan.sbr .\Release\mvcMan.sbr
.\Debug\mvcOpAlg.sbr .\Release\mvcOpAlg.sbr
.\Debug\mvcOpBool.sbr .\Release\mvcOpBool.sbr
.\Debug\mvcPrint.sbr .\Release\mvcPrint.sbr
.\Debug\mvcSort.sbr .\Release\mvcSort.sbr
.\Debug\mvcUtils.sbr] .\Release\mvcUtils.sbr
Creating command line "bscmake.exe @C:\DOCUME~1\alanmi\LOCALS~1\Temp\RSP1DD8.tmp" .\Release\libSupport.sbr]
Creating command line "bscmake.exe @C:\DOCUME~1\alanmi\LOCALS~1\Temp\RSP211D.tmp"
Creating browse info file... Creating browse info file...
<h3>Output Window</h3> <h3>Output Window</h3>
<h3>Results</h3> <h3>Results</h3>
abc.exe - 0 error(s), 0 warning(s) abc.exe - 0 error(s), 15 warning(s)
</pre> </pre>
</body> </body>
</html> </html>
...@@ -36,6 +36,7 @@ alias r read ...@@ -36,6 +36,7 @@ alias r read
alias ren renode alias ren renode
alias rl read_blif alias rl read_blif
alias rb read_bench alias rb read_bench
alias ret retime
alias rp read_pla alias rp read_pla
alias rv read_verilog alias rv read_verilog
alias rsup read_super mcnc5_old.super alias rsup read_super mcnc5_old.super
...@@ -63,4 +64,3 @@ alias sharedsd "b; ren; dsd -g; sw; fx; b" ...@@ -63,4 +64,3 @@ alias sharedsd "b; ren; dsd -g; sw; fx; b"
alias resyn "b; rw; rwz; b; rwz; b" alias resyn "b; rw; rwz; b; rwz; b"
alias resyn2 "b; rw; rf; b; rw; rwz; b; rfz; rwz; b" alias resyn2 "b; rw; rf; b; rw; rwz; b; rfz; rwz; b"
alias thin "rwz; rfz; b; ps" alias thin "rwz; rfz; b; ps"
r examples/apex4.pla
resyn
sharem
fpga
cec
ps
clp
share
resyn
map
cec
ps
r examples/C2670.blif
resyn
fpga
cec
ps
u
map
cec
ps
r examples/frg2.blif
dsd
muxes
cec
clp
share
resyn
map
cec
ps
r examples/pj1.blif
resyn
fpga
cec
ps
u
map
cec
ps
r examples/s38584.bench
resyn
fpga
cec
ps
u
map
cec
ps
r examples/ac.v
resyn
fpga
cec
ps
u
map
cec
ps
r examples/s444.blif
b
esd -v
dsd
cec
ps
r examples/i10.blif
fpga
cec
ps
u
map
cec
ps
r examples/i10.blif
b
fraig_store
resyn
fraig_store
resyn2
fraig_store
fraig_restore
fpga
cec
ps
u
map
cec
ps
time
UC Berkeley, ABC 1.01 (compiled Sep 5 2005 23:36:08)
abc 01> so regtest.script
abc - > r examples/apex4.pla
abc - > resyn
abc - > sharem
abc - > fpga
abc - > cec
Networks are equivalent after fraiging.
abc - > ps
examples/apex4.pla: i/o = 9/ 19 lat = 0 nd = 784 cube = 1985 lev = 5
abc - >
abc - > clp
The shared BDD size is 917 nodes.
abc - > share
abc - > resyn
abc - > map
A simple supergate library is derived from gate library "mcnc_temp.genlib".
Loaded 20 unique 5-input supergates from "mcnc_temp.super". Time = 0.02 sec
abc - > cec
Networks are equivalent after fraiging.
abc - > ps
examples/apex4.pla: i/o = 9/ 19 lat = 0 nd = 1816 area = 4599.00 delay = 11.50 lev = 11
abc - >
abc - > r examples/C2670.blif
abc - > resyn
abc - > fpga
abc - > cec
Networks are equivalent after fraiging.
abc - > ps
C2670.iscas : i/o = 233/ 140 lat = 0 nd = 169 cube = 482 lev = 6
abc - >
abc - > u
abc - > map
abc - > cec
Networks are equivalent after fraiging.
abc - > ps
C2670.iscas : i/o = 233/ 140 lat = 0 nd = 465 area = 1142.00 delay = 15.50 lev = 14
abc - >
abc - > r examples/frg2.blif
abc - > dsd
abc - > muxes
abc - > cec
Networks are equivalent after fraiging.
abc - > clp
The shared BDD size is 1111 nodes.
abc - > share
abc - > resyn
abc - > map
abc - > cec
Networks are equivalent after fraiging.
abc - > ps
frg2 : i/o = 143/ 139 lat = 0 nd = 540 area = 1360.00 delay = 10.10 lev = 9
abc - >
abc - > r examples/pj1.blif
abc - > resyn
abc - > fpga
abc - > cec
Networks are equivalent after fraiging.
abc - > ps
exCombCkt : i/o = 1769/1063 lat = 0 nd = 4730 cube = 10662 lev = 12
abc - >
abc - > u
abc - > map
abc - > cec
Networks are equivalent after fraiging.
abc - > ps
exCombCkt : i/o = 1769/1063 lat = 0 nd = 10396 area = 25170.00 delay = 29.20 lev = 27
abc - >
abc - > r examples/s38584.bench
abc - > resyn
The network has 26 self-feeding latches.
abc - > fpga
abc - > cec
The network has 26 self-feeding latches.
The network has 26 self-feeding latches.
Networks are equivalent after fraiging.
abc - > ps
examples/s38584.bench: i/o = 12/ 278 lat = 1452 nd = 3239 cube = 6769 lev = 7
abc - >
abc - > u
abc - > map
The network has 26 self-feeding latches.
abc - > cec
The network has 26 self-feeding latches.
The network has 26 self-feeding latches.
Networks are equivalent after fraiging.
abc - > ps
examples/s38584.bench: i/o = 12/ 278 lat = 1452 nd = 8522 area = 19305.00 delay = 20.60 lev = 17
abc - >
abc - > r examples/ac.v
abc - > resyn
abc - > fpga
abc - > cec
Networks are equivalent after fraiging.
abc - > ps
ac97_ctrl : i/o = 84/ 48 lat = 2199 nd = 3652 cube = 9391 lev = 3
abc - >
abc - > u
abc - > map
abc - > cec
Networks are equivalent after fraiging.
abc - > ps
ac97_ctrl : i/o = 84/ 48 lat = 2199 nd = 8337 area = 19861.00 delay = 8.10 lev = 8
abc - >
abc - > r examples/s444.blif
abc - > b
abc - > esd -v
The shared BDD size is 181 nodes.
BDD nodes in the transition relation before reordering 557.
BDD nodes in the transition relation after reordering 456.
Reachability analysis completed in 151 iterations.
The number of minterms in the reachable state set = 8865.
BDD nodes in the unreachable states before reordering 124.
BDD nodes in the unreachable states after reordering 113.
abc - > dsd
abc - > cec
Networks are equivalent after fraiging.
abc - > ps
iscas\s444.bench: i/o = 3/ 6 lat = 21 nd = 81 cube = 119 lev = 7
abc - >
abc - > r examples/i10.blif
abc - > fpga
The network was strashed and balanced before FPGA mapping.
abc - > cec
Networks are equivalent after fraiging.
abc - > ps
i10 : i/o = 257/ 224 lat = 0 nd = 741 cube = 1616 lev = 11
abc - > u
abc - > map
The network was strashed and balanced before mapping.
abc - > cec
Networks are equivalent after fraiging.
abc - > ps
i10 : i/o = 257/ 224 lat = 0 nd = 1659 area = 4215.00 delay = 30.80 lev = 27
abc - >
abc - > r examples/i10.blif
abc - > b
abc - > fraig_store
The number of AIG nodes added to storage = 2425.
abc - > resyn
abc - > fraig_store
The number of AIG nodes added to storage = 1678.
abc - > resyn2
abc - > fraig_store
The number of AIG nodes added to storage = 1323.
abc - > fraig_restore
Currently stored 3 networks with 5426 nodes will be fraiged.
abc - > fpga
Performing FPGA mapping with choices.
abc - > cec
Networks are equivalent after fraiging.
abc - > ps
i10 : i/o = 257/ 224 lat = 0 nd = 674 cube = 1498 lev = 10
abc - >
abc - > u
abc - > map
Performing mapping with choices.
abc - > cec
Networks are equivalent after fraiging.
abc - > ps
i10 : i/o = 257/ 224 lat = 0 nd = 1505 area = 3561.00 delay = 25.00 lev = 22
abc - >
abc 109> time
elapse: 77.52 seconds, total: 77.52 seconds
abc 109>
\ No newline at end of file
...@@ -249,12 +249,12 @@ static inline int Abc_NtkCiNum( Abc_Ntk_t * pNtk ) { return pN ...@@ -249,12 +249,12 @@ static inline int Abc_NtkCiNum( Abc_Ntk_t * pNtk ) { return pN
static inline int Abc_NtkCoNum( Abc_Ntk_t * pNtk ) { return pNtk->vCos->nSize; } static inline int Abc_NtkCoNum( Abc_Ntk_t * pNtk ) { return pNtk->vCos->nSize; }
// reading objects // reading objects
static inline Abc_Obj_t * Abc_NtkObj( Abc_Ntk_t * pNtk, int i ) { assert( i < Vec_PtrSize(pNtk->vObjs) ); return pNtk->vObjs->pArray[i]; } static inline Abc_Obj_t * Abc_NtkObj( Abc_Ntk_t * pNtk, int i ) { assert( i < Vec_PtrSize(pNtk->vObjs) ); return (Abc_Obj_t *)pNtk->vObjs->pArray[i]; }
static inline Abc_Obj_t * Abc_NtkLatch( Abc_Ntk_t * pNtk, int i ) { assert( i < Vec_PtrSize(pNtk->vLats) ); return pNtk->vLats->pArray[i]; } static inline Abc_Obj_t * Abc_NtkLatch( Abc_Ntk_t * pNtk, int i ) { assert( i < Vec_PtrSize(pNtk->vLats) ); return (Abc_Obj_t *)pNtk->vLats->pArray[i]; }
static inline Abc_Obj_t * Abc_NtkPi( Abc_Ntk_t * pNtk, int i ) { assert( i < Abc_NtkPiNum(pNtk) ); return pNtk->vCis->pArray[i]; } static inline Abc_Obj_t * Abc_NtkPi( Abc_Ntk_t * pNtk, int i ) { assert( i < Abc_NtkPiNum(pNtk) ); return (Abc_Obj_t *)pNtk->vCis->pArray[i]; }
static inline Abc_Obj_t * Abc_NtkPo( Abc_Ntk_t * pNtk, int i ) { assert( i < Abc_NtkPoNum(pNtk) ); return pNtk->vCos->pArray[i]; } static inline Abc_Obj_t * Abc_NtkPo( Abc_Ntk_t * pNtk, int i ) { assert( i < Abc_NtkPoNum(pNtk) ); return (Abc_Obj_t *)pNtk->vCos->pArray[i]; }
static inline Abc_Obj_t * Abc_NtkCi( Abc_Ntk_t * pNtk, int i ) { assert( i < Abc_NtkCiNum(pNtk) ); return pNtk->vCis->pArray[i]; } static inline Abc_Obj_t * Abc_NtkCi( Abc_Ntk_t * pNtk, int i ) { assert( i < Abc_NtkCiNum(pNtk) ); return (Abc_Obj_t *)pNtk->vCis->pArray[i]; }
static inline Abc_Obj_t * Abc_NtkCo( Abc_Ntk_t * pNtk, int i ) { assert( i < Abc_NtkCoNum(pNtk) ); return pNtk->vCos->pArray[i]; } static inline Abc_Obj_t * Abc_NtkCo( Abc_Ntk_t * pNtk, int i ) { assert( i < Abc_NtkCoNum(pNtk) ); return (Abc_Obj_t *)pNtk->vCos->pArray[i]; }
// reading data members of the object // reading data members of the object
static inline unsigned Abc_ObjType( Abc_Obj_t * pObj ) { return pObj->Type; } static inline unsigned Abc_ObjType( Abc_Obj_t * pObj ) { return pObj->Type; }
...@@ -293,13 +293,13 @@ static inline int Abc_ObjFanoutNum( Abc_Obj_t * pObj ) { return pO ...@@ -293,13 +293,13 @@ static inline int Abc_ObjFanoutNum( Abc_Obj_t * pObj ) { return pO
static inline int Abc_ObjFaninId( Abc_Obj_t * pObj, int i) { return pObj->vFanins.pArray[i].iFan; } static inline int Abc_ObjFaninId( Abc_Obj_t * pObj, int i) { return pObj->vFanins.pArray[i].iFan; }
static inline int Abc_ObjFaninId0( Abc_Obj_t * pObj ) { return pObj->vFanins.pArray[0].iFan; } static inline int Abc_ObjFaninId0( Abc_Obj_t * pObj ) { return pObj->vFanins.pArray[0].iFan; }
static inline int Abc_ObjFaninId1( Abc_Obj_t * pObj ) { return pObj->vFanins.pArray[1].iFan; } static inline int Abc_ObjFaninId1( Abc_Obj_t * pObj ) { return pObj->vFanins.pArray[1].iFan; }
static inline Abc_Obj_t * Abc_ObjFanout( Abc_Obj_t * pObj, int i ) { return pObj->pNtk->vObjs->pArray[ pObj->vFanouts.pArray[i].iFan ]; } static inline Abc_Obj_t * Abc_ObjFanout( Abc_Obj_t * pObj, int i ) { return (Abc_Obj_t *)pObj->pNtk->vObjs->pArray[ pObj->vFanouts.pArray[i].iFan ]; }
static inline Abc_Obj_t * Abc_ObjFanout0( Abc_Obj_t * pObj ) { return pObj->pNtk->vObjs->pArray[ pObj->vFanouts.pArray[0].iFan ]; } static inline Abc_Obj_t * Abc_ObjFanout0( Abc_Obj_t * pObj ) { return (Abc_Obj_t *)pObj->pNtk->vObjs->pArray[ pObj->vFanouts.pArray[0].iFan ]; }
static inline Abc_Obj_t * Abc_ObjFanin( Abc_Obj_t * pObj, int i ) { return pObj->pNtk->vObjs->pArray[ pObj->vFanins.pArray[i].iFan ]; } static inline Abc_Obj_t * Abc_ObjFanin( Abc_Obj_t * pObj, int i ) { return (Abc_Obj_t *)pObj->pNtk->vObjs->pArray[ pObj->vFanins.pArray[i].iFan ]; }
static inline Abc_Obj_t * Abc_ObjFanin0( Abc_Obj_t * pObj ) { return pObj->pNtk->vObjs->pArray[ pObj->vFanins.pArray[0].iFan ]; } static inline Abc_Obj_t * Abc_ObjFanin0( Abc_Obj_t * pObj ) { return (Abc_Obj_t *)pObj->pNtk->vObjs->pArray[ pObj->vFanins.pArray[0].iFan ]; }
static inline Abc_Obj_t * Abc_ObjFanin1( Abc_Obj_t * pObj ) { return pObj->pNtk->vObjs->pArray[ pObj->vFanins.pArray[1].iFan ]; } static inline Abc_Obj_t * Abc_ObjFanin1( Abc_Obj_t * pObj ) { return (Abc_Obj_t *)pObj->pNtk->vObjs->pArray[ pObj->vFanins.pArray[1].iFan ]; }
static inline Abc_Obj_t * Abc_ObjFanin0Ntk( Abc_Obj_t * pObj ) { return Abc_NtkIsNetlist(pObj->pNtk)? Abc_ObjFanin0(pObj) : pObj; } static inline Abc_Obj_t * Abc_ObjFanin0Ntk( Abc_Obj_t * pObj ) { return (Abc_Obj_t *)(Abc_NtkIsNetlist(pObj->pNtk)? Abc_ObjFanin0(pObj) : pObj); }
static inline Abc_Obj_t * Abc_ObjFanout0Ntk( Abc_Obj_t * pObj ) { return Abc_NtkIsNetlist(pObj->pNtk)? Abc_ObjFanout0(pObj) : pObj; } static inline Abc_Obj_t * Abc_ObjFanout0Ntk( Abc_Obj_t * pObj ) { return (Abc_Obj_t *)(Abc_NtkIsNetlist(pObj->pNtk)? Abc_ObjFanout0(pObj) : pObj); }
static inline bool Abc_ObjFaninC( Abc_Obj_t * pObj, int i ) { return pObj->vFanins.pArray[i].fCompl; } static inline bool Abc_ObjFaninC( Abc_Obj_t * pObj, int i ) { return pObj->vFanins.pArray[i].fCompl; }
static inline bool Abc_ObjFaninC0( Abc_Obj_t * pObj ) { return pObj->vFanins.pArray[0].fCompl; } static inline bool Abc_ObjFaninC0( Abc_Obj_t * pObj ) { return pObj->vFanins.pArray[0].fCompl; }
static inline bool Abc_ObjFaninC1( Abc_Obj_t * pObj ) { return pObj->vFanins.pArray[1].fCompl; } static inline bool Abc_ObjFaninC1( Abc_Obj_t * pObj ) { return pObj->vFanins.pArray[1].fCompl; }
...@@ -421,6 +421,8 @@ extern bool Abc_AigNodeHasComplFanoutEdge( Abc_Obj_t * pNode ); ...@@ -421,6 +421,8 @@ extern bool Abc_AigNodeHasComplFanoutEdge( Abc_Obj_t * pNode );
extern bool Abc_AigNodeHasComplFanoutEdgeTrav( Abc_Obj_t * pNode ); extern bool Abc_AigNodeHasComplFanoutEdgeTrav( Abc_Obj_t * pNode );
extern void Abc_AigPrintNode( Abc_Obj_t * pNode ); extern void Abc_AigPrintNode( Abc_Obj_t * pNode );
extern bool Abc_AigNodeIsAcyclic( Abc_Obj_t * pNode, Abc_Obj_t * pRoot ); extern bool Abc_AigNodeIsAcyclic( Abc_Obj_t * pNode, Abc_Obj_t * pRoot );
extern void Abc_AigCheckFaninOrder( Abc_Aig_t * pMan );
extern void Abc_AigRehash( Abc_Aig_t * pMan );
/*=== abcAttach.c ==========================================================*/ /*=== abcAttach.c ==========================================================*/
extern int Abc_NtkAttach( Abc_Ntk_t * pNtk ); extern int Abc_NtkAttach( Abc_Ntk_t * pNtk );
/*=== abcBalance.c ==========================================================*/ /*=== abcBalance.c ==========================================================*/
......
...@@ -409,6 +409,7 @@ Abc_Obj_t * Abc_AigAndCreateFrom( Abc_Aig_t * pMan, Abc_Obj_t * p0, Abc_Obj_t * ...@@ -409,6 +409,7 @@ Abc_Obj_t * Abc_AigAndCreateFrom( Abc_Aig_t * pMan, Abc_Obj_t * p0, Abc_Obj_t *
Key = Abc_HashKey2( p0, p1, pMan->nBins ); Key = Abc_HashKey2( p0, p1, pMan->nBins );
pAnd->pNext = pMan->pBins[Key]; pAnd->pNext = pMan->pBins[Key];
pMan->pBins[Key] = pAnd; pMan->pBins[Key] = pAnd;
pMan->nEntries++;
// create the cuts if defined // create the cuts if defined
// if ( pAnd->pNtk->pManCut ) // if ( pAnd->pNtk->pManCut )
// Abc_NodeGetCuts( pAnd->pNtk->pManCut, pAnd ); // Abc_NodeGetCuts( pAnd->pNtk->pManCut, pAnd );
...@@ -542,6 +543,57 @@ clk = clock(); ...@@ -542,6 +543,57 @@ clk = clock();
pMan->nBins = nBinsNew; pMan->nBins = nBinsNew;
} }
/**Function*************************************************************
Synopsis [Resizes the hash table of AIG nodes.]
Description []
SideEffects []
SeeAlso []
***********************************************************************/
void Abc_AigRehash( Abc_Aig_t * pMan )
{
Abc_Obj_t ** pBinsNew;
Abc_Obj_t * pEnt, * pEnt2;
Abc_Fan_t * pArray;
unsigned Key;
int Counter, Temp, i;
// allocate a new array
pBinsNew = ALLOC( Abc_Obj_t *, pMan->nBins );
memset( pBinsNew, 0, sizeof(Abc_Obj_t *) * pMan->nBins );
// rehash the entries from the old table
Counter = 0;
for ( i = 0; i < pMan->nBins; i++ )
Abc_AigBinForEachEntrySafe( pMan->pBins[i], pEnt, pEnt2 )
{
// swap the fanins if needed
pArray = pEnt->vFanins.pArray;
if ( pArray[0].iFan > pArray[1].iFan )
{
Temp = pArray[0].iFan;
pArray[0].iFan = pArray[1].iFan;
pArray[1].iFan = Temp;
Temp = pArray[0].fCompl;
pArray[0].fCompl = pArray[1].fCompl;
pArray[1].fCompl = Temp;
}
// rehash the node
Key = Abc_HashKey2( Abc_ObjChild0(pEnt), Abc_ObjChild1(pEnt), pMan->nBins );
pEnt->pNext = pBinsNew[Key];
pBinsNew[Key] = pEnt;
Counter++;
}
assert( Counter == pMan->nEntries );
// replace the table and the parameters
free( pMan->pBins );
pMan->pBins = pBinsNew;
}
...@@ -1157,6 +1209,34 @@ bool Abc_AigNodeIsAcyclic( Abc_Obj_t * pNode, Abc_Obj_t * pRoot ) ...@@ -1157,6 +1209,34 @@ bool Abc_AigNodeIsAcyclic( Abc_Obj_t * pNode, Abc_Obj_t * pRoot )
return 1; return 1;
} }
/**Function*************************************************************
Synopsis [Resizes the hash table of AIG nodes.]
Description []
SideEffects []
SeeAlso []
***********************************************************************/
void Abc_AigCheckFaninOrder( Abc_Aig_t * pMan )
{
Abc_Obj_t * pEnt;
int i;
for ( i = 0; i < pMan->nBins; i++ )
Abc_AigBinForEachEntry( pMan->pBins[i], pEnt )
{
if ( Abc_ObjRegular(Abc_ObjChild0(pEnt))->Id > Abc_ObjRegular(Abc_ObjChild1(pEnt))->Id )
{
int i0 = Abc_ObjRegular(Abc_ObjChild0(pEnt))->Id;
int i1 = Abc_ObjRegular(Abc_ObjChild1(pEnt))->Id;
int x = 0;
printf( "Node %d has incorrect ordering of fanins.\n", pEnt->Id );
}
}
}
//////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////
/// END OF FILE /// /// END OF FILE ///
//////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////
......
...@@ -283,6 +283,7 @@ void Abc_NtkDupCioNamesTable( Abc_Ntk_t * pNtk, Abc_Ntk_t * pNtkNew ) ...@@ -283,6 +283,7 @@ void Abc_NtkDupCioNamesTable( Abc_Ntk_t * pNtk, Abc_Ntk_t * pNtkNew )
Abc_NtkLogicStoreName( Abc_NtkPi(pNtkNew,i), Abc_ObjName(pObj) ); Abc_NtkLogicStoreName( Abc_NtkPi(pNtkNew,i), Abc_ObjName(pObj) );
Abc_NtkForEachPo( pNtk, pObj, i ) Abc_NtkForEachPo( pNtk, pObj, i )
Abc_NtkLogicStoreName( Abc_NtkPo(pNtkNew,i), Abc_ObjName(pObj) ); Abc_NtkLogicStoreName( Abc_NtkPo(pNtkNew,i), Abc_ObjName(pObj) );
if ( !Abc_NtkIsSeq(pNtk) )
Abc_NtkForEachLatch( pNtk, pObj, i ) Abc_NtkForEachLatch( pNtk, pObj, i )
Abc_NtkLogicStoreName( Abc_NtkLatch(pNtkNew,i), Abc_ObjName(pObj) ); Abc_NtkLogicStoreName( Abc_NtkLatch(pNtkNew,i), Abc_ObjName(pObj) );
} }
......
...@@ -72,7 +72,10 @@ Abc_Ntk_t * Abc_NtkAlloc( Abc_NtkType_t Type, Abc_NtkFunc_t Func ) ...@@ -72,7 +72,10 @@ Abc_Ntk_t * Abc_NtkAlloc( Abc_NtkType_t Type, Abc_NtkFunc_t Func )
else if ( Abc_NtkHasBdd(pNtk) ) else if ( Abc_NtkHasBdd(pNtk) )
pNtk->pManFunc = Cudd_Init( 20, 0, CUDD_UNIQUE_SLOTS, CUDD_CACHE_SLOTS, 0 ); pNtk->pManFunc = Cudd_Init( 20, 0, CUDD_UNIQUE_SLOTS, CUDD_CACHE_SLOTS, 0 );
else if ( Abc_NtkHasAig(pNtk) ) else if ( Abc_NtkHasAig(pNtk) )
{
if ( Abc_NtkIsStrash(pNtk) )
pNtk->pManFunc = Abc_AigAlloc( pNtk ); pNtk->pManFunc = Abc_AigAlloc( pNtk );
}
else if ( Abc_NtkHasMapping(pNtk) ) else if ( Abc_NtkHasMapping(pNtk) )
pNtk->pManFunc = Abc_FrameReadLibGen(); pNtk->pManFunc = Abc_FrameReadLibGen();
else else
...@@ -266,7 +269,7 @@ Abc_Ntk_t * Abc_NtkDup( Abc_Ntk_t * pNtk ) ...@@ -266,7 +269,7 @@ Abc_Ntk_t * Abc_NtkDup( Abc_Ntk_t * pNtk )
// start the network // start the network
pNtkNew = Abc_NtkStartFrom( pNtk, pNtk->ntkType, pNtk->ntkFunc ); pNtkNew = Abc_NtkStartFrom( pNtk, pNtk->ntkType, pNtk->ntkFunc );
// copy the internal nodes // copy the internal nodes
if ( Abc_NtkHasAig(pNtk) ) if ( Abc_NtkIsStrash(pNtk) )
Abc_AigDup( pNtk->pManFunc, pNtkNew->pManFunc ); Abc_AigDup( pNtk->pManFunc, pNtkNew->pManFunc );
else else
{ {
...@@ -278,6 +281,23 @@ Abc_Ntk_t * Abc_NtkDup( Abc_Ntk_t * pNtk ) ...@@ -278,6 +281,23 @@ Abc_Ntk_t * Abc_NtkDup( Abc_Ntk_t * pNtk )
Abc_NtkForEachObj( pNtk, pObj, i ) Abc_NtkForEachObj( pNtk, pObj, i )
Abc_ObjForEachFanin( pObj, pFanin, k ) Abc_ObjForEachFanin( pObj, pFanin, k )
Abc_ObjAddFanin( pObj->pCopy, pFanin->pCopy ); Abc_ObjAddFanin( pObj->pCopy, pFanin->pCopy );
// if it is a sequential networ, transfer attributes on edges
if ( Abc_NtkIsSeq(pNtk) )
{
pNtkNew->vInits = Vec_IntStart( 2 * Abc_NtkObjNumMax(pNtkNew) );
Abc_NtkForEachObj( pNtk, pObj, i )
{
Abc_ObjForEachFanin( pObj, pFanin, k )
{
if ( Abc_ObjFaninC(pObj, k) )
Abc_ObjSetFaninC( pObj->pCopy, k );
if ( Abc_ObjFaninL(pObj, k) > 0 )
Abc_ObjSetFaninL( pObj->pCopy, k, Abc_ObjFaninL(pObj, k) );
}
Vec_IntWriteEntry( pNtkNew->vInits, 2*pObj->pCopy->Id+0, Vec_IntEntry(pNtk->vInits, 2*pObj->Id+0) );
Vec_IntWriteEntry( pNtkNew->vInits, 2*pObj->pCopy->Id+1, Vec_IntEntry(pNtk->vInits, 2*pObj->Id+1) );
}
}
} }
// duplicate the EXDC Ntk // duplicate the EXDC Ntk
if ( pNtk->pExdc ) if ( pNtk->pExdc )
...@@ -505,6 +525,7 @@ void Abc_NtkDelete( Abc_Ntk_t * pNtk ) ...@@ -505,6 +525,7 @@ void Abc_NtkDelete( Abc_Ntk_t * pNtk )
Vec_IntFree( pNtk->vIntTemp ); Vec_IntFree( pNtk->vIntTemp );
Vec_StrFree( pNtk->vStrTemp ); Vec_StrFree( pNtk->vStrTemp );
if ( pNtk->vInits ) Vec_IntFree( pNtk->vInits ); if ( pNtk->vInits ) Vec_IntFree( pNtk->vInits );
if ( pNtk->pModel ) free( pNtk->pModel );
// free the hash table of Obj name into Obj ID // free the hash table of Obj name into Obj ID
stmm_free_table( pNtk->tName2Net ); stmm_free_table( pNtk->tName2Net );
stmm_free_table( pNtk->tObj2Name ); stmm_free_table( pNtk->tObj2Name );
...@@ -526,7 +547,10 @@ void Abc_NtkDelete( Abc_Ntk_t * pNtk ) ...@@ -526,7 +547,10 @@ void Abc_NtkDelete( Abc_Ntk_t * pNtk )
else if ( Abc_NtkHasBdd(pNtk) ) else if ( Abc_NtkHasBdd(pNtk) )
Extra_StopManager( pNtk->pManFunc ); Extra_StopManager( pNtk->pManFunc );
else if ( Abc_NtkHasAig(pNtk) ) else if ( Abc_NtkHasAig(pNtk) )
{
if ( Abc_NtkIsStrash(pNtk) )
Abc_AigFree( pNtk->pManFunc ); Abc_AigFree( pNtk->pManFunc );
}
else if ( !Abc_NtkHasMapping(pNtk) ) else if ( !Abc_NtkHasMapping(pNtk) )
assert( 0 ); assert( 0 );
free( pNtk ); free( pNtk );
......
...@@ -158,7 +158,7 @@ Abc_Obj_t * Abc_NtkDupObj( Abc_Ntk_t * pNtkNew, Abc_Obj_t * pObj ) ...@@ -158,7 +158,7 @@ Abc_Obj_t * Abc_NtkDupObj( Abc_Ntk_t * pNtkNew, Abc_Obj_t * pObj )
pObjNew->pData = Cudd_bddTransfer(pObj->pNtk->pManFunc, pNtkNew->pManFunc, pObj->pData), Cudd_Ref(pObjNew->pData); pObjNew->pData = Cudd_bddTransfer(pObj->pNtk->pManFunc, pNtkNew->pManFunc, pObj->pData), Cudd_Ref(pObjNew->pData);
else if ( Abc_NtkHasMapping(pNtkNew) ) else if ( Abc_NtkHasMapping(pNtkNew) )
pObjNew->pData = pObj->pData; pObjNew->pData = pObj->pData;
else if ( Abc_NtkHasAig(pNtkNew) ) else if ( Abc_NtkIsStrash(pNtkNew) )
assert( 0 ); assert( 0 );
} }
} }
...@@ -191,6 +191,13 @@ Abc_Obj_t * Abc_NtkDupConst1( Abc_Ntk_t * pNtkAig, Abc_Ntk_t * pNtkNew ) ...@@ -191,6 +191,13 @@ Abc_Obj_t * Abc_NtkDupConst1( Abc_Ntk_t * pNtkAig, Abc_Ntk_t * pNtkNew )
pConst1 = Abc_AigConst1(pNtkAig->pManFunc); pConst1 = Abc_AigConst1(pNtkAig->pManFunc);
if ( Abc_ObjFanoutNum(pConst1) > 0 ) if ( Abc_ObjFanoutNum(pConst1) > 0 )
pConst1->pCopy = Abc_NodeCreateConst1( pNtkNew ); pConst1->pCopy = Abc_NodeCreateConst1( pNtkNew );
else
{
// skip the 0-th entry to allow one-to-one match of object IDs
if ( pConst1->Id == 0 && pNtkNew->nNodes == 0 )
Vec_PtrPush( pNtkNew->vObjs, NULL );
}
return pConst1->pCopy; return pConst1->pCopy;
} }
......
...@@ -96,7 +96,7 @@ void Abc_NtkShowAig( Abc_Ntk_t * pNtk ) ...@@ -96,7 +96,7 @@ void Abc_NtkShowAig( Abc_Ntk_t * pNtk )
char FileNameDot[200]; char FileNameDot[200];
int i; int i;
assert( Abc_NtkIsStrash(pNtk) ); assert( Abc_NtkHasAig(pNtk) );
// create the file name // create the file name
Abc_ShowGetFileName( pNtk->pName, FileNameDot ); Abc_ShowGetFileName( pNtk->pName, FileNameDot );
// check that the file can be opened // check that the file can be opened
......
...@@ -86,6 +86,7 @@ static int Abc_CommandFpga ( Abc_Frame_t * pAbc, int argc, char ** argv ...@@ -86,6 +86,7 @@ static int Abc_CommandFpga ( Abc_Frame_t * pAbc, int argc, char ** argv
static int Abc_CommandPga ( Abc_Frame_t * pAbc, int argc, char ** argv ); static int Abc_CommandPga ( Abc_Frame_t * pAbc, int argc, char ** argv );
static int Abc_CommandSeq ( Abc_Frame_t * pAbc, int argc, char ** argv ); static int Abc_CommandSeq ( Abc_Frame_t * pAbc, int argc, char ** argv );
static int Abc_CommandUnseq ( Abc_Frame_t * pAbc, int argc, char ** argv );
static int Abc_CommandRetime ( Abc_Frame_t * pAbc, int argc, char ** argv ); static int Abc_CommandRetime ( Abc_Frame_t * pAbc, int argc, char ** argv );
static int Abc_CommandCec ( Abc_Frame_t * pAbc, int argc, char ** argv ); static int Abc_CommandCec ( Abc_Frame_t * pAbc, int argc, char ** argv );
...@@ -163,6 +164,7 @@ void Abc_Init( Abc_Frame_t * pAbc ) ...@@ -163,6 +164,7 @@ void Abc_Init( Abc_Frame_t * pAbc )
Cmd_CommandAdd( pAbc, "FPGA mapping", "pga", Abc_CommandPga, 1 ); Cmd_CommandAdd( pAbc, "FPGA mapping", "pga", Abc_CommandPga, 1 );
Cmd_CommandAdd( pAbc, "Sequential", "seq", Abc_CommandSeq, 1 ); Cmd_CommandAdd( pAbc, "Sequential", "seq", Abc_CommandSeq, 1 );
Cmd_CommandAdd( pAbc, "Sequential", "unseq", Abc_CommandUnseq, 1 );
Cmd_CommandAdd( pAbc, "Sequential", "retime", Abc_CommandRetime, 1 ); Cmd_CommandAdd( pAbc, "Sequential", "retime", Abc_CommandRetime, 1 );
Cmd_CommandAdd( pAbc, "Verification", "cec", Abc_CommandCec, 0 ); Cmd_CommandAdd( pAbc, "Verification", "cec", Abc_CommandCec, 0 );
...@@ -949,9 +951,9 @@ int Abc_CommandShowAig( Abc_Frame_t * pAbc, int argc, char ** argv ) ...@@ -949,9 +951,9 @@ int Abc_CommandShowAig( Abc_Frame_t * pAbc, int argc, char ** argv )
return 1; return 1;
} }
if ( !Abc_NtkIsStrash(pNtk) ) if ( !Abc_NtkHasAig(pNtk) )
{ {
fprintf( pErr, "Visualizing AIG can only be done for AIGs (run \"strash\").\n" ); fprintf( pErr, "Visualizing AIG can only be done for AIGs (run \"strash\" or \"seq\").\n" );
return 1; return 1;
} }
Abc_NtkShowAig( pNtk ); Abc_NtkShowAig( pNtk );
...@@ -3906,7 +3908,6 @@ int Abc_CommandSeq( Abc_Frame_t * pAbc, int argc, char ** argv ) ...@@ -3906,7 +3908,6 @@ int Abc_CommandSeq( Abc_Frame_t * pAbc, int argc, char ** argv )
FILE * pOut, * pErr; FILE * pOut, * pErr;
Abc_Ntk_t * pNtk, * pNtkRes; Abc_Ntk_t * pNtk, * pNtkRes;
int c; int c;
extern Abc_Ntk_t * Abc_NtkSuperChoice( Abc_Ntk_t * pNtk );
pNtk = Abc_FrameReadNet(pAbc); pNtk = Abc_FrameReadNet(pAbc);
pOut = Abc_FrameReadOut(pAbc); pOut = Abc_FrameReadOut(pAbc);
...@@ -3931,8 +3932,8 @@ int Abc_CommandSeq( Abc_Frame_t * pAbc, int argc, char ** argv ) ...@@ -3931,8 +3932,8 @@ int Abc_CommandSeq( Abc_Frame_t * pAbc, int argc, char ** argv )
return 1; return 1;
} }
printf( "This command is not yet implemented.\n" ); // printf( "This command is not yet implemented.\n" );
return 0; // return 0;
if ( !Abc_NtkIsStrash(pNtk) ) if ( !Abc_NtkIsStrash(pNtk) )
{ {
...@@ -3959,7 +3960,81 @@ int Abc_CommandSeq( Abc_Frame_t * pAbc, int argc, char ** argv ) ...@@ -3959,7 +3960,81 @@ int Abc_CommandSeq( Abc_Frame_t * pAbc, int argc, char ** argv )
usage: usage:
fprintf( pErr, "usage: seq [-h]\n" ); fprintf( pErr, "usage: seq [-h]\n" );
fprintf( pErr, "\t converts AIG into sequential AIG (while sweeping latches)\n" ); fprintf( pErr, "\t converts AIG into sequential AIG\n" );
fprintf( pErr, "\t-h : print the command usage\n");
return 1;
}
/**Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
***********************************************************************/
int Abc_CommandUnseq( Abc_Frame_t * pAbc, int argc, char ** argv )
{
FILE * pOut, * pErr;
Abc_Ntk_t * pNtk, * pNtkRes;
int c;
int fShare;
pNtk = Abc_FrameReadNet(pAbc);
pOut = Abc_FrameReadOut(pAbc);
pErr = Abc_FrameReadErr(pAbc);
// set defaults
fShare = 1;
util_getopt_reset();
while ( ( c = util_getopt( argc, argv, "sh" ) ) != EOF )
{
switch ( c )
{
case 's':
fShare ^= 1;
break;
case 'h':
goto usage;
default:
goto usage;
}
}
if ( pNtk == NULL )
{
fprintf( pErr, "Empty network.\n" );
return 1;
}
if ( !Abc_NtkIsSeq(pNtk) )
{
fprintf( pErr, "Works only for sequential AIG (run \"seq\").\n" );
return 1;
}
// share the latches on the fanout edges
if ( fShare )
Abc_NtkSeqShareFanouts(pNtk);
// get the new network
pNtkRes = Abc_NtkSeqToLogicSop( pNtk );
if ( pNtkRes == NULL )
{
fprintf( pErr, "Converting sequential AIG into an SOP logic network has failed.\n" );
return 1;
}
// replace the current network
Abc_FrameReplaceCurrentNetwork( pAbc, pNtkRes );
return 0;
usage:
fprintf( pErr, "usage: unseq [-sh]\n" );
fprintf( pErr, "\t converts sequential AIG into an SOP logic network\n" );
fprintf( pErr, "\t-s : toggle sharing latches [default = %s]\n", fShare? "yes": "no" );
fprintf( pErr, "\t-h : print the command usage\n"); fprintf( pErr, "\t-h : print the command usage\n");
return 1; return 1;
} }
...@@ -3991,7 +4066,7 @@ int Abc_CommandRetime( Abc_Frame_t * pAbc, int argc, char ** argv ) ...@@ -3991,7 +4066,7 @@ int Abc_CommandRetime( Abc_Frame_t * pAbc, int argc, char ** argv )
pErr = Abc_FrameReadErr(pAbc); pErr = Abc_FrameReadErr(pAbc);
// set defaults // set defaults
fForward = 0; fForward = 1;
fBackward = 0; fBackward = 0;
fInitial = 0; fInitial = 0;
util_getopt_reset(); util_getopt_reset();
...@@ -4021,10 +4096,6 @@ int Abc_CommandRetime( Abc_Frame_t * pAbc, int argc, char ** argv ) ...@@ -4021,10 +4096,6 @@ int Abc_CommandRetime( Abc_Frame_t * pAbc, int argc, char ** argv )
return 1; return 1;
} }
printf( "This command is not yet implemented.\n" );
return 0;
if ( !Abc_NtkIsSeq(pNtk) ) if ( !Abc_NtkIsSeq(pNtk) )
{ {
fprintf( pErr, "Works only for sequential AIG.\n" ); fprintf( pErr, "Works only for sequential AIG.\n" );
......
...@@ -501,7 +501,7 @@ Abc_Ntk_t * Abc_NtkFrames( Abc_Ntk_t * pNtk, int nFrames, int fInitial ) ...@@ -501,7 +501,7 @@ Abc_Ntk_t * Abc_NtkFrames( Abc_Ntk_t * pNtk, int nFrames, int fInitial )
pLatch->pCopy = Abc_ObjNotCond( Abc_AigConst1(pNtkFrames->pManFunc), Abc_LatchIsInit0(pLatch) ); pLatch->pCopy = Abc_ObjNotCond( Abc_AigConst1(pNtkFrames->pManFunc), Abc_LatchIsInit0(pLatch) );
} }
if ( Counter ) if ( Counter )
printf( "Warning: %d uninitialized latches are replaced by free variables.\n", Counter ); printf( "Warning: %d uninitialized latches are replaced by free PI variables.\n", Counter );
} }
// create the timeframes // create the timeframes
...@@ -521,12 +521,18 @@ Abc_Ntk_t * Abc_NtkFrames( Abc_Ntk_t * pNtk, int nFrames, int fInitial ) ...@@ -521,12 +521,18 @@ Abc_Ntk_t * Abc_NtkFrames( Abc_Ntk_t * pNtk, int nFrames, int fInitial )
Abc_NtkForEachLatch( pNtk, pLatch, i ) Abc_NtkForEachLatch( pNtk, pLatch, i )
{ {
pLatchNew = Abc_NtkLatch(pNtkFrames, i); pLatchNew = Abc_NtkLatch(pNtkFrames, i);
Abc_ObjAddFanin( pLatchNew, Abc_ObjFanin0(pLatch)->pCopy ); Abc_ObjAddFanin( pLatchNew, pLatch->pCopy );
Vec_PtrPush( pNtkFrames->vCis, pLatchNew ); Vec_PtrPush( pNtkFrames->vCis, pLatchNew );
Vec_PtrPush( pNtkFrames->vCos, pLatchNew ); Vec_PtrPush( pNtkFrames->vCos, pLatchNew );
Abc_NtkLogicStoreName( pLatchNew, Abc_ObjName(pLatch) ); Abc_NtkLogicStoreName( pLatchNew, Abc_ObjName(pLatch) );
} }
} }
Abc_NtkForEachLatch( pNtk, pLatch, i )
pLatch->pNext = NULL;
// remove dangling nodes
Abc_AigCleanup( pNtkFrames->pManFunc );
// make sure that everything is okay // make sure that everything is okay
if ( !Abc_NtkCheck( pNtkFrames ) ) if ( !Abc_NtkCheck( pNtkFrames ) )
{ {
...@@ -586,7 +592,9 @@ void Abc_NtkAddFrame( Abc_Ntk_t * pNtkFrames, Abc_Ntk_t * pNtk, int iFrame, Vec_ ...@@ -586,7 +592,9 @@ void Abc_NtkAddFrame( Abc_Ntk_t * pNtkFrames, Abc_Ntk_t * pNtk, int iFrame, Vec_
} }
// transfer the implementation of the latch drivers to the latches // transfer the implementation of the latch drivers to the latches
Abc_NtkForEachLatch( pNtk, pLatch, i ) Abc_NtkForEachLatch( pNtk, pLatch, i )
pLatch->pCopy = Abc_ObjChild0Copy(pLatch); pLatch->pNext = Abc_ObjChild0Copy(pLatch);
Abc_NtkForEachLatch( pNtk, pLatch, i )
pLatch->pCopy = pLatch->pNext;
} }
......
...@@ -144,6 +144,8 @@ pManRef->timeTotal = clock() - clkStart; ...@@ -144,6 +144,8 @@ pManRef->timeTotal = clock() - clkStart;
Abc_NtkManRefStop( pManRef ); Abc_NtkManRefStop( pManRef );
// put the nodes into the DFS order and reassign their IDs // put the nodes into the DFS order and reassign their IDs
Abc_NtkReassignIds( pNtk ); Abc_NtkReassignIds( pNtk );
Abc_AigRehash( pNtk->pManFunc );
// Abc_AigCheckFaninOrder( pNtk->pManFunc );
// fix the levels // fix the levels
if ( fUpdateLevel ) if ( fUpdateLevel )
Abc_NtkStopReverseLevels( pNtk ); Abc_NtkStopReverseLevels( pNtk );
......
...@@ -115,6 +115,8 @@ Rwr_ManAddTimeTotal( pManRwr, clock() - clkStart ); ...@@ -115,6 +115,8 @@ Rwr_ManAddTimeTotal( pManRwr, clock() - clkStart );
pNtk->pManCut = NULL; pNtk->pManCut = NULL;
// put the nodes into the DFS order and reassign their IDs // put the nodes into the DFS order and reassign their IDs
Abc_NtkReassignIds( pNtk ); Abc_NtkReassignIds( pNtk );
Abc_AigRehash( pNtk->pManFunc );
// Abc_AigCheckFaninOrder( pNtk->pManFunc );
// fix the levels // fix the levels
if ( fUpdateLevel ) if ( fUpdateLevel )
Abc_NtkStopReverseLevels( pNtk ); Abc_NtkStopReverseLevels( pNtk );
......
...@@ -52,7 +52,7 @@ int Abc_NtkMiterSat( Abc_Ntk_t * pNtk, int nSeconds, int fVerbose ) ...@@ -52,7 +52,7 @@ int Abc_NtkMiterSat( Abc_Ntk_t * pNtk, int nSeconds, int fVerbose )
assert( Abc_NtkLatchNum(pNtk) == 0 ); assert( Abc_NtkLatchNum(pNtk) == 0 );
if ( Abc_NtkPoNum(pNtk) > 1 ) if ( Abc_NtkPoNum(pNtk) > 1 )
fprintf( stdout, "Warning: The miter has more than 1 output. SAT will try to prove all of them.\n" ); fprintf( stdout, "Warning: The miter has %d outputs. SAT will try to prove all of them.\n", Abc_NtkPoNum(pNtk) );
// load clauses into the solver // load clauses into the solver
clk = clock(); clk = clock();
...@@ -65,11 +65,11 @@ int Abc_NtkMiterSat( Abc_Ntk_t * pNtk, int nSeconds, int fVerbose ) ...@@ -65,11 +65,11 @@ int Abc_NtkMiterSat( Abc_Ntk_t * pNtk, int nSeconds, int fVerbose )
status = solver_simplify(pSat); status = solver_simplify(pSat);
// printf( "Simplified the problem to %d variables and %d clauses. ", solver_nvars(pSat), solver_nclauses(pSat) ); // printf( "Simplified the problem to %d variables and %d clauses. ", solver_nvars(pSat), solver_nclauses(pSat) );
// PRT( "Time", clock() - clk ); // PRT( "Time", clock() - clk );
if ( status == l_False ) if ( status == 0 )
{ {
solver_delete( pSat ); solver_delete( pSat );
printf( "The problem is UNSATISFIABLE after simplification.\n" ); // printf( "The problem is UNSATISFIABLE after simplification.\n" );
return 0; return -1;
} }
// solve the miter // solve the miter
...@@ -146,8 +146,10 @@ solver * Abc_NtkMiterSatCreate( Abc_Ntk_t * pNtk ) ...@@ -146,8 +146,10 @@ solver * Abc_NtkMiterSatCreate( Abc_Ntk_t * pNtk )
Abc_NodeAddClauses( pSat, pSop0, pSop1, pNode, vVars ); Abc_NodeAddClauses( pSat, pSop0, pSop1, pNode, vVars );
} }
// add clauses for each PO // add clauses for each PO
Abc_NtkForEachPo( pNtk, pNode, i ) // Abc_NtkForEachPo( pNtk, pNode, i )
Abc_NodeAddClausesTop( pSat, pNode, vVars ); // Abc_NodeAddClausesTop( pSat, pNode, vVars );
Abc_NodeAddClausesTop( pSat, Abc_NtkPo(pNtk, Abc_NtkPoNum(pNtk)-1), vVars );
// delete // delete
Vec_StrFree( vCube ); Vec_StrFree( vCube );
......
...@@ -224,7 +224,7 @@ void Abc_ObjRetimeForward( Abc_Obj_t * pObj ) ...@@ -224,7 +224,7 @@ void Abc_ObjRetimeForward( Abc_Obj_t * pObj )
Init = ABC_INIT_DC; Init = ABC_INIT_DC;
// add the init values to the fanouts // add the init values to the fanouts
Abc_ObjForEachFanout( pObj, pFanout, i ) Abc_ObjForEachFanout( pObj, pFanout, i )
Abc_ObjFaninLInsertLast( pFanout, Abc_ObjEdgeNum(pFanout, pObj), Init ); Abc_ObjFaninLInsertLast( pFanout, Abc_ObjEdgeNum(pObj, pFanout), Init );
} }
/**Function************************************************************* /**Function*************************************************************
......
...@@ -73,18 +73,21 @@ Abc_Ntk_t * Abc_NtkAigToSeq( Abc_Ntk_t * pNtk ) ...@@ -73,18 +73,21 @@ Abc_Ntk_t * Abc_NtkAigToSeq( Abc_Ntk_t * pNtk )
{ {
Abc_Ntk_t * pNtkNew; Abc_Ntk_t * pNtkNew;
Vec_Ptr_t * vNodes; Vec_Ptr_t * vNodes;
Abc_Obj_t * pObj, * pFanin; Abc_Obj_t * pObj, * pFaninNew;
int i, Init, nLatches; unsigned Init;
int i, nLatches;
// make sure it is an AIG without self-feeding latches // make sure it is an AIG without self-feeding latches
assert( Abc_NtkIsStrash(pNtk) ); assert( Abc_NtkIsStrash(pNtk) );
assert( Abc_NtkCountSelfFeedLatches(pNtk) == 0 ); assert( Abc_NtkCountSelfFeedLatches(pNtk) == 0 );
// start the network // start the network
Abc_NtkCleanCopy( pNtk );
pNtkNew = Abc_NtkAlloc( ABC_NTK_SEQ, ABC_FUNC_AIG ); pNtkNew = Abc_NtkAlloc( ABC_NTK_SEQ, ABC_FUNC_AIG );
// duplicate the name and the spec // duplicate the name and the spec
pNtkNew->pName = util_strsav(pNtk->pName); pNtkNew->pName = util_strsav(pNtk->pName);
pNtkNew->pSpec = util_strsav(pNtk->pSpec); pNtkNew->pSpec = util_strsav(pNtk->pSpec);
// clone const/PIs/POs // clone const/PIs/POs
Abc_NtkDupObj(pNtkNew, Abc_AigConst1(pNtk->pManFunc) ); Abc_NtkDupObj(pNtkNew, Abc_AigConst1(pNtk->pManFunc) );
pNtkNew->nNodes -= 1;
Abc_NtkForEachPi( pNtk, pObj, i ) Abc_NtkForEachPi( pNtk, pObj, i )
Abc_NtkDupObj(pNtkNew, pObj); Abc_NtkDupObj(pNtkNew, pObj);
Abc_NtkForEachPo( pNtk, pObj, i ) Abc_NtkForEachPo( pNtk, pObj, i )
...@@ -98,8 +101,11 @@ Abc_Ntk_t * Abc_NtkAigToSeq( Abc_Ntk_t * pNtk ) ...@@ -98,8 +101,11 @@ Abc_Ntk_t * Abc_NtkAigToSeq( Abc_Ntk_t * pNtk )
vNodes = Abc_AigDfs( pNtk, 0, 0 ); vNodes = Abc_AigDfs( pNtk, 0, 0 );
Vec_PtrForEachEntry( vNodes, pObj, i ) Vec_PtrForEachEntry( vNodes, pObj, i )
{ {
if ( Abc_ObjFaninNum(pObj) != 2 )
continue;
Abc_NtkDupObj(pNtkNew, pObj); Abc_NtkDupObj(pNtkNew, pObj);
pObj->pCopy->fPhase = pObj->fPhase; // needed for choices pObj->pCopy->fPhase = pObj->fPhase; // needed for choices
pObj->pCopy->Level = pObj->Level;
} }
// relink the choice nodes // relink the choice nodes
Vec_PtrForEachEntry( vNodes, pObj, i ) Vec_PtrForEachEntry( vNodes, pObj, i )
...@@ -114,20 +120,33 @@ Abc_Ntk_t * Abc_NtkAigToSeq( Abc_Ntk_t * pNtk ) ...@@ -114,20 +120,33 @@ Abc_Ntk_t * Abc_NtkAigToSeq( Abc_Ntk_t * pNtk )
// skip the constant and the PIs // skip the constant and the PIs
if ( Abc_ObjFaninNum(pObj) == 0 ) if ( Abc_ObjFaninNum(pObj) == 0 )
continue; continue;
if ( Abc_ObjIsLatch(pObj) )
continue;
// process the first fanin // process the first fanin
pFanin = Abc_NodeAigToSeq( pObj, 0, &nLatches, &Init ); pFaninNew = Abc_NodeAigToSeq( pObj, 0, &nLatches, &Init );
Abc_ObjAddFanin( pObj->pCopy, Abc_ObjGetCopy(pFanin) ); if ( nLatches > ABC_MAX_EDGE_LATCH )
{
printf( "The number of latches on an edge (%d) exceeds the limit (%d).\n", nLatches, ABC_MAX_EDGE_LATCH );
nLatches = ABC_MAX_EDGE_LATCH;
}
Abc_ObjAddFanin( pObj->pCopy, pFaninNew );
Abc_ObjAddFaninL0( pObj->pCopy, nLatches ); Abc_ObjAddFaninL0( pObj->pCopy, nLatches );
Vec_IntWriteEntry( pNtkNew->vInits, 2 * i + 0, Init ); Vec_IntWriteEntry( pNtkNew->vInits, 2 * pObj->pCopy->Id + 0, Init );
if ( Abc_ObjFaninNum(pObj) == 1 ) if ( Abc_ObjFaninNum(pObj) == 1 )
continue; continue;
// process the second fanin // process the second fanin
pFanin = Abc_NodeAigToSeq( pObj, 1, &nLatches, &Init ); pFaninNew = Abc_NodeAigToSeq( pObj, 1, &nLatches, &Init );
Abc_ObjAddFanin( pObj->pCopy, Abc_ObjGetCopy(pFanin) ); if ( nLatches > ABC_MAX_EDGE_LATCH )
{
printf( "The number of latches on an edge (%d) exceeds the limit (%d).\n", nLatches, ABC_MAX_EDGE_LATCH );
nLatches = ABC_MAX_EDGE_LATCH;
}
Abc_ObjAddFanin( pObj->pCopy, pFaninNew );
Abc_ObjAddFaninL1( pObj->pCopy, nLatches ); Abc_ObjAddFaninL1( pObj->pCopy, nLatches );
Vec_IntWriteEntry( pNtkNew->vInits, 2 * i + 1, Init ); Vec_IntWriteEntry( pNtkNew->vInits, 2 * pObj->pCopy->Id + 1, Init );
} }
// set the cutset composed of latch drivers // set the cutset composed of latch drivers
Vec_PtrFree( pNtkNew->vLats );
pNtkNew->vLats = Abc_NtkAigCutsetCopy( pNtk ); pNtkNew->vLats = Abc_NtkAigCutsetCopy( pNtk );
// copy EXDC and check correctness // copy EXDC and check correctness
if ( pNtkNew->pExdc ) if ( pNtkNew->pExdc )
...@@ -179,21 +198,24 @@ Vec_Ptr_t * Abc_NtkAigCutsetCopy( Abc_Ntk_t * pNtk ) ...@@ -179,21 +198,24 @@ Vec_Ptr_t * Abc_NtkAigCutsetCopy( Abc_Ntk_t * pNtk )
***********************************************************************/ ***********************************************************************/
Abc_Obj_t * Abc_NodeAigToSeq( Abc_Obj_t * pObj, int Num, int * pnLatches, unsigned * pnInit ) Abc_Obj_t * Abc_NodeAigToSeq( Abc_Obj_t * pObj, int Num, int * pnLatches, unsigned * pnInit )
{ {
Abc_Obj_t * pFanin; Abc_Obj_t * pFanin, * pFaninNew;
Abc_InitType_t Init; Abc_InitType_t Init;
// get the given fanin of the node // get the given fanin of the node
pFanin = Abc_ObjFanin( pObj, Num ); pFanin = Abc_ObjFanin( pObj, Num );
// if fanin is the internal node, return its copy in the corresponding polarity
if ( !Abc_ObjIsLatch(pFanin) ) if ( !Abc_ObjIsLatch(pFanin) )
{ {
*pnLatches = 0; *pnLatches = 0;
*pnInit = 0; *pnInit = 0;
return Abc_ObjChild( pObj, Num ); return Abc_ObjNotCond( pFanin->pCopy, Abc_ObjFaninC(pObj, Num) );
} }
pFanin = Abc_NodeAigToSeq( pFanin, 0, pnLatches, pnInit ); // fanin is a latch
// get the new initial state // get the new fanins
Init = Abc_LatchInit(pObj); pFaninNew = Abc_NodeAigToSeq( pFanin, 0, pnLatches, pnInit );
// get the initial state
Init = Abc_LatchInit(pFanin);
// complement the initial state if the inv is retimed over the latch // complement the initial state if the inv is retimed over the latch
if ( Abc_ObjIsComplement(pFanin) ) if ( Abc_ObjIsComplement(pFaninNew) )
{ {
if ( Init == ABC_INIT_ZERO ) if ( Init == ABC_INIT_ZERO )
Init = ABC_INIT_ONE; Init = ABC_INIT_ONE;
...@@ -205,7 +227,7 @@ Abc_Obj_t * Abc_NodeAigToSeq( Abc_Obj_t * pObj, int Num, int * pnLatches, unsign ...@@ -205,7 +227,7 @@ Abc_Obj_t * Abc_NodeAigToSeq( Abc_Obj_t * pObj, int Num, int * pnLatches, unsign
// update the latch number and initial state // update the latch number and initial state
(*pnLatches)++; (*pnLatches)++;
(*pnInit) = ((*pnInit) << 2) | Init; (*pnInit) = ((*pnInit) << 2) | Init;
return Abc_ObjNotCond( pFanin, Abc_ObjFaninC(pObj,Num) ); return Abc_ObjNotCond( pFaninNew, Abc_ObjFaninC(pObj, Num) );
} }
...@@ -225,16 +247,24 @@ Abc_Obj_t * Abc_NodeAigToSeq( Abc_Obj_t * pObj, int Num, int * pnLatches, unsign ...@@ -225,16 +247,24 @@ Abc_Obj_t * Abc_NodeAigToSeq( Abc_Obj_t * pObj, int Num, int * pnLatches, unsign
Abc_Ntk_t * Abc_NtkSeqToLogicSop( Abc_Ntk_t * pNtk ) Abc_Ntk_t * Abc_NtkSeqToLogicSop( Abc_Ntk_t * pNtk )
{ {
Abc_Ntk_t * pNtkNew; Abc_Ntk_t * pNtkNew;
Abc_Obj_t * pObj, * pObjNew, * pFaninNew; Abc_Obj_t * pObj, * pObjNew, * pFaninNew, * pConst1;
int i, nCutNodes, nDigits; int i, nCutNodes, nDigits;
unsigned Init; unsigned Init;
int nLatchMax = 0;
assert( Abc_NtkIsSeq(pNtk) ); assert( Abc_NtkIsSeq(pNtk) );
// start the network without latches // start the network without latches
nCutNodes = pNtk->vLats->nSize; pNtk->vLats->nSize = 0; nCutNodes = pNtk->vLats->nSize; pNtk->vLats->nSize = 0;
pNtkNew = Abc_NtkStartFrom( pNtk, ABC_NTK_LOGIC, ABC_FUNC_SOP ); pNtkNew = Abc_NtkStartFrom( pNtk, ABC_NTK_LOGIC, ABC_FUNC_SOP );
pNtk->vLats->nSize = nCutNodes; pNtk->vLats->nSize = nCutNodes;
// create the constant node // create the constant node
Abc_NtkDupConst1( pNtk, pNtkNew ); // Abc_NtkDupConst1( pNtk, pNtkNew );
pConst1 = Abc_NtkObj(pNtk,0);
if ( !Abc_ObjIsNode(pConst1) )
pConst1 = NULL;
if ( pConst1 && Abc_ObjFanoutNum(pConst1) > 0 )
pConst1->pCopy = Abc_NodeCreateConst1( pNtkNew );
// duplicate the nodes, create node functions // duplicate the nodes, create node functions
Abc_NtkForEachNode( pNtk, pObj, i ) Abc_NtkForEachNode( pNtk, pObj, i )
{ {
...@@ -254,9 +284,12 @@ Abc_Ntk_t * Abc_NtkSeqToLogicSop( Abc_Ntk_t * pNtk ) ...@@ -254,9 +284,12 @@ Abc_Ntk_t * Abc_NtkSeqToLogicSop( Abc_Ntk_t * pNtk )
// connect the objects // connect the objects
Abc_NtkForEachObj( pNtk, pObj, i ) Abc_NtkForEachObj( pNtk, pObj, i )
{ {
assert( (int)pObj->Id == i );
// skip PIs and the constant // skip PIs and the constant
if ( Abc_ObjFaninNum(pObj) == 0 ) if ( Abc_ObjFaninNum(pObj) == 0 )
continue; continue;
if ( nLatchMax < Abc_ObjFaninL0(pObj) )
nLatchMax = Abc_ObjFaninL0(pObj);
// get the initial states of the latches on the fanin edge of this node // get the initial states of the latches on the fanin edge of this node
Init = Vec_IntEntry( pNtk->vInits, 2 * pObj->Id ); Init = Vec_IntEntry( pNtk->vInits, 2 * pObj->Id );
// create the edge // create the edge
...@@ -269,6 +302,8 @@ Abc_Ntk_t * Abc_NtkSeqToLogicSop( Abc_Ntk_t * pNtk ) ...@@ -269,6 +302,8 @@ Abc_Ntk_t * Abc_NtkSeqToLogicSop( Abc_Ntk_t * pNtk )
Abc_ObjSetFaninC( pObj->pCopy, 0 ); Abc_ObjSetFaninC( pObj->pCopy, 0 );
continue; continue;
} }
if ( nLatchMax < Abc_ObjFaninL0(pObj) )
nLatchMax = Abc_ObjFaninL0(pObj);
// get the initial states of the latches on the fanin edge of this node // get the initial states of the latches on the fanin edge of this node
Init = Vec_IntEntry( pNtk->vInits, 2 * pObj->Id + 1 ); Init = Vec_IntEntry( pNtk->vInits, 2 * pObj->Id + 1 );
// create the edge // create the edge
...@@ -276,6 +311,7 @@ Abc_Ntk_t * Abc_NtkSeqToLogicSop( Abc_Ntk_t * pNtk ) ...@@ -276,6 +311,7 @@ Abc_Ntk_t * Abc_NtkSeqToLogicSop( Abc_Ntk_t * pNtk )
Abc_ObjAddFanin( pObj->pCopy, pFaninNew ); Abc_ObjAddFanin( pObj->pCopy, pFaninNew );
// the complemented edges are subsumed by the node function // the complemented edges are subsumed by the node function
} }
printf( "The max edge latch num = %d.\n", nLatchMax );
// count the number of digits in the latch names // count the number of digits in the latch names
nDigits = Extra_Base10Log( Abc_NtkLatchNum(pNtkNew) ); nDigits = Extra_Base10Log( Abc_NtkLatchNum(pNtkNew) );
// add the latches and their names // add the latches and their names
...@@ -289,11 +325,8 @@ Abc_Ntk_t * Abc_NtkSeqToLogicSop( Abc_Ntk_t * pNtk ) ...@@ -289,11 +325,8 @@ Abc_Ntk_t * Abc_NtkSeqToLogicSop( Abc_Ntk_t * pNtk )
} }
// fix the problem with complemented and duplicated CO edges // fix the problem with complemented and duplicated CO edges
Abc_NtkLogicMakeSimpleCos( pNtkNew, 0 ); Abc_NtkLogicMakeSimpleCos( pNtkNew, 0 );
// duplicate the EXDC network
if ( pNtk->pExdc )
fprintf( stdout, "Warning: EXDC network is not copied.\n" );
if ( !Abc_NtkCheck( pNtkNew ) ) if ( !Abc_NtkCheck( pNtkNew ) )
fprintf( stdout, "Abc_NtkSeqToLogic(): Network check has failed.\n" ); fprintf( stdout, "Abc_NtkSeqToLogicSop(): Network check has failed.\n" );
return pNtkNew; return pNtkNew;
} }
...@@ -313,7 +346,10 @@ Abc_Obj_t * Abc_NodeSeqToLogic( Abc_Ntk_t * pNtkNew, Abc_Obj_t * pFanin, int nLa ...@@ -313,7 +346,10 @@ Abc_Obj_t * Abc_NodeSeqToLogic( Abc_Ntk_t * pNtkNew, Abc_Obj_t * pFanin, int nLa
{ {
Abc_Obj_t * pLatch; Abc_Obj_t * pLatch;
if ( nLatches == 0 ) if ( nLatches == 0 )
{
assert( pFanin->pCopy );
return pFanin->pCopy; return pFanin->pCopy;
}
pFanin = Abc_NodeSeqToLogic( pNtkNew, pFanin, nLatches - 1, Init >> 2 ); pFanin = Abc_NodeSeqToLogic( pNtkNew, pFanin, nLatches - 1, Init >> 2 );
pLatch = Abc_NtkCreateLatch( pNtkNew ); pLatch = Abc_NtkCreateLatch( pNtkNew );
pLatch->pData = (void *)(Init & 3); pLatch->pData = (void *)(Init & 3);
......
...@@ -25,7 +25,7 @@ ...@@ -25,7 +25,7 @@
//////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////
static void Abc_NodeSeqShareFanouts( Abc_Obj_t * pNode, Vec_Ptr_t * vNodes ); static void Abc_NodeSeqShareFanouts( Abc_Obj_t * pNode, Vec_Ptr_t * vNodes );
static void Abc_NodeSeqShareOne( Abc_Obj_t * pNode, int Init, Vec_Ptr_t * vNodes ); static void Abc_NodeSeqShareOne( Abc_Obj_t * pNode, Abc_InitType_t Init, Vec_Ptr_t * vNodes );
//////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////
/// FUNCTION DEFITIONS /// /// FUNCTION DEFITIONS ///
...@@ -124,6 +124,8 @@ void Abc_NodeSeqShareOne( Abc_Obj_t * pNode, Abc_InitType_t Init, Vec_Ptr_t * vN ...@@ -124,6 +124,8 @@ void Abc_NodeSeqShareOne( Abc_Obj_t * pNode, Abc_InitType_t Init, Vec_Ptr_t * vN
Vec_PtrClear( vNodes ); Vec_PtrClear( vNodes );
Abc_ObjForEachFanout( pNode, pFanout, i ) Abc_ObjForEachFanout( pNode, pFanout, i )
{ {
if ( Abc_ObjFanoutL(pNode, pFanout) == 0 )
continue;
Type = Abc_ObjFaninLGetInitLast( pFanout, Abc_ObjEdgeNum(pNode, pFanout) ); Type = Abc_ObjFaninLGetInitLast( pFanout, Abc_ObjEdgeNum(pNode, pFanout) );
if ( Type == Init ) if ( Type == Init )
InitNew = Init; InitNew = Init;
......
...@@ -76,6 +76,41 @@ int Abc_NtkSeqLatchNumShared( Abc_Ntk_t * pNtk ) ...@@ -76,6 +76,41 @@ int Abc_NtkSeqLatchNumShared( Abc_Ntk_t * pNtk )
return Counter; return Counter;
} }
/**Function*************************************************************
Synopsis [Generates the printable edge label with the initial state.]
Description []
SideEffects []
SeeAlso []
***********************************************************************/
char * Abc_ObjFaninGetInitPrintable( Abc_Obj_t * pObj, int Edge )
{
static char Buffer[ABC_MAX_EDGE_LATCH + 1];
Abc_InitType_t Init;
int nLatches, i;
nLatches = Abc_ObjFaninL( pObj, Edge );
assert( nLatches <= ABC_MAX_EDGE_LATCH );
for ( i = 0; i < nLatches; i++ )
{
Init = Abc_ObjFaninLGetInitOne( pObj, Edge, i );
if ( Init == ABC_INIT_NONE )
Buffer[i] = '_';
else if ( Init == ABC_INIT_ZERO )
Buffer[i] = '0';
else if ( Init == ABC_INIT_ONE )
Buffer[i] = '1';
else if ( Init == ABC_INIT_DC )
Buffer[i] = 'x';
else assert( 0 );
}
Buffer[nLatches] = 0;
return Buffer;
}
//////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////
/// END OF FILE /// /// END OF FILE ///
......
/**CFile****************************************************************
FileName [abc_.c]
SystemName [ABC: Logic synthesis and verification system.]
PackageName [Network and node package.]
Synopsis []
Author [Alan Mishchenko]
Affiliation [UC Berkeley]
Date [Ver. 1.0. Started - June 20, 2005.]
Revision [$Id: abc_.c,v 1.00 2005/06/20 00:00:00 alanmi Exp $]
***********************************************************************/
#include "abc.h"
////////////////////////////////////////////////////////////////////////
/// DECLARATIONS ///
////////////////////////////////////////////////////////////////////////
////////////////////////////////////////////////////////////////////////
/// FUNCTION DEFITIONS ///
////////////////////////////////////////////////////////////////////////
/**Function*************************************************************
Synopsis []
Description []
SideEffects []
SeeAlso []
***********************************************************************/
////////////////////////////////////////////////////////////////////////
/// END OF FILE ///
////////////////////////////////////////////////////////////////////////
...@@ -164,11 +164,17 @@ static inline void Abc_ObjFaninLSetInit( Abc_Obj_t * pObj, int Edge, unsigned In ...@@ -164,11 +164,17 @@ static inline void Abc_ObjFaninLSetInit( Abc_Obj_t * pObj, int Edge, unsigned In
Vec_IntWriteEntry( pObj->pNtk->vInits, 2 * pObj->Id + Edge, Init ); Vec_IntWriteEntry( pObj->pNtk->vInits, 2 * pObj->Id + Edge, Init );
} }
// getting the init value of the given latch on the edge
static inline Abc_InitType_t Abc_ObjFaninLGetInitOne( Abc_Obj_t * pObj, int Edge, int iLatch )
{
return 0x3 & (Abc_ObjFaninLGetInit(pObj, Edge) >> (2*iLatch));
}
// setting the init value of the given latch on the edge // setting the init value of the given latch on the edge
static inline void Abc_ObjFaninLSetInitOne( Abc_Obj_t * pObj, int Edge, int iLatch, Abc_InitType_t Init ) static inline void Abc_ObjFaninLSetInitOne( Abc_Obj_t * pObj, int Edge, int iLatch, Abc_InitType_t Init )
{ {
unsigned EntryCur = Abc_ObjFaninLGetInit(pObj, Edge); unsigned EntryCur = Abc_ObjFaninLGetInit(pObj, Edge);
unsigned EntryNew = (EntryCur & ~(0x3 << iLatch)) | (Init << iLatch); unsigned EntryNew = (EntryCur & ~(0x3 << (2*iLatch))) | (Init << (2*iLatch));
assert( iLatch < Abc_ObjFaninL(pObj, Edge) ); assert( iLatch < Abc_ObjFaninL(pObj, Edge) );
Abc_ObjFaninLSetInit( pObj, Edge, EntryNew ); Abc_ObjFaninLSetInit( pObj, Edge, EntryNew );
} }
...@@ -305,7 +311,7 @@ extern void Abc_NtkSeqShareFanouts( Abc_Ntk_t * pNtk ); ...@@ -305,7 +311,7 @@ extern void Abc_NtkSeqShareFanouts( Abc_Ntk_t * pNtk );
/*=== abcUtil.c ==============================================================*/ /*=== abcUtil.c ==============================================================*/
extern int Abc_NtkSeqLatchNum( Abc_Ntk_t * pNtk ); extern int Abc_NtkSeqLatchNum( Abc_Ntk_t * pNtk );
extern int Abc_NtkSeqLatchNumShared( Abc_Ntk_t * pNtk ); extern int Abc_NtkSeqLatchNumShared( Abc_Ntk_t * pNtk );
extern char * Abc_ObjFaninGetInitPrintable( Abc_Obj_t * pObj, int Edge );
//////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////
/// END OF FILE /// /// END OF FILE ///
......
...@@ -876,9 +876,9 @@ int IoCommandWriteDot( Abc_Frame_t * pAbc, int argc, char **argv ) ...@@ -876,9 +876,9 @@ int IoCommandWriteDot( Abc_Frame_t * pAbc, int argc, char **argv )
return 0; return 0;
} }
if ( !Abc_NtkIsStrash(pAbc->pNtkCur) ) if ( !Abc_NtkHasAig(pAbc->pNtkCur) )
{ {
fprintf( stdout, "IoCommandWriteDot(): Currently can only process logic networks with BDDs.\n" ); fprintf( stdout, "IoCommandWriteDot(): Currently can only process AIGs.\n" );
return 0; return 0;
} }
......
...@@ -19,6 +19,7 @@ ...@@ -19,6 +19,7 @@
***********************************************************************/ ***********************************************************************/
#include "io.h" #include "io.h"
#include "abcs.h"
//////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////
/// DECLARATIONS /// /// DECLARATIONS ///
...@@ -191,7 +192,7 @@ void Io_WriteDot( Abc_Ntk_t * pNtk, Vec_Ptr_t * vNodes, Vec_Ptr_t * vNodesShow, ...@@ -191,7 +192,7 @@ void Io_WriteDot( Abc_Ntk_t * pNtk, Vec_Ptr_t * vNodes, Vec_Ptr_t * vNodesShow,
fprintf( pFile, " rank = same;\n" ); fprintf( pFile, " rank = same;\n" );
// the labeling node of this level // the labeling node of this level
fprintf( pFile, " Level%d;\n", LevelMax ); fprintf( pFile, " Level%d;\n", LevelMax );
// generat the PO nodes // generate the PO nodes
Vec_PtrForEachEntry( vNodes, pNode, i ) Vec_PtrForEachEntry( vNodes, pNode, i )
{ {
if ( !Abc_ObjIsCo(pNode) ) if ( !Abc_ObjIsCo(pNode) )
...@@ -242,7 +243,19 @@ void Io_WriteDot( Abc_Ntk_t * pNtk, Vec_Ptr_t * vNodes, Vec_Ptr_t * vNodesShow, ...@@ -242,7 +243,19 @@ void Io_WriteDot( Abc_Ntk_t * pNtk, Vec_Ptr_t * vNodes, Vec_Ptr_t * vNodesShow,
Vec_PtrForEachEntry( vNodes, pNode, i ) Vec_PtrForEachEntry( vNodes, pNode, i )
{ {
if ( !Abc_ObjIsCi(pNode) ) if ( !Abc_ObjIsCi(pNode) )
{
// check if the costant node is present
if ( Abc_ObjFaninNum(pNode) == 0 && Abc_ObjFanoutNum(pNode) > 0 )
{
fprintf( pFile, " Node%d [label = \"Const1\"", pNode->Id );
fprintf( pFile, ", shape = ellipse" );
if ( pNode->fMarkB )
fprintf( pFile, ", style = filled" );
fprintf( pFile, ", color = coral, fillcolor = coral" );
fprintf( pFile, "];\n" );
}
continue; continue;
}
fprintf( pFile, " Node%d%s [label = \"%s%s\"", pNode->Id, fprintf( pFile, " Node%d%s [label = \"%s%s\"", pNode->Id,
(Abc_ObjIsLatch(pNode)? "_out":""), Abc_ObjName(pNode), (Abc_ObjIsLatch(pNode)? "_out":"") ); (Abc_ObjIsLatch(pNode)? "_out":""), Abc_ObjName(pNode), (Abc_ObjIsLatch(pNode)? "_out":"") );
fprintf( pFile, ", shape = %s", (Abc_ObjIsLatch(pNode)? "box":"triangle") ); fprintf( pFile, ", shape = %s", (Abc_ObjIsLatch(pNode)? "box":"triangle") );
...@@ -277,7 +290,11 @@ void Io_WriteDot( Abc_Ntk_t * pNtk, Vec_Ptr_t * vNodes, Vec_Ptr_t * vNodesShow, ...@@ -277,7 +290,11 @@ void Io_WriteDot( Abc_Ntk_t * pNtk, Vec_Ptr_t * vNodes, Vec_Ptr_t * vNodesShow,
fprintf( pFile, "Node%d%s", pNode->Id, (Abc_ObjIsLatch(pNode)? "_in":"") ); fprintf( pFile, "Node%d%s", pNode->Id, (Abc_ObjIsLatch(pNode)? "_in":"") );
fprintf( pFile, " -> " ); fprintf( pFile, " -> " );
fprintf( pFile, "Node%d%s", Abc_ObjFaninId0(pNode), (Abc_ObjIsLatch(Abc_ObjFanin0(pNode))? "_out":"") ); fprintf( pFile, "Node%d%s", Abc_ObjFaninId0(pNode), (Abc_ObjIsLatch(Abc_ObjFanin0(pNode))? "_out":"") );
fprintf( pFile, " [style = %s]", Abc_ObjFaninC0(pNode)? "dotted" : "bold" ); fprintf( pFile, " [" );
fprintf( pFile, "style = %s", Abc_ObjFaninC0(pNode)? "dotted" : "bold" );
if ( Abc_ObjFaninL0(pNode) > 0 )
fprintf( pFile, ", label = \"%s\"", Abc_ObjFaninGetInitPrintable(pNode,0) );
fprintf( pFile, "]" );
fprintf( pFile, ";\n" ); fprintf( pFile, ";\n" );
} }
if ( Abc_ObjFaninNum(pNode) == 1 ) if ( Abc_ObjFaninNum(pNode) == 1 )
...@@ -288,7 +305,11 @@ void Io_WriteDot( Abc_Ntk_t * pNtk, Vec_Ptr_t * vNodes, Vec_Ptr_t * vNodesShow, ...@@ -288,7 +305,11 @@ void Io_WriteDot( Abc_Ntk_t * pNtk, Vec_Ptr_t * vNodes, Vec_Ptr_t * vNodesShow,
fprintf( pFile, "Node%d", pNode->Id ); fprintf( pFile, "Node%d", pNode->Id );
fprintf( pFile, " -> " ); fprintf( pFile, " -> " );
fprintf( pFile, "Node%d%s", Abc_ObjFaninId1(pNode), (Abc_ObjIsLatch(Abc_ObjFanin1(pNode))? "_out":"") ); fprintf( pFile, "Node%d%s", Abc_ObjFaninId1(pNode), (Abc_ObjIsLatch(Abc_ObjFanin1(pNode))? "_out":"") );
fprintf( pFile, " [style = %s]", Abc_ObjFaninC1(pNode)? "dotted" : "bold" ); fprintf( pFile, " [" );
fprintf( pFile, "style = %s", Abc_ObjFaninC1(pNode)? "dotted" : "bold" );
if ( Abc_ObjFaninL1(pNode) > 0 )
fprintf( pFile, ", label = \"%s\"", Abc_ObjFaninGetInitPrintable(pNode,1) );
fprintf( pFile, "]" );
fprintf( pFile, ";\n" ); fprintf( pFile, ";\n" );
} }
// generate the edges between the equivalent nodes // generate the edges between the equivalent nodes
......
/**CFile****************************************************************
FileName [libSupport.c]
SystemName [ABC: Logic synthesis and verification system.]
PackageName [The main package.]
Synopsis [Support for external libaries.]
Author [Mike Case]
Affiliation [UC Berkeley]
Date [Ver. 1.0. Started - June 20, 2005.]
Revision [$Id: libSupport.c,v 1.1 2005/09/06 19:59:51 casem Exp $]
***********************************************************************/
#include "mainInt.h"
#include <stdio.h>
#include <string.h>
#ifndef WIN32
# include <sys/types.h>
# include <dirent.h>
# include <dlfcn.h>
#endif
#define MAX_LIBS 256
static void* libHandles[MAX_LIBS+1]; // will be null terminated
typedef void (*lib_init_end_func) (Abc_Frame_t * pAbc);
////////////////////////////////////////////////////////////////////////////////////////////////////
// This will find all the ABC library extensions in the current directory and load them all.
////////////////////////////////////////////////////////////////////////////////////////////////////
void open_libs() {
int curr_lib = 0;
#ifdef WIN32
printf("Warning: open_libs WIN32 not implemented.\n");
#else
DIR* dirp;
struct dirent* dp;
dirp = opendir(".");
while ((dp = readdir(dirp)) != NULL) {
if ((strncmp("libabc_", dp->d_name, 7) == 0) &&
(strcmp(".so", dp->d_name + strlen(dp->d_name) - 3) == 0)) {
// make sure we don't overflow the handle array
if (curr_lib >= MAX_LIBS) {
printf("Warning: maximum number of ABC libraries (%d) exceeded. Not loading %s.\n",
MAX_LIBS,
dp->d_name);
}
// attempt to load it
else {
char* szPrefixed = malloc((strlen(dp->d_name) + 3) * sizeof(char));
strcpy(szPrefixed, "./");
strcat(szPrefixed, dp->d_name);
libHandles[curr_lib] = dlopen(szPrefixed, RTLD_NOW | RTLD_LOCAL);
// did the load succeed?
if (libHandles[curr_lib] != 0) {
printf("Loaded ABC library: %s (Abc library extension #%d)\n", szPrefixed, curr_lib);
curr_lib++;
} else {
printf("Warning: failed to load ABC library %s:\n\t%s\n", szPrefixed, dlerror());
}
free(szPrefixed);
}
}
}
closedir(dirp);
#endif
// null terminate the list of handles
libHandles[curr_lib] = 0;
}
////////////////////////////////////////////////////////////////////////////////////////////////////
// This will close all open ABC library extensions
////////////////////////////////////////////////////////////////////////////////////////////////////
void close_libs() {
#ifdef WIN32
printf("Warning: close_libs WIN32 not implemented.\n");
#else
int i;
for (i = 0; libHandles[i] != 0; i++) {
if (dlclose(libHandles[i]) != 0) {
printf("Warning: failed to close library %d\n", i);
}
libHandles[i] = 0;
}
#endif
}
////////////////////////////////////////////////////////////////////////////////////////////////////
// This will get a pointer to a function inside of an open library
////////////////////////////////////////////////////////////////////////////////////////////////////
void* get_fnct_ptr(int lib_num, char* sym_name) {
#ifdef WIN32
printf("Warning: get_fnct_ptr WIN32 not implemented.\n");
return 0;
#else
return dlsym(libHandles[lib_num], sym_name);
#endif
}
////////////////////////////////////////////////////////////////////////////////////////////////////
// This will call an initialization function in every open library.
////////////////////////////////////////////////////////////////////////////////////////////////////
void call_inits(Abc_Frame_t* pAbc) {
int i;
lib_init_end_func init_func;
for (i = 0; libHandles[i] != 0; i++) {
init_func = (lib_init_end_func) get_fnct_ptr(i, "abc_init");
if (init_func == 0) {
printf("Warning: Failed to initialize library %d.\n", i);
} else {
(*init_func)(pAbc);
}
}
}
////////////////////////////////////////////////////////////////////////////////////////////////////
// This will call a shutdown function in every open library.
////////////////////////////////////////////////////////////////////////////////////////////////////
void call_ends(Abc_Frame_t* pAbc) {
int i;
lib_init_end_func end_func;
for (i = 0; libHandles[i] != 0; i++) {
end_func = (lib_init_end_func) get_fnct_ptr(i, "abc_end");
if (end_func == 0) {
printf("Warning: Failed to end library %d.\n", i);
} else {
(*end_func)(pAbc);
}
}
}
void Libs_Init(Abc_Frame_t * pAbc)
{
open_libs();
call_inits(pAbc);
}
void Libs_End(Abc_Frame_t * pAbc)
{
call_ends(pAbc);
// It's good practice to close our libraries at this point, but this can mess up any backtrace printed by Valgind.
// close_libs();
}
////////////////////////////////////////////////////////////////////////
/// END OF FILE ///
////////////////////////////////////////////////////////////////////////
...@@ -216,7 +216,7 @@ int main( int argc, char * argv[] ) ...@@ -216,7 +216,7 @@ int main( int argc, char * argv[] )
} }
// if the memory should be freed, quit packages // if the memory should be freed, quit packages
if ( fStatus == -2 ) if ( fStatus < 0 )
{ {
// perform uninitializations // perform uninitializations
Abc_FrameEnd( pAbc ); Abc_FrameEnd( pAbc );
......
...@@ -14,7 +14,7 @@ ...@@ -14,7 +14,7 @@
Date [Ver. 1.0. Started - June 20, 2005.] Date [Ver. 1.0. Started - June 20, 2005.]
Revision [$Id: mainInit.c,v 1.00 2005/06/20 00:00:00 alanmi Exp $] Revision [$Id: mainInit.c,v 1.3 2005/09/14 22:53:37 casem Exp $]
***********************************************************************/ ***********************************************************************/
...@@ -38,6 +38,8 @@ extern void Mio_Init( Abc_Frame_t * pAbc ); ...@@ -38,6 +38,8 @@ extern void Mio_Init( Abc_Frame_t * pAbc );
extern void Mio_End ( Abc_Frame_t * pAbc ); extern void Mio_End ( Abc_Frame_t * pAbc );
extern void Super_Init( Abc_Frame_t * pAbc ); extern void Super_Init( Abc_Frame_t * pAbc );
extern void Super_End ( Abc_Frame_t * pAbc ); extern void Super_End ( Abc_Frame_t * pAbc );
extern void Libs_Init(Abc_Frame_t * pAbc);
extern void Libs_End(Abc_Frame_t * pAbc);
//////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////
/// FUNCTION DEFITIONS /// /// FUNCTION DEFITIONS ///
...@@ -63,6 +65,7 @@ void Abc_FrameInit( Abc_Frame_t * pAbc ) ...@@ -63,6 +65,7 @@ void Abc_FrameInit( Abc_Frame_t * pAbc )
Map_Init( pAbc ); Map_Init( pAbc );
Mio_Init( pAbc ); Mio_Init( pAbc );
Super_Init( pAbc ); Super_Init( pAbc );
Libs_Init( pAbc );
} }
...@@ -86,6 +89,7 @@ void Abc_FrameEnd( Abc_Frame_t * pAbc ) ...@@ -86,6 +89,7 @@ void Abc_FrameEnd( Abc_Frame_t * pAbc )
Map_End( pAbc ); Map_End( pAbc );
Mio_End( pAbc ); Mio_End( pAbc );
Super_End( pAbc ); Super_End( pAbc );
Libs_End( pAbc );
} }
......
SRC += src/base/main/main.c \ SRC += src/base/main/main.c \
src/base/main/mainFrame.c \ src/base/main/mainFrame.c \
src/base/main/mainInit.c \ src/base/main/mainInit.c \
src/base/main/mainUtils.c src/base/main/mainUtils.c \
src/base/main/libSupport.c
...@@ -1255,7 +1255,7 @@ EXIT: ...@@ -1255,7 +1255,7 @@ EXIT:
s_CacheEntries++; s_CacheEntries++;
#if 0 /*
if ( dsdKernelVerifyDecomposition(dd, pThis) == 0 ) if ( dsdKernelVerifyDecomposition(dd, pThis) == 0 )
{ {
// write the function, for which verification does not work // write the function, for which verification does not work
...@@ -1277,7 +1277,7 @@ EXIT: ...@@ -1277,7 +1277,7 @@ EXIT:
cuddWriteFunctionSop( stdout, dd, zNewFunc, -1, dd->size, "1", s_pVarMask ); cuddWriteFunctionSop( stdout, dd, zNewFunc, -1, dd->size, "1", s_pVarMask );
Cudd_RecursiveDerefZdd( dd, zNewFunc ); Cudd_RecursiveDerefZdd( dd, zNewFunc );
} }
#endif */
} }
......
...@@ -75,6 +75,7 @@ Pga_Man_t * Pga_ManStart( Pga_Params_t * pParams ) ...@@ -75,6 +75,7 @@ Pga_Man_t * Pga_ManStart( Pga_Params_t * pParams )
{ {
printf( "The nodes of the network are not DFS ordered.\n" ); printf( "The nodes of the network are not DFS ordered.\n" );
// Abc_NtkReassignIds( pNtk ); // Abc_NtkReassignIds( pNtk );
// Abc_AigRehash( pNtk->pManFunc );
return NULL; return NULL;
} }
// make sure there are no dangling nodes (unless they are choices) // make sure there are no dangling nodes (unless they are choices)
......
...@@ -50,13 +50,13 @@ struct Vec_Vec_t_ ...@@ -50,13 +50,13 @@ struct Vec_Vec_t_
// iterators through levels // iterators through levels
#define Vec_VecForEachLevel( vGlob, vVec, i ) \ #define Vec_VecForEachLevel( vGlob, vVec, i ) \
for ( i = 0; (i < Vec_VecSize(vGlob)) && (((vVec) = Vec_VecEntry(vGlob, i)), 1); i++ ) for ( i = 0; (i < Vec_VecSize(vGlob)) && (((vVec) = (Vec_Ptr_t*)Vec_VecEntry(vGlob, i)), 1); i++ )
#define Vec_VecForEachLevelStart( vGlob, vVec, i, LevelStart ) \ #define Vec_VecForEachLevelStart( vGlob, vVec, i, LevelStart ) \
for ( i = LevelStart; (i < Vec_VecSize(vGlob)) && (((vVec) = Vec_VecEntry(vGlob, i)), 1); i++ ) for ( i = LevelStart; (i < Vec_VecSize(vGlob)) && (((vVec) = (Vec_Ptr_t*)Vec_VecEntry(vGlob, i)), 1); i++ )
#define Vec_VecForEachLevelStartStop( vGlob, vVec, i, LevelStart, LevelStop ) \ #define Vec_VecForEachLevelStartStop( vGlob, vVec, i, LevelStart, LevelStop ) \
for ( i = LevelStart; (i <= LevelStop) && (((vVec) = Vec_VecEntry(vGlob, i)), 1); i++ ) for ( i = LevelStart; (i <= LevelStop) && (((vVec) = (Vec_Ptr_t*)Vec_VecEntry(vGlob, i)), 1); i++ )
#define Vec_VecForEachLevelReverse( vGlob, vVec, i ) \ #define Vec_VecForEachLevelReverse( vGlob, vVec, i ) \
for ( i = Vec_VecSize(vGlob) - 1; (i >= 0) && (((vVec) = Vec_VecEntry(vGlob, i)), 1); i-- ) for ( i = Vec_VecSize(vGlob) - 1; (i >= 0) && (((vVec) = (Vec_Ptr_t*)Vec_VecEntry(vGlob, i)), 1); i-- )
// iteratores through entries // iteratores through entries
#define Vec_VecForEachEntry( vGlob, pEntry, i, k ) \ #define Vec_VecForEachEntry( vGlob, pEntry, i, k ) \
...@@ -234,7 +234,7 @@ static inline void Vec_VecPush( Vec_Vec_t * p, int Level, void * Entry ) ...@@ -234,7 +234,7 @@ static inline void Vec_VecPush( Vec_Vec_t * p, int Level, void * Entry )
p->pArray[i] = Vec_PtrAlloc( 0 ); p->pArray[i] = Vec_PtrAlloc( 0 );
p->nSize = Level + 1; p->nSize = Level + 1;
} }
Vec_PtrPush( p->pArray[Level], Entry ); Vec_PtrPush( (Vec_Ptr_t*)p->pArray[Level], Entry );
} }
/**Function************************************************************* /**Function*************************************************************
...@@ -253,7 +253,7 @@ static inline void Vec_VecPushUnique( Vec_Vec_t * p, int Level, void * Entry ) ...@@ -253,7 +253,7 @@ static inline void Vec_VecPushUnique( Vec_Vec_t * p, int Level, void * Entry )
if ( p->nSize < Level + 1 ) if ( p->nSize < Level + 1 )
Vec_VecPush( p, Level, Entry ); Vec_VecPush( p, Level, Entry );
else else
Vec_PtrPushUnique( p->pArray[Level], Entry ); Vec_PtrPushUnique( (Vec_Ptr_t*)p->pArray[Level], Entry );
} }
//////////////////////////////////////////////////////////////////////// ////////////////////////////////////////////////////////////////////////
......
...@@ -317,11 +317,11 @@ static void clause_remove(solver* s, clause* c) ...@@ -317,11 +317,11 @@ static void clause_remove(solver* s, clause* c)
vec_remove(solver_read_wlist(s,neg(lits[1])),(void*)(clause_size(c) > 2 ? c : clause_from_lit(lits[0]))); vec_remove(solver_read_wlist(s,neg(lits[1])),(void*)(clause_size(c) > 2 ? c : clause_from_lit(lits[0])));
if (clause_learnt(c)){ if (clause_learnt(c)){
s->stats.learnts--; s->solver_stats.learnts--;
s->stats.learnts_literals -= clause_size(c); s->solver_stats.learnts_literals -= clause_size(c);
}else{ }else{
s->stats.clauses--; s->solver_stats.clauses--;
s->stats.clauses_literals -= clause_size(c); s->solver_stats.clauses_literals -= clause_size(c);
} }
free(c); free(c);
...@@ -409,7 +409,7 @@ static inline bool enqueue(solver* s, lit l, clause* from) ...@@ -409,7 +409,7 @@ static inline bool enqueue(solver* s, lit l, clause* from)
s->trail[s->qtail++] = l; s->trail[s->qtail++] = l;
order_assigned(s, v); order_assigned(s, v);
return true; return 1;
} }
} }
...@@ -465,8 +465,8 @@ static void solver_record(solver* s, vec* cls) ...@@ -465,8 +465,8 @@ static void solver_record(solver* s, vec* cls)
if (c != 0) { if (c != 0) {
vec_push(&s->learnts,(void*)c); vec_push(&s->learnts,(void*)c);
act_clause_bump(s,c); act_clause_bump(s,c);
s->stats.learnts++; s->solver_stats.learnts++;
s->stats.learnts_literals += vec_size(cls); s->solver_stats.learnts_literals += vec_size(cls);
} }
} }
...@@ -521,7 +521,7 @@ static bool solver_lit_removable(solver* s, lit l, int minl) ...@@ -521,7 +521,7 @@ static bool solver_lit_removable(solver* s, lit l, int minl)
for (j = top; j < vec_size(&s->tagged); j++) for (j = top; j < vec_size(&s->tagged); j++)
tags[tagged[j]] = l_Undef; tags[tagged[j]] = l_Undef;
vec_resize(&s->tagged,top); vec_resize(&s->tagged,top);
return false; return 0;
} }
} }
}else{ }else{
...@@ -541,14 +541,14 @@ static bool solver_lit_removable(solver* s, lit l, int minl) ...@@ -541,14 +541,14 @@ static bool solver_lit_removable(solver* s, lit l, int minl)
for (j = top; j < vec_size(&s->tagged); j++) for (j = top; j < vec_size(&s->tagged); j++)
tags[tagged[j]] = l_Undef; tags[tagged[j]] = l_Undef;
vec_resize(&s->tagged,top); vec_resize(&s->tagged,top);
return false; return 0;
} }
} }
} }
} }
} }
return true; return 1;
} }
static void solver_analyze(solver* s, clause* c, vec* learnt) static void solver_analyze(solver* s, clause* c, vec* learnt)
...@@ -627,9 +627,9 @@ static void solver_analyze(solver* s, clause* c, vec* learnt) ...@@ -627,9 +627,9 @@ static void solver_analyze(solver* s, clause* c, vec* learnt)
} }
// update size of learnt + statistics // update size of learnt + statistics
s->stats.max_literals += vec_size(learnt); s->solver_stats.max_literals += vec_size(learnt);
vec_resize(learnt,j); vec_resize(learnt,j);
s->stats.tot_literals += j; s->solver_stats.tot_literals += j;
// clear tags // clear tags
tagged = (int*)vec_begin(&s->tagged); tagged = (int*)vec_begin(&s->tagged);
...@@ -684,7 +684,7 @@ clause* solver_propagate(solver* s) ...@@ -684,7 +684,7 @@ clause* solver_propagate(solver* s)
clause **end = begin + vec_size(ws); clause **end = begin + vec_size(ws);
clause **i, **j; clause **i, **j;
s->stats.propagations++; s->solver_stats.propagations++;
s->simpdb_props--; s->simpdb_props--;
//printf("checking lit %d: "L_LIT"\n", vec_size(ws), L_lit(p)); //printf("checking lit %d: "L_LIT"\n", vec_size(ws), L_lit(p));
...@@ -746,7 +746,7 @@ clause* solver_propagate(solver* s) ...@@ -746,7 +746,7 @@ clause* solver_propagate(solver* s)
i++; i++;
} }
s->stats.inspects += j - (clause**)vec_begin(ws); s->solver_stats.inspects += j - (clause**)vec_begin(ws);
vec_resize(ws,j - (clause**)vec_begin(ws)); vec_resize(ws,j - (clause**)vec_begin(ws));
} }
...@@ -796,7 +796,7 @@ static lbool solver_search(solver* s, int nof_conflicts, int nof_learnts) ...@@ -796,7 +796,7 @@ static lbool solver_search(solver* s, int nof_conflicts, int nof_learnts)
assert(s->root_level == solver_dlevel(s)); assert(s->root_level == solver_dlevel(s));
s->stats.starts++; s->solver_stats.starts++;
s->var_decay = (float)(1 / var_decay ); s->var_decay = (float)(1 / var_decay );
s->cla_decay = (float)(1 / clause_decay); s->cla_decay = (float)(1 / clause_decay);
vec_resize(&s->model,0); vec_resize(&s->model,0);
...@@ -811,7 +811,7 @@ static lbool solver_search(solver* s, int nof_conflicts, int nof_learnts) ...@@ -811,7 +811,7 @@ static lbool solver_search(solver* s, int nof_conflicts, int nof_learnts)
#ifdef VERBOSEDEBUG #ifdef VERBOSEDEBUG
printf(L_IND"**CONFLICT**\n", L_ind); printf(L_IND"**CONFLICT**\n", L_ind);
#endif #endif
s->stats.conflicts++; conflictC++; s->solver_stats.conflicts++; conflictC++;
if (solver_dlevel(s) == s->root_level){ if (solver_dlevel(s) == s->root_level){
vec_delete(&learnt_clause); vec_delete(&learnt_clause);
return l_False; return l_False;
...@@ -845,7 +845,7 @@ static lbool solver_search(solver* s, int nof_conflicts, int nof_learnts) ...@@ -845,7 +845,7 @@ static lbool solver_search(solver* s, int nof_conflicts, int nof_learnts)
solver_reducedb(s); solver_reducedb(s);
// New variable decision: // New variable decision:
s->stats.decisions++; s->solver_stats.decisions++;
next = order_select(s,(float)random_var_freq); next = order_select(s,(float)random_var_freq);
if (next == var_Undef){ if (next == var_Undef){
...@@ -910,17 +910,17 @@ solver* solver_new(void) ...@@ -910,17 +910,17 @@ solver* solver_new(void)
s->binary->size_learnt = (2 << 1); s->binary->size_learnt = (2 << 1);
s->verbosity = 0; s->verbosity = 0;
s->stats.starts = 0; s->solver_stats.starts = 0;
s->stats.decisions = 0; s->solver_stats.decisions = 0;
s->stats.propagations = 0; s->solver_stats.propagations = 0;
s->stats.inspects = 0; s->solver_stats.inspects = 0;
s->stats.conflicts = 0; s->solver_stats.conflicts = 0;
s->stats.clauses = 0; s->solver_stats.clauses = 0;
s->stats.clauses_literals = 0; s->solver_stats.clauses_literals = 0;
s->stats.learnts = 0; s->solver_stats.learnts = 0;
s->stats.learnts_literals = 0; s->solver_stats.learnts_literals = 0;
s->stats.max_literals = 0; s->solver_stats.max_literals = 0;
s->stats.tot_literals = 0; s->solver_stats.tot_literals = 0;
return s; return s;
} }
...@@ -973,7 +973,7 @@ bool solver_addclause(solver* s, lit* begin, lit* end) ...@@ -973,7 +973,7 @@ bool solver_addclause(solver* s, lit* begin, lit* end)
lbool* values; lbool* values;
lit last; lit last;
if (begin == end) return false; if (begin == end) return 0;
//printlits(begin,end); printf("\n"); //printlits(begin,end); printf("\n");
// insertion sort // insertion sort
...@@ -996,7 +996,7 @@ bool solver_addclause(solver* s, lit* begin, lit* end) ...@@ -996,7 +996,7 @@ bool solver_addclause(solver* s, lit* begin, lit* end)
//printf("lit: "L_LIT", value = %d\n", L_lit(*i), (lit_sign(*i) ? -values[lit_var(*i)] : values[lit_var(*i)])); //printf("lit: "L_LIT", value = %d\n", L_lit(*i), (lit_sign(*i) ? -values[lit_var(*i)] : values[lit_var(*i)]));
lbool sig = !lit_sign(*i); sig += sig - 1; lbool sig = !lit_sign(*i); sig += sig - 1;
if (*i == neg(last) || sig == values[lit_var(*i)]) if (*i == neg(last) || sig == values[lit_var(*i)])
return true; // tautology return 1; // tautology
else if (*i != last && values[lit_var(*i)] == l_Undef) else if (*i != last && values[lit_var(*i)] == l_Undef)
last = *j++ = *i; last = *j++ = *i;
} }
...@@ -1004,7 +1004,7 @@ bool solver_addclause(solver* s, lit* begin, lit* end) ...@@ -1004,7 +1004,7 @@ bool solver_addclause(solver* s, lit* begin, lit* end)
//printf("final: "); printlits(begin,j); printf("\n"); //printf("final: "); printlits(begin,j); printf("\n");
if (j == begin) // empty clause if (j == begin) // empty clause
return false; return 0;
else if (j - begin == 1) // unit clause else if (j - begin == 1) // unit clause
return enqueue(s,*begin,(clause*)0); return enqueue(s,*begin,(clause*)0);
...@@ -1012,10 +1012,10 @@ bool solver_addclause(solver* s, lit* begin, lit* end) ...@@ -1012,10 +1012,10 @@ bool solver_addclause(solver* s, lit* begin, lit* end)
vec_push(&s->clauses,clause_new(s,begin,j,0)); vec_push(&s->clauses,clause_new(s,begin,j,0));
s->stats.clauses++; s->solver_stats.clauses++;
s->stats.clauses_literals += j - begin; s->solver_stats.clauses_literals += j - begin;
return true; return 1;
} }
...@@ -1027,10 +1027,10 @@ bool solver_simplify(solver* s) ...@@ -1027,10 +1027,10 @@ bool solver_simplify(solver* s)
assert(solver_dlevel(s) == 0); assert(solver_dlevel(s) == 0);
if (solver_propagate(s) != 0) if (solver_propagate(s) != 0)
return false; return 0;
if (s->qhead == s->simpdb_assigns || s->simpdb_props > 0) if (s->qhead == s->simpdb_assigns || s->simpdb_props > 0)
return true; return 1;
reasons = s->reasons; reasons = s->reasons;
for (type = 0; type < 2; type++){ for (type = 0; type < 2; type++){
...@@ -1050,13 +1050,13 @@ bool solver_simplify(solver* s) ...@@ -1050,13 +1050,13 @@ bool solver_simplify(solver* s)
s->simpdb_assigns = s->qhead; s->simpdb_assigns = s->qhead;
// (shouldn't depend on 'stats' really, but it will do for now) // (shouldn't depend on 'stats' really, but it will do for now)
s->simpdb_props = (int)(s->stats.clauses_literals + s->stats.learnts_literals); s->simpdb_props = (int)(s->solver_stats.clauses_literals + s->solver_stats.learnts_literals);
return true; return 1;
} }
int solver_solve(solver* s, lit* begin, lit* end, int nSeconds) bool solver_solve(solver* s, lit* begin, lit* end, int nSeconds)
{ {
double nof_conflicts = 100; double nof_conflicts = 100;
double nof_learnts = solver_nclauses(s) / 3; double nof_learnts = solver_nclauses(s) / 3;
...@@ -1068,7 +1068,7 @@ int solver_solve(solver* s, lit* begin, lit* end, int nSeconds) ...@@ -1068,7 +1068,7 @@ int solver_solve(solver* s, lit* begin, lit* end, int nSeconds)
for (i = begin; i < end; i++) for (i = begin; i < end; i++)
if ((lit_sign(*i) ? -values[lit_var(*i)] : values[lit_var(*i)]) == l_False || (assume(s,*i), solver_propagate(s) != 0)){ if ((lit_sign(*i) ? -values[lit_var(*i)] : values[lit_var(*i)]) == l_False || (assume(s,*i), solver_propagate(s) != 0)){
solver_canceluntil(s,0); solver_canceluntil(s,0);
return false; } return l_False; }
s->root_level = solver_dlevel(s); s->root_level = solver_dlevel(s);
...@@ -1080,17 +1080,17 @@ int solver_solve(solver* s, lit* begin, lit* end, int nSeconds) ...@@ -1080,17 +1080,17 @@ int solver_solve(solver* s, lit* begin, lit* end, int nSeconds)
} }
while (status == l_Undef){ while (status == l_Undef){
double Ratio = (s->stats.learnts == 0)? 0.0 : double Ratio = (s->solver_stats.learnts == 0)? 0.0 :
s->stats.learnts_literals / (double)s->stats.learnts; s->solver_stats.learnts_literals / (double)s->solver_stats.learnts;
if (s->verbosity >= 1){ if (s->verbosity >= 1){
printf("| %9.0f | %7.0f %8.0f | %7.0f %7.0f %8.0f %7.1f | %6.3f %% |\n", printf("| %9.0f | %7.0f %8.0f | %7.0f %7.0f %8.0f %7.1f | %6.3f %% |\n",
(double)s->stats.conflicts, (double)s->solver_stats.conflicts,
(double)s->stats.clauses, (double)s->solver_stats.clauses,
(double)s->stats.clauses_literals, (double)s->solver_stats.clauses_literals,
(double)nof_learnts, (double)nof_learnts,
(double)s->stats.learnts, (double)s->solver_stats.learnts,
(double)s->stats.learnts_literals, (double)s->solver_stats.learnts_literals,
Ratio, Ratio,
s->progress_estimate*100); s->progress_estimate*100);
fflush(stdout); fflush(stdout);
......
...@@ -36,9 +36,6 @@ OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWA ...@@ -36,9 +36,6 @@ OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWA
#define bool int #define bool int
#endif #endif
static const bool true = 1;
static const bool false = 0;
typedef int lit; typedef int lit;
typedef char lbool; typedef char lbool;
...@@ -132,7 +129,7 @@ struct solver_t ...@@ -132,7 +129,7 @@ struct solver_t
double progress_estimate; double progress_estimate;
int verbosity; // Verbosity level. 0=silent, 1=some progress report, 2=everything int verbosity; // Verbosity level. 0=silent, 1=some progress report, 2=everything
stats stats; stats solver_stats;
}; };
#endif #endif
...@@ -123,12 +123,15 @@ void Fraig_ManProveMiter( Fraig_Man_t * p ) ...@@ -123,12 +123,15 @@ void Fraig_ManProveMiter( Fraig_Man_t * p )
int Fraig_ManCheckMiter( Fraig_Man_t * p ) int Fraig_ManCheckMiter( Fraig_Man_t * p )
{ {
Fraig_Node_t * pNode; Fraig_Node_t * pNode;
int i;
FREE( p->pModel ); FREE( p->pModel );
for ( i = 0; i < p->vOutputs->nSize; i++ )
{
// get the output node (it can be complemented!) // get the output node (it can be complemented!)
pNode = p->vOutputs->pArray[0]; pNode = p->vOutputs->pArray[i];
// if the miter is constant 0, the problem is UNSAT // if the miter is constant 0, the problem is UNSAT
if ( pNode == Fraig_Not(p->pConst1) ) if ( pNode == Fraig_Not(p->pConst1) )
return 1; continue;
// consider the special case when the miter is constant 1 // consider the special case when the miter is constant 1
if ( pNode == p->pConst1 ) if ( pNode == p->pConst1 )
{ {
...@@ -142,7 +145,10 @@ int Fraig_ManCheckMiter( Fraig_Man_t * p ) ...@@ -142,7 +145,10 @@ int Fraig_ManCheckMiter( Fraig_Man_t * p )
// if the model is not found, return undecided // if the model is not found, return undecided
if ( p->pModel == NULL ) if ( p->pModel == NULL )
return -1; return -1;
else
return 0; return 0;
}
return 1;
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment