diff --git a/test_regress/t/t_force_mid.cpp b/test_regress/t/t_force_mid.cpp index 5afb7e5a3..ca91e6179 100644 --- a/test_regress/t/t_force_mid.cpp +++ b/test_regress/t/t_force_mid.cpp @@ -10,10 +10,12 @@ // OS header #include "verilatedos.h" // Generated header -#include "Vt_force_mid.h" +#include VM_PREFIX_INCLUDE // General headers #include "verilated.h" -std::unique_ptr topp; + +std::unique_ptr topp; + int main(int argc, char** argv) { uint64_t sim_time = 1100; const std::unique_ptr contextp{new VerilatedContext}; diff --git a/test_regress/t/t_tri_top_en_out.cpp b/test_regress/t/t_tri_top_en_out.cpp index 39735e8e0..9035ce61e 100644 --- a/test_regress/t/t_tri_top_en_out.cpp +++ b/test_regress/t/t_tri_top_en_out.cpp @@ -7,7 +7,7 @@ #include "verilated.h" #include "TestCheck.h" -#include "Vt_tri_top_en_out.h" +#include VM_PREFIX_INCLUDE #include @@ -18,7 +18,7 @@ int main(int argc, char** argv, char**) { const std::unique_ptr contextp{new VerilatedContext}; contextp->commandArgs(argc, argv); // Construct the Verilated model, from Vtop.h generated from Verilating - const std::unique_ptr topp{new Vt_tri_top_en_out{contextp.get()}}; + const std::unique_ptr topp{new VM_PREFIX{contextp.get()}}; // Initial input topp->drv_en = 0;