30 likes | 149 Views
Custom DE Domain Block - uEngine. Other Script Languages or C/C++ lack Block Level integration, or similar abstraction with the Modeling Environment. Script Language – Ten Instructions. Mnemonic Description DEF Define or declare a memory
E N D
Custom DE Domain Block - uEngine Other Script Languages or C/C++ lack Block Level integration, or similar abstraction with the Modeling Environment.
Script Language – Ten Instructions Mnemonic Description DEFDefine or declare a memory LBLLabel used by other instructions ENDStops current thread, removes from Thread Queue ACTAction instruction, with expressions and modifiers for input, output, wait, scheduling JITJump if True, if expression is true, then jump based on LBL, +/- integer (relative), or absolute JIFJump if False, if expression is false, then jump based on LBL, +/- integer (relative), or absolute WHLWhile (true), execute next set of instructions till RTN command reached, else jump LBL, +/- integer (relative) SBR Execute Subroutine, jump based on LBL, +/- integer (relative) RTNReturn from SBR or WHL statement, 32 levels supported GTOGOTO specific address, based on LBL, +/- integer (relative), also generate model threads
Summary of Turing Machine based Script Language Script Language Summary JIT Compiler: Text-Window, File, or EXCEL Input, Fast Execution DEF instructions for declaring Memories, Arrays, Queues, Statistics ACT commands for Input, Output, Wait, Schedule instructions ACT, JIT, JIF, WHL command integration with Ptolemy expression language SBR command supports Thread Level Semaphore or Mutex for multiple threads Script Language Assertions: Ability to set High, Low values Script Language Exceptions, Command Line Interface uEngine: Support for multiple Input, Output or Virtual ports uEngine: 1024 uCode Lines per Block, 32 Threads, 32 Subroutine Levels uEngine Debugging: uCode enabled Trace Mode, Single Step mode with breakpoint on postfire() method. www.mirabilisdesign.comwww.mirabilisdesign.comwww.mirabilisdesign.com