diff options
Diffstat (limited to 'tb/top')
| -rw-r--r-- | tb/top/conspiracion.cpp | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/tb/top/conspiracion.cpp b/tb/top/conspiracion.cpp new file mode 100644 index 0000000..d4bdbcb --- /dev/null +++ b/tb/top/conspiracion.cpp @@ -0,0 +1,19 @@ +#include <verilated.h> +#include <cstdio> + +#include "Vconspiracion.h" + +int main(int argc, char **argv) +{ + Verilated::commandArgs(argc, argv); // Remember args + Verilated::traceEverOn(true); + + Vconspiracion top; + // Do not instead make Vtop as a file-scope static + // variable, as the "C++ static initialization order fiasco" + // may cause a crash + + top.eval(); + + top.final(); +} |
