Comments (5)
This problem seems to have been introduced in commit ddfeebd - Cleaning up read response logic
from oh.
Updated the test code to use WAIT and can see several places where the access freeze can occur. One has been committed that makes a lot of difference to this issue. #30
from oh.
Well the simulations work ok now, but the latest simulation fix is not good enough to fix the fpga. Still works with simple hello world but as soon as you start to use the mailbox the receive config register gets corrupted, every now an then, with what appears to be contents of the mailbox... odd because this also occurs when not using the interrupt and just polling for messages... about 20% of the time my test runs without any problems and completes without any bus errors and all memory checks seem to work... but about 10% of the time I get the hanging problem and 70% of the time the test runs and you get a bus error. The bus error is best because then you can read the registers with simple memory accesses and each time I see the contents of the mailbox in the config register. When the test hangs there is nothing to do but reboot the board so you loose any logging or chance of investigation.
from oh.
I sorted out the mess in #30 and created a single simple pull request for the fixes so far for this issue. See #32. This new pull request replaces #30 that ended up as a bit of a mess because it was always work in progress!
The comments in the hdl and the commit should explain the fixes. As far as I can tell this is complete and should stop corruption during and after applying wait.... except that somehow my software test of the fpga still results in ERX_CFG getting corrupted about 70% of the time. Now looking else where for corruption and or using the onboard logic analyser to see exactly what is happening in the fpga when corruption occurs!
Here are some test results using #32
testresults160110.txt
from oh.
Just tried out the very latest and it seems like this is now working. I have not tried out all the tests yet but so far so good! Well done!
from oh.
Related Issues (20)
- Publishing releases
- Potential glitch and failure possible in generic_fifo: combinational logic output passed to the other clock domain
- Error when building accelerator example HOT 1
- Open source Xilinx simulation models
- Consider using sphinx for nice documentation
- ELINK_VERSION platform field question HOT 1
- fpga for 7010 device may need reworking HOT 4
- RX: Dynamic mapping issues HOT 5
- txmmu/rxmmu: Need valid bit in page table entries
- Consecutive writes to rxmmu table results in system freeze HOT 6
- GPIO: Make GPIO_DIR WR/RD HOT 2
- master branch parallella bitstreams broken
- GPIO: Support 32-bit access
- spi: master doesn't transfer 2 MSB in data byte HOT 1
- oh_fifo_sync doesn't synthesize properly in Vivado
- oh_fifo_async: GENERIC target probably doesn't synthesize correctly in Vivado HOT 1
- mio: need a sticky rx_not_empty bit
- mio: pushback might be broken
- parallella_accelerator.v missing
- system_bd.tcl Vivado version upgrade gotcha HOT 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 oh.