getting_started:tutorials:hal0
Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
getting_started:tutorials:hal0 [2021/03/31 15:41] – ursgraf | getting_started:tutorials:hal0 [2021/03/31 15:46] – [Accessing Output Signals Directly] ursgraf | ||
---|---|---|---|
Line 1: | Line 1: | ||
====== Using the HAL with the Simulator ====== | ====== Using the HAL with the Simulator ====== | ||
- | In the EEROS library you will find a directory with examples. Open a shell in the build directory | + | The [[eeros_architecture: |
+ | |||
+ | In the EEROS library you will find a directory with examples. For this example | ||
+ | |||
+ | Open a shell in the build directory of your EEROS library and run | ||
< | < | ||
$ ./halTest1 -c HalTest1Config.json | $ ./halTest1 -c HalTest1Config.json | ||
Line 16: | Line 20: | ||
Alternatively the signal in the HAL could be accessed by getting an reference to the corresponding output block with | Alternatively the signal in the HAL could be accessed by getting an reference to the corresponding output block with | ||
<code cpp> | <code cpp> | ||
- | auto digOut = hal.getLogicOutput(" | + | auto digOut = hal.getLogicOutput(" |
</ | </ | ||
The signal value can then be logged with | The signal value can then be logged with |
getting_started/tutorials/hal0.txt · Last modified: 2021/03/31 15:46 by ursgraf