diff options
author | Alan Mishchenko <alanmi@berkeley.edu> | 2006-09-09 08:01:00 -0700 |
---|---|---|
committer | Alan Mishchenko <alanmi@berkeley.edu> | 2006-09-09 08:01:00 -0700 |
commit | aab0c478e4c78c6856919fcd1027583ca148f3eb (patch) | |
tree | 669ef61b062aef921bf0ae687aafdd630cd0fdc8 /src/map/fpga/fpgaCore.c | |
parent | c5c9e37a0a8cbd6fe29c3430b518b4305060fb4c (diff) | |
download | abc-aab0c478e4c78c6856919fcd1027583ca148f3eb.tar.gz abc-aab0c478e4c78c6856919fcd1027583ca148f3eb.tar.bz2 abc-aab0c478e4c78c6856919fcd1027583ca148f3eb.zip |
Version abc60909
Diffstat (limited to 'src/map/fpga/fpgaCore.c')
-rw-r--r-- | src/map/fpga/fpgaCore.c | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/map/fpga/fpgaCore.c b/src/map/fpga/fpgaCore.c index fbf33816..56facf20 100644 --- a/src/map/fpga/fpgaCore.c +++ b/src/map/fpga/fpgaCore.c @@ -24,6 +24,10 @@ static int Fpga_MappingPostProcess( Fpga_Man_t * p ); +extern int s_MappingTime; +extern int s_MappingMem; + + //////////////////////////////////////////////////////////////////////// /// FUNCTION DEFINITIONS /// //////////////////////////////////////////////////////////////////////// @@ -70,6 +74,9 @@ int Fpga_Mapping( Fpga_Man_t * p ) p->timeRecover = clock() - clk; //PRT( "Total mapping time", clock() - clkTotal ); + s_MappingTime = clock() - clkTotal; + s_MappingMem = Fpga_CutCountAll(p) * (sizeof(Fpga_Cut_t) - sizeof(int) * (FPGA_MAX_LEAVES - p->nVarsMax)); + // print the AI-graph used for mapping //Fpga_ManShow( p, "test" ); if ( p->fVerbose ) |