You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/embedded/patmos.mdx
+26-16
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ execution time (WCET) for reactions.
12
12
- DE2-115 Development Kit, which is equipped with Altera Cyclone IV FPGA (optional)
13
13
### Getting Started
14
14
To know how to install the toolchain for building Patmos, read the Patmos project's readme at https://github.com/t-crest/patmos or study the sixth chapter of its handbook available here: [Patmos Reference Handbook](http://patmos.compute.dtu.dk/patmos_handbook.pdf)
15
-
### Compiling and Running Reactors
15
+
### Compiling and Running Lingua Franca codes
16
16
Patmos can run in an FPGA, but there are also two simulators available:
17
17
18
18
1.`pasim`: a software ISA simulator that is written in C++.
If you are using an older version of LF that doesn't support Patmos, you need to copy `lf_patmos_support` c and h files in the related folders before executing make command whether manually or by executing the following bash file that automates the copying process (considering those files are located in a folder called `files`)
90
+
Since LF still doesn't support Patmos officialy, you need to copy some files inluding `lf_patmos_support` c and h files in the related folders before executing make command whether manually or by executing the following shell file that automates the copying process (considering those files are located in a folder called `files`). If you choose shell file, you can also add Makefile to the list.
If there is no error after making, an HelloWorld.elf file must be generator inside `src-gen\HelloWorld` folder. Then, the reactor can be executed on the SW simulator with the following command:
@@ -115,3 +124,4 @@ Hello World!
115
124
---- Elapsed logical time (in nsec): 0
116
125
---- Elapsed physical time (in nsec): 3,459,000
117
126
```
127
+
For doing WCET analysing, you can execute wcet target by running `make wcet` command.
0 commit comments