initialize vlog info.
This commit is contained in:
parent
d86b37d90f
commit
3ae76a8638
10
t-vvm.cc
10
t-vvm.cc
|
|
@ -17,7 +17,7 @@
|
|||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
|
||||
*/
|
||||
#if !defined(WINNT) && !defined(macintosh)
|
||||
#ident "$Id: t-vvm.cc,v 1.171 2000/09/03 17:58:14 steve Exp $"
|
||||
#ident "$Id: t-vvm.cc,v 1.172 2000/09/08 17:08:10 steve Exp $"
|
||||
#endif
|
||||
|
||||
# include <iostream>
|
||||
|
|
@ -1055,7 +1055,10 @@ void target_vvm::end_design(const Design*mod)
|
|||
out << "// **** end start_code" << endl;
|
||||
|
||||
|
||||
out << "main()" << endl << "{" << endl;
|
||||
out << "main(int argc, char*argv[])" << endl << "{" << endl;
|
||||
|
||||
out << " vpip_set_vlog_info(argc, argv);" << endl;
|
||||
|
||||
string vpi_module_path = mod->get_flag("VPI_MODULE_PATH");
|
||||
if (vpi_module_path.length() > 0)
|
||||
out << " vvm_set_module_path(\"" << vpi_module_path <<
|
||||
|
|
@ -3113,6 +3116,9 @@ extern const struct target tgt_vvm = {
|
|||
};
|
||||
/*
|
||||
* $Log: t-vvm.cc,v $
|
||||
* Revision 1.172 2000/09/08 17:08:10 steve
|
||||
* initialize vlog info.
|
||||
*
|
||||
* Revision 1.171 2000/09/03 17:58:14 steve
|
||||
* Properly ignore NetAssign_ objects.
|
||||
*
|
||||
|
|
|
|||
|
|
@ -19,7 +19,7 @@
|
|||
* Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA
|
||||
*/
|
||||
#if !defined(WINNT) && !defined(macintosh)
|
||||
#ident "$Id: vpi_priv.h,v 1.23 2000/08/20 17:49:05 steve Exp $"
|
||||
#ident "$Id: vpi_priv.h,v 1.24 2000/09/08 17:08:10 steve Exp $"
|
||||
#endif
|
||||
|
||||
/*
|
||||
|
|
@ -348,6 +348,7 @@ struct vpip_simulation {
|
|||
|
||||
extern struct vpip_simulation vpip_simulation_obj;
|
||||
|
||||
extern void vpip_set_vlog_info(int argc, char**argv);
|
||||
extern void vpip_init_simulation();
|
||||
extern void vpip_time_scale(int precision);
|
||||
extern void vpip_simulation_run();
|
||||
|
|
@ -385,6 +386,9 @@ extern int vpip_finished();
|
|||
|
||||
/*
|
||||
* $Log: vpi_priv.h,v $
|
||||
* Revision 1.24 2000/09/08 17:08:10 steve
|
||||
* initialize vlog info.
|
||||
*
|
||||
* Revision 1.23 2000/08/20 17:49:05 steve
|
||||
* Clean up warnings and portability issues.
|
||||
*
|
||||
|
|
|
|||
Loading…
Reference in New Issue