Comments (5)
I've constructed a small example that demonstrates the weird behavior well.
hwme.zip
Output is:
a: 2 b: 3 c: 0 d: 10
a: 2 b: 2 c: 0 d: 10
a: 2 b: 3 c: 0 d: 10
a: 2 b: 3 c: 0 d: 10
a: 2 b: 3 c: 0 d: 4
a: 2 b: 3 c: 0 d: 10
a: 2 b: 3 c: 0 d: 10
In the fifth row, the 4 should be a 10 instead.
from hwpe-mac-engine.
Hi @lstrz, I will gladly check your example when possible. It is possible that some parts of the accelerator, especially the datapath, contain a few bugs -- this specific accelerator is provided as an example so it's not thoroughly tested. I am more confident for what concerns the hwpe-stream
and hwpe-ctrl
IPs, although the versions used here could be (very slightly) outdated.
I'll let you know.
from hwpe-mac-engine.
Sounds good! I wasn't sure if I was doing something wrong or not, so while at it, I posted the example for narrowing down potential bugs in IPs you care about, as I have little experience in digital design.
from hwpe-mac-engine.
Ok I found and fixed the issue, which has always been there. One of the common cases (two simultaneous valid handshakes in different streams) was not properly checked in the datapath.
It was not previously exposed (some other change in the platform must have brought it out by slightly changing timings), but actually it impacted also my own test. It is now fixed in commit 087a7f3
of the HWME module, which you should get if you update the platform IPs with update-ips
.
I also took the occasion to update hwpe-stream
and hwpe-ctrl
. They are not involved in this bug, but the new version should be anyways more robust, I've been recently working on a lot of testing on these versions.
from hwpe-mac-engine.
Perfect. Thank you very much!
from hwpe-mac-engine.
Related Issues (2)
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 hwpe-mac-engine.