summaryrefslogtreecommitdiffstats
path: root/src/opt
diff options
context:
space:
mode:
authorAlan Mishchenko <alanmi@berkeley.edu>2014-08-08 12:45:28 -0700
committerAlan Mishchenko <alanmi@berkeley.edu>2014-08-08 12:45:28 -0700
commit68ce0bc1c1a642495358e8e5d96e9212236a517b (patch)
treeab5264ec26d4bdc5fe0822f09061782d85f8821b /src/opt
parent35b816dd57f0ce6667f1fad7e4e37780aa6384aa (diff)
downloadabc-68ce0bc1c1a642495358e8e5d96e9212236a517b.tar.gz
abc-68ce0bc1c1a642495358e8e5d96e9212236a517b.tar.bz2
abc-68ce0bc1c1a642495358e8e5d96e9212236a517b.zip
Adding delay optimization to synthesis script &syn2.
Diffstat (limited to 'src/opt')
-rw-r--r--src/opt/dar/darLib.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/opt/dar/darLib.c b/src/opt/dar/darLib.c
index 339cd316..1a41d902 100644
--- a/src/opt/dar/darLib.c
+++ b/src/opt/dar/darLib.c
@@ -593,6 +593,8 @@ Dar_Lib_t * Dar_LibRead()
void Dar_LibStart()
{
// abctime clk = Abc_Clock();
+ if ( s_DarLib != NULL )
+ return;
assert( s_DarLib == NULL );
s_DarLib = Dar_LibRead();
// printf( "The 4-input library started with %d nodes and %d subgraphs. ", s_DarLib->nObjs - 4, s_DarLib->nSubgrTotal );