mirror of
https://github.com/Minres/RISCV-VP.git
synced 2026-11-20 10:32:18 +00:00
fixes some left-over comments and spelling in sc_main
This commit is contained in:
1 parent
d61387817a
commit
8fa4adf5bf
2 files changed
+3
-4
No files matched your search
+2
-3
@@ -42,7 +42,6 @@ jmp_buf abrt;
|
|||||||
void ABRThandler(int sig) { longjmp(abrt, sig); }
|
void ABRThandler(int sig) { longjmp(abrt, sig); }
|
||||||
|
|
||||||
int sc_main(int argc, char* argv[]) {
|
int sc_main(int argc, char* argv[]) {
|
||||||
// setenv("DBT_RISE_DISABLE_FULL_REGISTER_LIST", "1", 1);
|
|
||||||
signal(SIGINT, ABRThandler);
|
signal(SIGINT, ABRThandler);
|
||||||
signal(SIGABRT, ABRThandler);
|
signal(SIGABRT, ABRThandler);
|
||||||
signal(SIGSEGV, ABRThandler);
|
signal(SIGSEGV, ABRThandler);
|
||||||
@@ -85,7 +84,7 @@ int sc_main(int argc, char* argv[]) {
|
|||||||
SCCERR() << "Invalid parameter specification '" << p << "', should be '<param name>=<param_value>'";
|
SCCERR() << "Invalid parameter specification '" << p << "', should be '<param name>=<param_value>'";
|
||||||
}
|
}
|
||||||
///////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////
|
||||||
// rocess CLI switche and set/overwrite config from command line settings
|
// process CLI switchey and set or overwrite config from command line settings
|
||||||
///////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////
|
||||||
cfg.set_value(core_path + ".gdb_server_port", parser.get<unsigned short>("gdb-port"));
|
cfg.set_value(core_path + ".gdb_server_port", parser.get<unsigned short>("gdb-port"));
|
||||||
cfg.set_value(core_path + ".dump_ir", parser.is_set("dump-ir"));
|
cfg.set_value(core_path + ".dump_ir", parser.is_set("dump-ir"));
|
||||||
@@ -131,7 +130,7 @@ int sc_main(int argc, char* argv[]) {
|
|||||||
///////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////
|
||||||
// instantiate top level
|
// instantiate top level
|
||||||
///////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////
|
||||||
auto i_system = scc::make_unique<vp::tb>("tb");
|
vp::tb i_system{"tb"};
|
||||||
///////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////
|
||||||
// dump configuration and/or hierarchical structure if requested
|
// dump configuration and/or hierarchical structure if requested
|
||||||
///////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////
|
||||||
|
|||||||
+1
-1
Submodule vpvper updated: 3c28c0d397...ff0c92f653.
Reference in new issue
Block a user