From d3407c67b189d2c338766febb3bf2c57f6f80d1d Mon Sep 17 00:00:00 2001 From: Florent Kermarrec Date: Wed, 3 Mar 2021 09:25:38 +0100 Subject: [PATCH] build/sim/core: Cast main_time to vluint64_t to avoid ambiguity error of the dump function to be used. --- litex/build/sim/core/veril.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litex/build/sim/core/veril.cpp b/litex/build/sim/core/veril.cpp index ee435d37d..2ea9a3482 100644 --- a/litex/build/sim/core/veril.cpp +++ b/litex/build/sim/core/veril.cpp @@ -72,7 +72,7 @@ extern "C" void litex_sim_tracer_dump() } if (dump_enabled && tfp_start <= main_time && main_time <= tfp_end) { - tfp->dump(main_time); + tfp->dump((vluint64_t) main_time); } }