Add support for setting model name and other things

This commit is contained in:
Michael Meissner
1995-11-12 14:20:39 +00:00
parent c05c182dd6
commit 28816f45f5
9 changed files with 313 additions and 71 deletions

View File

@@ -24,6 +24,7 @@
#include "psim.h"
#include "function_unit.h"
#include "options.h"
#ifdef HAVE_STDLIB_H
#include <stdlib.h>
@@ -109,7 +110,7 @@ main(int argc, char **argv)
trace_option(optarg);
break;
case 'm':
function_unit_model(optarg);
model_set(optarg);
break;
case 'i':
print_info = 1;
@@ -125,6 +126,9 @@ main(int argc, char **argv)
usage();
name_of_file = argv[optind];
if (ppc_trace[trace_opts])
print_options ();
/* create the simulator */
system = psim_create(name_of_file);