mirror of
https://github.com/Polprzewodnikowy/SummerCart64.git
synced 2024-12-27 13:31:53 +01:00
19 lines
286 B
C++
19 lines
286 B
C++
#include "Vtestbench.h"
|
|
#include "verilated.h"
|
|
|
|
int main(int argc, char **argv, char **env)
|
|
{
|
|
Verilated::commandArgs(argc, argv);
|
|
Vtestbench* top = new Vtestbench;
|
|
|
|
top->clk = 0;
|
|
while (!Verilated::gotFinish()) {
|
|
top->clk = !top->clk;
|
|
top->eval();
|
|
}
|
|
|
|
delete top;
|
|
exit(0);
|
|
}
|
|
|