summaryrefslogtreecommitdiffstats
path: root/src/base/abci
diff options
context:
space:
mode:
authorAlan Mishchenko <alanmi@berkeley.edu>2016-07-29 16:34:47 -0700
committerAlan Mishchenko <alanmi@berkeley.edu>2016-07-29 16:34:47 -0700
commitcf91699e05606dca1f6146943e82ce04413f99a7 (patch)
tree33e712a36be3d66b003a558952f412ab88a4a8e9 /src/base/abci
parent71a051f8cd545d7fa4577dcf201025137e11c204 (diff)
downloadabc-cf91699e05606dca1f6146943e82ce04413f99a7.tar.gz
abc-cf91699e05606dca1f6146943e82ce04413f99a7.tar.bz2
abc-cf91699e05606dca1f6146943e82ce04413f99a7.zip
Infrastructure for using the results of exact SAT-based synthesis during mapping.
Diffstat (limited to 'src/base/abci')
-rw-r--r--src/base/abci/abcExact.c12
1 files changed, 7 insertions, 5 deletions
diff --git a/src/base/abci/abcExact.c b/src/base/abci/abcExact.c
index 04d2ebee..40a5a6ca 100644
--- a/src/base/abci/abcExact.c
+++ b/src/base/abci/abcExact.c
@@ -1020,13 +1020,15 @@ int Abc_ExactInputNum()
{
return 0;
}
-// this procedure takes input arrival times (pArrTimeProfile) and
-// return the output smallest possible output arrival time
-int Abc_ExactDelayCost( int nVars, word * pTruth, int * pArrTimeProfile )
+// this procedure takes TT and input arrival times (pArrTimeProfile) and return the smallest output arrival time;
+// it also returns the pin-to-pin delays (pPerm) between each cut leaf and the cut output and the cut area cost (Cost)
+// the area cost should not exceed 2048, if the cut is implementable; otherwise, it should be ABC_INFINITY
+int Abc_ExactDelayCost( word * pTruth, int nVars, int * pArrTimeProfile, char * pPerm, int * Cost )
{
- return 0;
+ *Cost = ABC_INFINITY;
+ return ABC_INFINITY;
}
-// this procedure returns a new node whose output in terms of the given fanins whose output
+// this procedure returns a new node whose output in terms of the given fanins
// has the smallest possible arrival time (in agreement with the above Abc_ExactDelayCost)
Abc_Obj_t * Abc_ExactBuildNode( word * pTruth, int nVars, int * pArrTimeProfile, Abc_Obj_t ** pFanins )
{