From 48996f7a3698a3f3f8d3d03ffba5c51e9065649d Mon Sep 17 00:00:00 2001 From: Alan Mishchenko Date: Tue, 18 Sep 2012 19:12:54 -0700 Subject: Changes to command 'upsize'. --- src/map/scl/sclMan.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/map/scl/sclMan.h') diff --git a/src/map/scl/sclMan.h b/src/map/scl/sclMan.h index 5bc254ea..23de9809 100644 --- a/src/map/scl/sclMan.h +++ b/src/map/scl/sclMan.h @@ -73,7 +73,8 @@ struct SC_Man_ /// MACRO DEFINITIONS /// //////////////////////////////////////////////////////////////////////// -static inline SC_Cell * Abc_SclObjCell( SC_Man * p, Abc_Obj_t * pObj ) { return SC_LibCell( p->pLib, Vec_IntEntry(p->vGates, Abc_ObjId(pObj)) ); } +static inline SC_Cell * Abc_SclObjCell( SC_Man * p, Abc_Obj_t * pObj ) { return SC_LibCell( p->pLib, Vec_IntEntry(p->vGates, Abc_ObjId(pObj)) ); } +static inline void Abc_SclObjSetCell( SC_Man * p, Abc_Obj_t * pObj, SC_Cell * pCell ) { Vec_IntWriteEntry( p->vGates, Abc_ObjId(pObj), pCell->Id ); } static inline SC_Pair * Abc_SclObjLoad( SC_Man * p, Abc_Obj_t * pObj ) { return p->pLoads + Abc_ObjId(pObj); } static inline SC_Pair * Abc_SclObjTime( SC_Man * p, Abc_Obj_t * pObj ) { return p->pTimes + Abc_ObjId(pObj); } -- cgit v1.2.3