Hi everyone!
Does anyone know is it possible to simulate inputs and group inputs on KSS 8.5.6?
Simulating inputs KSS 8.5.6
-
lomaxe -
April 1, 2019 at 9:03 AM -
Thread is marked as Resolved.
-
-
Look into $IOSIM_OPT and $IOSIM_IN. Although these may be limited to working on OfficeLite or an OfficePC.
-
Unfortunately, it's limited. I mean, these variables...
-
[size=1em]why 'unfortunately'...? it would mean changing all the programs to use different signal names. that is a lot of work...[/size]
[size=1em]i always like to declare all my global signals in a separate DAT file anyways...[/size]
[size=1em]and when situation asks for simulation, i replace that file with a similar one (clone) in which all input signals are replaced by BOOL and INT variables (or... just map those signals to unused outputs). nice thing is that all programs stay the same. if needed, couple of lines of code can create state machine running in Submit... you can test anything you like, experiment with signal timing etc. [/size]
[size=1em]and when you are done, just replace the DAT file again and - everything is ready.[/size]