Verbose messages.

This commit is contained in:
steve 2002-07-24 16:21:52 +00:00
parent e2f537628f
commit 45382144c3
2 changed files with 18 additions and 8 deletions

17
main.cc
View File

@ -1,6 +1,6 @@
const char COPYRIGHT[] = const char COPYRIGHT[] =
"Copyright (c) 1998-2000 Stephen Williams (steve@icarus.com)"; "Copyright (c) 1998-2002 Stephen Williams (steve@icarus.com)";
/* /*
* This source code is free software; you can redistribute it * This source code is free software; you can redistribute it
@ -19,7 +19,7 @@ const char COPYRIGHT[] =
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/ */
#if !defined(WINNT) && !defined(macintosh) #if !defined(WINNT) && !defined(macintosh)
#ident "$Id: main.cc,v 1.61 2002/06/30 02:21:31 steve Exp $" #ident "$Id: main.cc,v 1.62 2002/07/24 16:22:19 steve Exp $"
#endif #endif
# include "config.h" # include "config.h"
@ -445,7 +445,7 @@ int main(int argc, char*argv[])
break; break;
} }
cout << endl << "PARSING INPUT ..." << endl; cout << endl << "PARSING INPUT" << endl;
} }
/* Parse the input. Make the pform. */ /* Parse the input. Make the pform. */
@ -479,7 +479,7 @@ int main(int argc, char*argv[])
map<string,bool> mentioned_p; map<string,bool> mentioned_p;
map<string,Module*>::iterator mod; map<string,Module*>::iterator mod;
if (verbose_flag) if (verbose_flag)
cout << "LOCATING TOP-LEVEL MODULES..." << endl << " "; cout << "LOCATING TOP-LEVEL MODULES" << endl << " ";
for (mod = pform_modules.begin() for (mod = pform_modules.begin()
; mod != pform_modules.end() ; mod != pform_modules.end()
; mod++) { ; mod++) {
@ -547,14 +547,14 @@ int main(int argc, char*argv[])
cerr<<" ... done, " cerr<<" ... done, "
<<cycles_diff(cycles+2, cycles+1)<<" seconds."<<endl; <<cycles_diff(cycles+2, cycles+1)<<" seconds."<<endl;
} }
cout << "RUNNING FUNCTORS ..." << endl; cout << "RUNNING FUNCTORS" << endl;
} }
while (!net_func_queue.empty()) { while (!net_func_queue.empty()) {
net_func func = net_func_queue.front(); net_func func = net_func_queue.front();
net_func_queue.pop(); net_func_queue.pop();
if (verbose_flag) if (verbose_flag)
cerr<<" -F "<<net_func_to_name(func)<<endl; cerr<<" -F "<<net_func_to_name(func)<< " ..." <<endl;
func(des); func(des);
} }
@ -573,7 +573,7 @@ int main(int argc, char*argv[])
cerr<<" ... done, " cerr<<" ... done, "
<<cycles_diff(cycles+3, cycles+2)<<" seconds."<<endl; <<cycles_diff(cycles+3, cycles+2)<<" seconds."<<endl;
} }
cout << "CODE GENERATION -t "<<target<<" ..." << endl; cout << "CODE GENERATION -t "<<target<< endl;
} }
bool emit_rc = emit(des, target); bool emit_rc = emit(des, target);
@ -596,6 +596,9 @@ int main(int argc, char*argv[])
/* /*
* $Log: main.cc,v $ * $Log: main.cc,v $
* Revision 1.62 2002/07/24 16:22:19 steve
* Verbose messages.
*
* Revision 1.61 2002/06/30 02:21:31 steve * Revision 1.61 2002/06/30 02:21:31 steve
* Add structure for asynchronous logic synthesis. * Add structure for asynchronous logic synthesis.
* *

View File

@ -17,7 +17,7 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/ */
#if !defined(WINNT) && !defined(macintosh) #if !defined(WINNT) && !defined(macintosh)
#ident "$Id: t-dll.cc,v 1.90 2002/07/22 21:07:40 steve Exp $" #ident "$Id: t-dll.cc,v 1.91 2002/07/24 16:21:52 steve Exp $"
#endif #endif
# include "config.h" # include "config.h"
@ -496,6 +496,10 @@ bool dll_target::start_design(const Design*des)
*/ */
int dll_target::end_design(const Design*) int dll_target::end_design(const Design*)
{ {
if (verbose_flag) {
cout << " ... invoking target_design" << endl;
}
int rc = (target_)(&des_); int rc = (target_)(&des_);
ivl_dlclose(dll_); ivl_dlclose(dll_);
return rc; return rc;
@ -1955,6 +1959,9 @@ extern const struct target tgt_dll = { "dll", &dll_target_obj };
/* /*
* $Log: t-dll.cc,v $ * $Log: t-dll.cc,v $
* Revision 1.91 2002/07/24 16:21:52 steve
* Verbose messages.
*
* Revision 1.90 2002/07/22 21:07:40 steve * Revision 1.90 2002/07/22 21:07:40 steve
* Set ivl_target delays for case compare logic. * Set ivl_target delays for case compare logic.
* *