Comments (6)
I'm not sure, whether the JSON is actually the problem here. You are requesting the kernel "mytest" in the command-line, but the kernel is name "mytesu" (Note the u instead of t here).
The error message given by TaPaSCo seems to make sense to me, in particular as it even lists the kernel with the name given in the JSON (third item in the list of available kernels).
from tapasco.
@forflo: Did you have a chance to test that in the meantime?
from tapasco.
Yes. I knew, how to fix it. However, I was slightly disappointed with tapasco's error message not pointing out what you wrote in your comment (from 11 Feb). I would wish for an error message like the json key "name" does not match the directory name
. Sorry, if I was being unclear.
Another Question tough:
Is it somewhere documented that the "Id"
key of a kernel.json cannot contain the number 0 as id?
Test code:
{
"Arguments": [
{
"Name": "a",
"Passing": "by reference"
},
{
"Name": "b",
"Passing": "by reference"
},
{
"Name": "resp__",
"Passing": "by reference"
}
],
"Description": "Orka kernel code for kernel 0",
"Files": [
"ip_0.c"
],
"Id": 0,
"Name": "Ip0",
"TopFunction": "ip",
"Version": "0.1"
}
which does produce the error
[16:59:21 <main: FileAssetManager$$anon$2> WARN] could not build Kernel from file: '/home/demo/orka/ExplorerIps/ExplorerIp0/kernel.json'
when doing
tapasco -v --coreDir $(pwd)/Cores --kernelDir $(pwd)/Ips/ hls Ip0 -p vcu118
from tapasco.
Currently Tapasco assumes that a slot is empty if the ID is 0, thus, ID 0 is not supported right now. Any particular reason you'd need the ID to be 0?
from tapasco.
Yes. I knew, how to fix it. However, I was slightly disappointed with tapasco's error message not pointing out what you wrote in your comment (from 11 Feb). I would wish for an error message like the json key "name" does not match the directory name. Sorry, if I was being unclear.
There might be cases, where the user intents to not match the name of the directory, in which the kernel-description resides, and the kernel name. For example, if one would generate multiple kernels from a single C source-file, the kernel-names won't match the directory name intentionally. Therefore, IMHO it's not a good idea to throw an error/print a warning if the kernel name and the directory name do not match.
from tapasco.
For release 2019.10, we will rework the parser for kernel.json
-files. The new parser should give better and more informative error messages to allow users to easily identify errors in their files.
from tapasco.
Related Issues (20)
- Enable HBM with the --features option HOT 3
- Processing elements with local memory no longer work
- Add non-es version of XUPVVH
- Support vivado 2022.1
- Error during DMA operation with Fork systemcall in PCIe-based FPGA HOT 5
- No compatiblilty with JDK 14 and newer HOT 3
- [libtapasco] Limit printing buffer contents in debug trace
- Allow loading of programs which are not a multiple size of 8 Bytes on Ultra96 HOT 3
- Building of TLKM fails on Ultra96 with ALARM HOT 1
- MakeOutOnly does not work on Ultra96 with ALARM HOT 2
- Multi-PE compositions on Ultra96 do not work HOT 3
- Upgrade time (rust) dependency
- Compose broken for VC709 on develop HOT 3
- Error during System Composition when #PE near 128 HOT 6
- `tapasco-build-libs` not working with rust `1.69.0` HOT 1
- AXI Transactions for DirectDMA (local memory) HOT 2
- SVM of Multi-FPGAs? HOT 1
- Bugs in the provided examples HOT 32
- Bandwidth benchmark for SVM extension
- Smaller bitwidth types trigger runtime error HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from tapasco.