Add cprop debugging.

This commit is contained in:
steve 2006-04-23 04:25:45 +00:00
parent 9f2e7df0ff
commit 94c9af2a5d
2 changed files with 13 additions and 2 deletions

View File

@ -19,7 +19,7 @@
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
#ifdef HAVE_CVS_IDENT
#ident "$Id: compiler.h,v 1.26.2.1 2006/04/01 01:37:24 steve Exp $"
#ident "$Id: compiler.h,v 1.26.2.2 2006/04/23 04:25:45 steve Exp $"
#endif
# include <list>
@ -85,6 +85,7 @@ extern bool debug_scopes;
extern bool debug_eval_tree;
extern bool debug_elaborate;
extern bool debug_synth;
extern bool debug_cprop;
/* Path to a directory useful for finding subcomponents. */
extern const char*basedir;
@ -137,6 +138,9 @@ extern int load_sys_func_table(const char*path);
/*
* $Log: compiler.h,v $
* Revision 1.26.2.2 2006/04/23 04:25:45 steve
* Add cprop debugging.
*
* Revision 1.26.2.1 2006/04/01 01:37:24 steve
* Add synth debug flag
*

View File

@ -19,7 +19,7 @@ const char COPYRIGHT[] =
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
*/
#ifdef HAVE_CVS_IDENT
#ident "$Id: main.cc,v 1.86.2.1 2006/04/01 01:37:24 steve Exp $"
#ident "$Id: main.cc,v 1.86.2.2 2006/04/23 04:25:45 steve Exp $"
#endif
# include "config.h"
@ -113,6 +113,7 @@ bool debug_scopes = false;
bool debug_eval_tree = false;
bool debug_elaborate = false;
bool debug_synth = false;
bool debug_cprop = false;
/*
* Verbose messages enabled.
@ -319,6 +320,9 @@ static void read_iconfig_file(const char*ipath)
} else if (strcmp(cp,"synth") == 0) {
debug_synth = true;
cerr << "debug: Enable synthesis debug" << endl;
} else if (strcmp(cp,"cprop") == 0) {
debug_cprop = true;
cerr << "debug: Enable cprop debug" << endl;
} else {
}
@ -749,6 +753,9 @@ int main(int argc, char*argv[])
/*
* $Log: main.cc,v $
* Revision 1.86.2.2 2006/04/23 04:25:45 steve
* Add cprop debugging.
*
* Revision 1.86.2.1 2006/04/01 01:37:24 steve
* Add synth debug flag
*