diff options
author | Daniel Friesel <derf@finalrewind.org> | 2017-04-13 09:11:31 +0200 |
---|---|---|
committer | Daniel Friesel <derf@finalrewind.org> | 2017-04-13 09:11:31 +0200 |
commit | 1479899726b1e2292f0012a1378e4bfb90b68e87 (patch) | |
tree | 7da8171e70dfa8bb663973a594ef4fb6f8fbc423 /lib/Kratos/DFADriver.pm | |
parent | fe29637bd850b2b0563fccb6978d74dcd6635261 (diff) |
support heap code to declare global variables used by the benchmark
Diffstat (limited to 'lib/Kratos/DFADriver.pm')
-rw-r--r-- | lib/Kratos/DFADriver.pm | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/Kratos/DFADriver.pm b/lib/Kratos/DFADriver.pm index 046a013..b7e1200 100644 --- a/lib/Kratos/DFADriver.pm +++ b/lib/Kratos/DFADriver.pm @@ -911,6 +911,11 @@ sub to_test_cc { DeclareThread(DriverEvalThread, driverEvalThread, 256); +EOF + + $buf .= $self->model->heap_code; + + $buf .= <<"EOF"; void DriverEvalThread::action() { Guarded_Buzzer buzzer; |