summaryrefslogtreecommitdiff
path: root/model/driver
diff options
context:
space:
mode:
authorDaniel Friesel <daniel.friesel@uos.de>2020-07-22 14:28:32 +0200
committerDaniel Friesel <daniel.friesel@uos.de>2020-07-22 14:28:32 +0200
commitd0ea0a521a582549dfd9a98b47e7c12d8bcd0de6 (patch)
tree894d784c1fb526b4e95b7e75bd335f40f67e435f /model/driver
parente704cc1193babd25db46055a6de436be687aba18 (diff)
add timed_resistive_load for µs-scale model generation timing benchmarks
Diffstat (limited to 'model/driver')
-rw-r--r--model/driver/timed_resistive_load.dfa50
1 files changed, 50 insertions, 0 deletions
diff --git a/model/driver/timed_resistive_load.dfa b/model/driver/timed_resistive_load.dfa
new file mode 100644
index 0000000..cb7efab
--- /dev/null
+++ b/model/driver/timed_resistive_load.dfa
@@ -0,0 +1,50 @@
+codegen:
+ instance: timedResistiveLoad
+ includes:
+ - driver/timed_resistive_load.h
+ flags:
+ - arch_drivers=timed_resistive_load
+ setup:
+ - timedResistiveLoad.setup();
+
+states:
+ - UNINITIALIZED
+ - SLEEP
+ - P14MW
+ - P3_4MW
+ - P235UW
+
+transition:
+ setup:
+ src: [UNINITIALIZED]
+ dst: SLEEP
+ switchToNone:
+ src: [UNINITIALIZED, SLEEP, P14MW, P3_4MW, P235UW]
+ dst: SLEEP
+ switchTo750:
+ src: [UNINITIALIZED, SLEEP, P14MW, P3_4MW, P235UW]
+ dst: P14MW
+ switchTo3K3:
+ src: [UNINITIALIZED, SLEEP, P14MW, P3_4MW, P235UW]
+ dst: P3_4MW
+ switchTo47K:
+ src: [UNINITIALIZED, SLEEP, P14MW, P3_4MW, P235UW]
+ dst: P235UW
+ nop1K0:
+ src: [SLEEP, P14MW, P3_4MW, P235UW]
+ dst: SLEEP
+ arguments:
+ - name: duration_us
+ values: [50, 200, 700, 1200, 5000, 23000]
+ nop3K3:
+ src: [SLEEP, P14MW, P3_4MW, P235UW]
+ dst: SLEEP
+ arguments:
+ - name: duration_us
+ values: [50, 200, 700, 1200, 5000, 23000]
+ nop10K:
+ src: [SLEEP, P14MW, P3_4MW, P235UW]
+ dst: SLEEP
+ arguments:
+ - name: duration_us
+ values: [50, 200, 700, 1200, 5000, 23000]