tinydir_file file;
dylib_ref lib;
int (*litex_sim_ext_module_init)(int (*reg)(struct ext_module_s *));
- char name[100];
+ char name[300];
if (tinydir_open(&dir, "./modules/") == -1)
{
ret = RC_ERROR;
if(!first || !name || !found)
{
ret = RC_INVARG;
- eprintf("Invalid first:%s arg:%s found:%p\n", first, name, found);
+ eprintf("Invalid first:%s arg:%s found:%p\n", first->module->name, name, found);
goto out;
}
if(!first || !name || !found)
{
ret = RC_INVARG;
- eprintf("Invalid first:%s arg:%s found:%p\n", first, name, found);
+ eprintf("Invalid first:%s arg:%s found:%p\n", first->name, name, found);
goto out;
}
void litex_sim_init_tracer(void *vdut);
void litex_sim_tracer_dump();
int litex_sim_got_finish();
+void litex_sim_init_cmdargs(int argc, char *argv[]);
#if VM_COVERAGE
void litex_sim_coverage_dump();
#endif