2013-05-19 00:17:17 +00:00
|
|
|
// -*- mode: C++; c-file-style: "cc-mode" -*-
|
|
|
|
//
|
|
|
|
// This file ONLY is placed into the Public Domain, for any use,
|
|
|
|
// without warranty.
|
|
|
|
|
2017-10-24 23:58:52 +00:00
|
|
|
#include VM_PREFIX_INCLUDE
|
2013-05-19 00:17:17 +00:00
|
|
|
|
|
|
|
VM_PREFIX* tb = NULL;
|
|
|
|
bool pass = true;
|
|
|
|
|
|
|
|
double sc_time_stamp() {
|
|
|
|
return 0;
|
|
|
|
}
|
|
|
|
|
2018-06-20 23:01:19 +00:00
|
|
|
#ifdef SYSTEMC_VERSION
|
|
|
|
int sc_main(int, char**)
|
|
|
|
#else
|
|
|
|
int main()
|
|
|
|
#endif
|
|
|
|
{
|
2013-05-19 00:17:17 +00:00
|
|
|
Verilated::debug(0);
|
2018-08-25 13:52:45 +00:00
|
|
|
tb = new VM_PREFIX("tb");
|
2013-05-19 00:17:17 +00:00
|
|
|
|
|
|
|
// Just a constructor test
|
|
|
|
bool pass = true;
|
|
|
|
|
|
|
|
if (pass) {
|
2019-05-08 02:34:09 +00:00
|
|
|
VL_PRINTF("*-* All Finished *-*\n");
|
2013-05-19 00:17:17 +00:00
|
|
|
} else {
|
2019-05-08 02:34:09 +00:00
|
|
|
vl_fatal(__FILE__,__LINE__,"top", "Unexpected results from test\n");
|
2013-05-19 00:17:17 +00:00
|
|
|
}
|
|
|
|
return 0;
|
|
|
|
}
|