From 00e9c3d06b590b0aac04bafddfd14115d14760f8 Mon Sep 17 00:00:00 2001 From: Alan Mishchenko Date: Tue, 25 Dec 2007 08:01:00 -0800 Subject: Version abc71225 --- src/map/fpga/fpgaCut.c | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) (limited to 'src/map/fpga/fpgaCut.c') diff --git a/src/map/fpga/fpgaCut.c b/src/map/fpga/fpgaCut.c index a5505e72..ce688179 100644 --- a/src/map/fpga/fpgaCut.c +++ b/src/map/fpga/fpgaCut.c @@ -802,6 +802,28 @@ void Fpga_CutsCleanSign( Fpga_Man_t * pMan ) pCut->uSign = 0; } +/**Function************************************************************* + + Synopsis [Clean the signatures.] + + Description [] + + SideEffects [] + + SeeAlso [] + +***********************************************************************/ +void Fpga_CutsCleanRoot( Fpga_Man_t * pMan ) +{ + Fpga_Node_t * pNode; + Fpga_Cut_t * pCut; + int i; + for ( i = 0; i < pMan->nBins; i++ ) + for ( pNode = pMan->pBins[i]; pNode; pNode = pNode->pNext ) + for ( pCut = pNode->pCuts; pCut; pCut = pCut->pNext ) + pCut->pRoot = NULL; +} + /**Function************************************************************* -- cgit v1.2.3