-
Notifications
You must be signed in to change notification settings - Fork 132
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
4 changed files
with
79 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,9 +1,30 @@ | ||
# Build software for Cheshire Ara | ||
|
||
Compile the `.c` programs in this folder with: | ||
## Copy the source files to Cheshire | ||
|
||
Copy the source files from this folder into Cheshire's `sw/tests` directory. | ||
|
||
```bash | ||
make copy-vector-sw | ||
``` | ||
|
||
## Copy an app to Cheshire | ||
|
||
Copy one of the app files from the `app` folder into Cheshire's `sw/tests` directory. | ||
|
||
Use the target `copy-$app` to move the necessary source files to Cheshire's `sw/tests`. | ||
For example, to move the `fmatmul` app: | ||
|
||
```bash | ||
make copy-fmatmul | ||
``` | ||
|
||
## Compile the vector code for Cheshire | ||
|
||
Compile the source files with the vector extension support enable: | ||
|
||
```bash | ||
make chs-sw-all | ||
``` | ||
|
||
This command will copy the necessary source files into Cheshire's `sw/tests` directory and compile them with the support for vector extension. | ||
This command will also copy the necessary dependencies to `sw/tests` and enable the vector extension at compile time. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters