lstack-overflow.awlpro 1.9 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. <?xml version="1.0" encoding="UTF-8" standalone="yes"?>
  2. <!-- Awlsim project file generated by awlsim-0.66.0-pre -->
  3. <awlsim_project date_create="2018-06-01 13:01:20.717195"
  4. date_modify="2018-07-08 18:00:10.143633"
  5. format_version="1">
  6. <!-- CPU core configuration -->
  7. <cpu>
  8. <!-- CPU core feature specification -->
  9. <specs call_stack_size="256"
  10. nr_accus="2"
  11. nr_counters="256"
  12. nr_flags="2048"
  13. nr_inputs="128"
  14. nr_localbytes="1024"
  15. nr_outputs="128"
  16. nr_timers="256"
  17. parenthesis_stack_size="7" />
  18. <!-- CPU core configuration -->
  19. <config clock_memory_byte="-1"
  20. cycle_time_limit_us="1000000"
  21. ext_insns_enable="1"
  22. mnemonics="2"
  23. ob_startinfo_enable="0"
  24. run_time_limit_us="-1" />
  25. </cpu>
  26. <!-- AWL/STL language configuration -->
  27. <language_awl>
  28. <!-- AWL/STL source code -->
  29. <source enabled="1"
  30. name="OB 1"
  31. type="0"><![CDATA[
  32. ORGANIZATION_BLOCK OB 1
  33. VAR_TEMP
  34. // This variable does not fit on the L-stack with size 1024 bytes.
  35. // The interpreter shall not crash, but gracefully stop with an exception.
  36. HUGE_VAR : ARRAY [0..1500] OF BYTE;
  37. END_VAR
  38. BEGIN
  39. BE
  40. END_ORGANIZATION_BLOCK
  41. ]]></source>
  42. </language_awl>
  43. <!-- Core server link configuration -->
  44. <core_link>
  45. <!-- Locally spawned core server -->
  46. <spawn_local enable="1"
  47. interpreters="$DEFAULT"
  48. port_range_begin="4183"
  49. port_range_end="8278" />
  50. <!-- Remote server connection -->
  51. <connect host="localhost"
  52. port="4151"
  53. timeout_ms="3000" />
  54. <!-- Transport tunnel -->
  55. <tunnel local_port="-1"
  56. type="0">
  57. <ssh executable="ssh"
  58. port="22"
  59. user="pi" />
  60. </tunnel>
  61. </core_link>
  62. <!-- Graphical user interface configuration -->
  63. <gui>
  64. <editor autoindent="1"
  65. paste_autoindent="1"
  66. validation="1" />
  67. </gui>
  68. </awlsim_project>