mirror of
https://github.com/verilator/verilator.git
synced 2025-01-07 15:17:36 +00:00
34 lines
604 B
C++
34 lines
604 B
C++
// -*- mode: C++; c-file-style: "cc-mode" -*-
|
|
//
|
|
// This file ONLY is placed into the Public Domain, for any use,
|
|
// without warranty.
|
|
|
|
#include VM_PREFIX_INCLUDE
|
|
|
|
VM_PREFIX* tb = NULL;
|
|
bool pass = true;
|
|
|
|
double sc_time_stamp() {
|
|
return 0;
|
|
}
|
|
|
|
#ifdef SYSTEMC_VERSION
|
|
int sc_main(int, char**)
|
|
#else
|
|
int main()
|
|
#endif
|
|
{
|
|
Verilated::debug(0);
|
|
tb = new VM_PREFIX("tb");
|
|
|
|
// Just a constructor test
|
|
bool pass = true;
|
|
|
|
if (pass) {
|
|
VL_PRINTF("*-* All Finished *-*\n");
|
|
} else {
|
|
vl_fatal(__FILE__,__LINE__,"top", "Unexpected results from test\n");
|
|
}
|
|
return 0;
|
|
}
|