Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nod-ai/prototype-aie-toolchain
AIE-RT + Python
https://github.com/nod-ai/prototype-aie-toolchain
Last synced: 7 days ago
JSON representation
AIE-RT + Python
- Host: GitHub
- URL: https://github.com/nod-ai/prototype-aie-toolchain
- Owner: nod-ai
- License: apache-2.0
- Created: 2024-05-07T15:00:32.000Z (6 months ago)
- Default Branch: main
- Last Pushed: 2024-06-15T03:24:47.000Z (5 months ago)
- Last Synced: 2024-06-16T03:35:17.274Z (5 months ago)
- Language: Python
- Size: 101 KB
- Stars: 0
- Watchers: 15
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# xaiepy
AIE-RT + Python# Downloading/installing
## Release
```shell
$ pip install xaiepy -f https://github.com/nod-ai/prototype-aie-toolchain/releases/expanded_assets/release
```## Dev
```shell
$ pip install xaiepy -f https://github.com/nod-ai/prototype-aie-toolchain/releases/expanded_assets/dev
```# Demo
```shell
$ python examples/basic.pyopcode='XAIE_IO_WRITE'
reg_off=000000000021d000
val=0
mask=000000000fffc000opcode='XAIE_IO_WRITE'
reg_off=000000000021d020
val=0
mask=000000000fffc000opcode='XAIE_IO_WRITE'
reg_off=000000000021d040
val=0
mask=000000000fffc000
```# Development
## Gotchas
If **ON WINDOWS** you're having trouble with
```shell
CMake Error at C:/Users/maksim/miniconda3/envs/xaiepy/Lib/site-packages/cmake/data/share/cmake-3.29/Modules/FindPackageHandleStandardArgs.cmake:230 (message):
Could NOT find OpenSSL, try to set the path to OpenSSL root folder in the
system variable OPENSSL_ROOT_DIR (missing: OPENSSL_CRYPTO_LIBRARY) (found
version "3.3.0")
```you probably have the win32 developer shell open; open the `x64 Native Tools Command Prompt for VS` instead ([or copy the settings from the win32 powershell to a new link](https://developercommunity.visualstudio.com/t/the-developer-powershell-for-vs-2022-should-use-x6/1568773#T-N10609425)) 🤦.
**Note**: `setup.py` expects OpenSSL to be installed @ `C:\Program Files\OpenSSL`.