From 7c3eab6eb469d4c4324fa900e0249d7ab6f0f35e Mon Sep 17 00:00:00 2001 From: Alan Mishchenko Date: Sat, 4 Apr 2015 16:01:12 +0700 Subject: Properly copying and saving the timing info in &get and &put. --- src/aig/gia/gia.h | 2 ++ src/aig/gia/giaIf.c | 2 ++ 2 files changed, 4 insertions(+) (limited to 'src/aig/gia') diff --git a/src/aig/gia/gia.h b/src/aig/gia/gia.h index 2319a82d..57b25ab0 100644 --- a/src/aig/gia/gia.h +++ b/src/aig/gia/gia.h @@ -151,6 +151,8 @@ struct Gia_Man_t_ Gia_Man_t * pAigExtra; // combinational logic of holes Vec_Flt_t * vInArrs; // PI arrival times Vec_Flt_t * vOutReqs; // PO required times + float DefInArrs; // default PI arrival times + float DefOutReqs; // default PO required times Vec_Int_t * vSwitching; // switching activity int * pTravIds; // separate traversal ID representation int nTravIdsAlloc; // the number of trav IDs allocated diff --git a/src/aig/gia/giaIf.c b/src/aig/gia/giaIf.c index 8a45701d..ba824a5e 100644 --- a/src/aig/gia/giaIf.c +++ b/src/aig/gia/giaIf.c @@ -2035,6 +2035,8 @@ void Gia_ManTransferTiming( Gia_Man_t * p, Gia_Man_t * pGia ) { p->vInArrs = pGia->vInArrs; pGia->vInArrs = NULL; p->vOutReqs = pGia->vOutReqs; pGia->vOutReqs = NULL; + p->DefInArrs = pGia->DefInArrs; + p->DefOutReqs = pGia->DefOutReqs; } if ( pGia->pManTime == NULL || p == pGia ) return; -- cgit v1.2.3