1
0

fix clang support for emulator-debug

This commit is contained in:
Scott Beamer 2016-09-14 11:36:47 -07:00 committed by Andrew Waterman
parent 565444c40e
commit cd12fd1cbb

View File

@ -98,14 +98,14 @@ int main(int argc, char** argv)
#if VM_TRACE
bool dump = tfp && trace_count >= start;
if (dump)
tfp->dump(trace_count * 2);
tfp->dump(static_cast<vluint64_t>(trace_count * 2));
#endif
tile->clk = 1;
tile->eval();
#if VM_TRACE
if (dump)
tfp->dump(trace_count * 2 + 1);
tfp->dump(static_cast<vluint64_t>(trace_count * 2 + 1));
#endif
trace_count++;
}