Loading...
Searching...
No Matches
Go to the documentation of this file.
38#define CLOCK_PERIOD 100
43#define long_wait wait(5*CLOCK_PERIOD)
44#define single_cycle wait()
45#define set_value(var,val) wait(EVENT_TIME); var = val; wait(CLOCK_PERIOD - EVENT_TIME)
46#define test_value(actual, expected) \
47 wait (TEST_TIME); if (expected != actual) \
48 cout << "Mismatch. Expected: " << expected \
49 << ". Actual: " << actual << endl; \
50 wait (CLOCK_PERIOD - TEST_TIME)
51#define test_value_now(actual, expected) \
52 if (expected != actual) cout << "Mismatch. Expected: " << expected \
53 << ". Actual: " << actual << endl;
Generated on Tue Jun 18 2024 16:24:07 for gem5 by doxygen 1.11.0