Go to the documentation of this file.
38 #define CLOCK_PERIOD 100
39 #define TB_CLOCK_PERIOD 50
40 #define DUTY_CYCLE 0.5
44 #define long_wait wait(10)
45 #define single_cycle wait(2)
46 #define set_value(var,val) wait(); var = val; wait()
47 #define test_value(actual, expected) \
48 wait (); if (expected != actual) \
49 cout << "Mismatch. Expected: " << expected \
50 << ". Actual: " << actual << endl; \
52 #define test_value_now(actual, expected) \
53 if (expected != actual) cout << "Mismatch. Expected: " << expected \
54 << ". Actual: " << actual << endl;
Generated on Wed Sep 30 2020 14:02:17 for gem5 by doxygen 1.8.17