process value changeas inside dumpvars and start time 0
This commit is contained in:
parent
5abcb9df7b
commit
a7686d25c8
@ -216,8 +216,8 @@ const generate = cb => {
|
|||||||
.skipTo(enddefinitions);
|
.skipTo(enddefinitions);
|
||||||
|
|
||||||
simulation
|
simulation
|
||||||
.match([' ', '\n', '\t'], simulation)
|
.match([' ', '\n', '\t', '$dumpvars', '$end'], simulation)
|
||||||
.select(cmd('$dumpall $dumpoff $dumpon $dumpvars $comment'),
|
.select(cmd('$dumpall $dumpoff $dumpon $comment'),
|
||||||
p.invoke(p.code.store('command'), commandSpan.start(inSimulation)))
|
p.invoke(p.code.store('command'), commandSpan.start(inSimulation)))
|
||||||
.select(cmd('#'),
|
.select(cmd('#'),
|
||||||
p.invoke(p.code.store('command'), timeSpan.start(simulationTime)))
|
p.invoke(p.code.store('command'), timeSpan.start(simulationTime)))
|
||||||
|
2
vcd.c
2
vcd.c
@ -136,7 +136,7 @@ METHOD(init) {
|
|||||||
state->tmpStr2 = tmpStr2;
|
state->tmpStr2 = tmpStr2;
|
||||||
state->value = valueBuf;
|
state->value = valueBuf;
|
||||||
state->mask = maskBuf;
|
state->mask = maskBuf;
|
||||||
state->time = UINT64_MAX;
|
state->time = 0; // UINT64_MAX;
|
||||||
state->digitCount = 0;
|
state->digitCount = 0;
|
||||||
|
|
||||||
napi_value status;
|
napi_value status;
|
||||||
|
@ -120,7 +120,7 @@ int init(
|
|||||||
state->value = valueBuf;
|
state->value = valueBuf;
|
||||||
state->mask = maskBuf;
|
state->mask = maskBuf;
|
||||||
state->digitCount = 0;
|
state->digitCount = 0;
|
||||||
state->time = UINT64_MAX;
|
state->time = 0; // UINT64_MAX;
|
||||||
|
|
||||||
set_property_string("status", "declaration");
|
set_property_string("status", "declaration");
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user