2014-11-06 22:53:01 +00:00
|
|
|
// -*- mode: C++; c-file-style: "cc-mode" -*-
|
|
|
|
//
|
|
|
|
// DESCRIPTION: Verilator: Verilog Test module
|
|
|
|
//
|
|
|
|
// This file ONLY is placed into the Public Domain, for any use,
|
|
|
|
// without warranty, 2006 by Wilson Snyder.
|
|
|
|
|
|
|
|
#include <verilated.h>
|
|
|
|
#include "Vt_param_public.h"
|
|
|
|
|
|
|
|
#include "Vt_param_public_p.h"
|
|
|
|
|
2018-08-25 13:52:45 +00:00
|
|
|
int main(int argc, char *argv[]) {
|
2014-11-06 22:53:01 +00:00
|
|
|
Vt_param_public *topp = new Vt_param_public;
|
|
|
|
|
|
|
|
Verilated::debug(0);
|
|
|
|
|
|
|
|
// Make sure public tag worked
|
2018-02-01 00:27:42 +00:00
|
|
|
if (static_cast<int>(Vt_param_public_p::INPACK) != 0) {}
|
2014-11-06 22:53:01 +00:00
|
|
|
|
|
|
|
for (int i = 0; i < 10; i++) {
|
2018-10-27 14:03:28 +00:00
|
|
|
topp->eval();
|
2014-11-06 22:53:01 +00:00
|
|
|
}
|
|
|
|
}
|