Comments (4)
Hi Felix,
L2694 looks to be able to be removed as you are saying above. The branch at L2663 looks to be needed since the SN rsp.Comp might arrive before the SN rsp.DBID at the interconnect (reordered, I'll verify this with the doc and comeback).
Best regards,
Francisco Iglesias
from libsystemctlm-soc.
thank for your reply, @figlesia-xilinx
I agree that the Comp may arrive before DBIDResp from SN, but when this situation accurs, the branch @ L2663 will never be true !
remind that the SetWriteToSnDone can only be called req->SetWriteToSNDone(true); @L2653, and to run to L2653 we need both of the below conditions are true :
- (rsp.IsCompDBIDResp() || rsp.IsDBIDResp()) @L2609 is true
- (rsp.IsCompDBIDResp() || req->GetCompSNReceived()) @ L2622 is true at the same time
acctrully the 2nd condition @ L2622 need the the Comp(seperate Comp or CompDBIDResp) had been reveived for it to be true
so there is a the contrdiction :
- if we want to run to L2653 which set the WritenToSNDone flag to true , we need Comp has received
- but WritenToSNDone flag is checked when process the seperate Comp from SN, at which time the WritenToSNDone flag can never be true , the reason is the 1st item above
so the whole branch if (req->GetWriteToSNDone()) @L2663 will never be true and is useless !
please help to clarify this
from libsystemctlm-soc.
I think that the condition checked in the branch @L2633 should be changed to : whether or not the DBIDResp has arrived
then if true, the branch will handle the scenario that the Comp is received after the DBIDResp
from libsystemctlm-soc.
Yes, above was the target of the 'else if' at line 2657. The SN-F doesn't yet support generating above response structure (so this path was not covered in the test it seems and needs to be corrected).
Best regards,
Francisco
from libsystemctlm-soc.
Related Issues (20)
- Centos 7 support HOT 1
- Having error running examples in tri branch HOT 2
- do you guys hang out on an IRC for any questions related to this repository and the demo? HOT 1
- Accesing rp_cosim_reserved for user implementation specific featues HOT 2
- Is it possible to use this library for testing user logic based on the XDMA&QDMA IP Core? HOT 3
- refdesign-sim demo fails on Error: SIGNALS:: Unable to connect top.pcie_bridge.signals-master-tieoff_0.awvalid HOT 5
- axi2tlm_bridge: compile error on Cadence Xcelium
- Segmentation fault on get_posted() call HOT 1
- axi2tlm-bridge: wrong byte enable
- tlm2apb-bridge: fail to sample psel & penable
- make examples-run fails with missing tlm-bridges/umi.h
- setting m_gotRspSepData=true in HandleRxDat result in TLM_GENERIC_ERROR_RESPONSE? HOT 1
- blocking the the whole processing thread when there is a hazard ? HOT 4
- remote-port-tlm-memory-slave mode read and write question HOT 1
- pc-axilite.h handshakes naming error HOT 1
- Missing ../.config.mk file HOT 3
- Integration in behavioral/RTL simulation through Vivado HOT 6
- Getting errors while building RTL-bridges ACE example HOT 5
- How to solve the problem related to the version of dependencies HOT 1
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 libsystemctlm-soc.