diff --git a/vpi/sys_fst.c b/vpi/sys_fst.c index 7c792915a..168c6755d 100644 --- a/vpi/sys_fst.c +++ b/vpi/sys_fst.c @@ -825,10 +825,10 @@ static PLI_INT32 sys_dumpvars_calltf(ICARUS_VPI_CONST PLI_BYTE8*name) } if (!depth) depth = 10000; - /* This dumps all the modules in the design if none are given. */ + /* This dumps all the instances in the design if none are given. */ if (!argv || !(item = vpi_scan(argv))) { - argv = vpi_iterate(vpiModule, 0x0); - assert(argv); /* There must be at least one top level module. */ + argv = vpi_iterate(vpiInstance, 0x0); + assert(argv); /* There must be at least one top level instance. */ item = vpi_scan(argv); } diff --git a/vpi/sys_lxt.c b/vpi/sys_lxt.c index b3b3a7768..66d66dbe7 100644 --- a/vpi/sys_lxt.c +++ b/vpi/sys_lxt.c @@ -769,10 +769,10 @@ static PLI_INT32 sys_dumpvars_calltf(ICARUS_VPI_CONST PLI_BYTE8*name) } if (!depth) depth = 10000; - /* This dumps all the modules in the design if none are given. */ + /* This dumps all the instances in the design if none are given. */ if (!argv || !(item = vpi_scan(argv))) { - argv = vpi_iterate(vpiModule, 0x0); - assert(argv); /* There must be at least one top level module. */ + argv = vpi_iterate(vpiInstance, 0x0); + assert(argv); /* There must be at least one top level instance. */ item = vpi_scan(argv); } diff --git a/vpi/sys_lxt2.c b/vpi/sys_lxt2.c index 432794626..ff470eb20 100644 --- a/vpi/sys_lxt2.c +++ b/vpi/sys_lxt2.c @@ -821,10 +821,10 @@ static PLI_INT32 sys_dumpvars_calltf(ICARUS_VPI_CONST PLI_BYTE8*name) } if (!depth) depth = 10000; - /* This dumps all the modules in the design if none are given. */ + /* This dumps all the instances in the design if none are given. */ if (!argv || !(item = vpi_scan(argv))) { - argv = vpi_iterate(vpiModule, 0x0); - assert(argv); /* There must be at least one top level module. */ + argv = vpi_iterate(vpiInstance, 0x0); + assert(argv); /* There must be at least one top level instance. */ item = vpi_scan(argv); } diff --git a/vpi/sys_vcd.c b/vpi/sys_vcd.c index ccdddc46b..3f40b1cc8 100644 --- a/vpi/sys_vcd.c +++ b/vpi/sys_vcd.c @@ -805,10 +805,10 @@ static PLI_INT32 sys_dumpvars_calltf(ICARUS_VPI_CONST PLI_BYTE8*name) } if (!depth) depth = 10000; - /* This dumps all the modules in the design if none are given. */ + /* This dumps all the instances in the design if none are given. */ if (!argv || !(item = vpi_scan(argv))) { - argv = vpi_iterate(vpiModule, 0x0); - assert(argv); /* There must be at least one top level module. */ + argv = vpi_iterate(vpiInstance, 0x0); + assert(argv); /* There must be at least one top level instance. */ item = vpi_scan(argv); }