forked from github/verilator
Tests: Cleanup false used as 0. No functional change.
This commit is contained in:
parent
e98a380b44
commit
a7bd934fe3
@ -1724,7 +1724,7 @@ sub _make_main {
|
||||
}
|
||||
$fh->print("\n");
|
||||
|
||||
print $fh " delete topp; topp=NULL;\n";
|
||||
print $fh " VL_DO_DANGLING(delete topp, topp);\n";
|
||||
print $fh " exit(0L);\n";
|
||||
print $fh "}\n";
|
||||
$fh->close();
|
||||
|
@ -8,7 +8,7 @@
|
||||
#include <verilated.h>
|
||||
#include VM_PREFIX_INCLUDE
|
||||
|
||||
unsigned int main_time = false;
|
||||
unsigned int main_time = 0;
|
||||
|
||||
double sc_time_stamp() { return main_time; }
|
||||
|
||||
|
@ -114,7 +114,7 @@ void mon_eval() {
|
||||
|
||||
//======================================================================
|
||||
|
||||
unsigned int main_time = false;
|
||||
unsigned int main_time = 0;
|
||||
|
||||
double sc_time_stamp() { return main_time; }
|
||||
int main(int argc, char** argv, char** env) {
|
||||
|
@ -12,7 +12,7 @@
|
||||
#include <verilated.h>
|
||||
#include "Vt_leak.h"
|
||||
|
||||
unsigned int main_time = false;
|
||||
unsigned int main_time = 0;
|
||||
double sc_time_stamp() { return main_time; }
|
||||
|
||||
long long get_memory_usage() {
|
||||
|
@ -45,7 +45,7 @@ using namespace std;
|
||||
#define TEST_MSG \
|
||||
if (0) printf
|
||||
|
||||
unsigned int main_time = false;
|
||||
unsigned int main_time = 0;
|
||||
|
||||
//======================================================================
|
||||
|
||||
|
@ -45,7 +45,7 @@ using namespace std;
|
||||
#define DEBUG \
|
||||
if (0) printf
|
||||
|
||||
unsigned int main_time = false;
|
||||
unsigned int main_time = 0;
|
||||
|
||||
//======================================================================
|
||||
|
||||
|
@ -45,7 +45,7 @@ using namespace std;
|
||||
#define DEBUG \
|
||||
if (0) printf
|
||||
|
||||
unsigned int main_time = false;
|
||||
unsigned int main_time = 0;
|
||||
|
||||
#define CHECK_RESULT_NZ(got) \
|
||||
if (!(got)) { \
|
||||
|
@ -43,7 +43,7 @@ using namespace std;
|
||||
#define TEST_MSG \
|
||||
if (0) printf
|
||||
|
||||
unsigned int main_time = false;
|
||||
unsigned int main_time = 0;
|
||||
unsigned int callback_count_time1 = 3;
|
||||
unsigned int callback_count_time2 = 4;
|
||||
unsigned int callback_count_start_of_sim = 0;
|
||||
|
@ -32,8 +32,8 @@
|
||||
#define DEBUG \
|
||||
if (0) printf
|
||||
|
||||
unsigned int main_time = false;
|
||||
unsigned int callback_count = false;
|
||||
unsigned int main_time = 0;
|
||||
unsigned int callback_count = 0;
|
||||
|
||||
//======================================================================
|
||||
|
||||
|
@ -45,11 +45,11 @@ using namespace std;
|
||||
#define TEST_MSG \
|
||||
if (0) printf
|
||||
|
||||
unsigned int main_time = false;
|
||||
unsigned int callback_count = false;
|
||||
unsigned int callback_count_half = false;
|
||||
unsigned int callback_count_quad = false;
|
||||
unsigned int callback_count_strs = false;
|
||||
unsigned int main_time = 0;
|
||||
unsigned int callback_count = 0;
|
||||
unsigned int callback_count_half = 0;
|
||||
unsigned int callback_count_quad = 0;
|
||||
unsigned int callback_count_strs = 0;
|
||||
unsigned int callback_count_strs_max = 500;
|
||||
|
||||
//======================================================================
|
||||
|
@ -43,7 +43,7 @@ using namespace std;
|
||||
#define TEST_MSG \
|
||||
if (0) printf
|
||||
|
||||
unsigned int main_time = false;
|
||||
unsigned int main_time = 0;
|
||||
unsigned int callback_count_zero_time = 0;
|
||||
unsigned int callback_count_start_of_sim = 0;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user