Repository navigation
Conversation
Signed-off-by: Philipp Jungkamp <[email protected]>
Signed-off-by: Philipp Jungkamp <[email protected]>
Signed-off-by: Philipp Jungkamp <[email protected]>
Signed-off-by: Philipp Jungkamp <[email protected]>
Signed-off-by: Philipp Jungkamp <[email protected]>
Signed-off-by: Philipp Jungkamp <[email protected]>
Signed-off-by: Philipp Jungkamp <[email protected]>
- Running for `1 << 16` iterations takes about 40s on my machine which exceeds the default timeout of 20s imposed by criterion. - Criterion can't reliably pass pointers as parameters to parameterized tests because these are passed through shared memory to a new process. A PIE executable can not use pointers from the test parameters because of ASLR. Signed-off-by: Philipp Jungkamp <[email protected]>
Signed-off-by: Philipp Jungkamp <[email protected]>
Signed-off-by: Philipp Jungkamp <[email protected]>
Contributor
Author
|
Seems like the https://github.com/VILLASframework/node/actions/runs/45528356145/job/138917233142?pr=1065#logs |
Member
|
Looks reasonable. This breaks DPsim though. So you need a follow up PR there. |
This branch was successfully deployed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Motivation
I long wanted to remove the split between
libvillas,libvillas-commonandlibvillas-fpga. It's often confusing or ambiguous whether some code should reside incommon/{lib,include}or the toplevel{lib,include}directories.Changes
I've moved all code from the former
commondirectory either to the toplevel or intofpgaand done some light cleanup on the namespace and directory structure.libvillas-fpgais no longer a separate library. It had its own C API for dma access for which I didn't find any real consumer. I've removed that API because the library name change would break any consumer anyway. If we notice any regression we can fix the consumer and add the DMA API back in.This merge made the duplication between
villas/node/exceptions.hppandvillas/exceptions.hpppretty obvious. I've gone through all exception classes and removed the following ones:villas::ParseError: Never constructed except as the base class ofvillas::JanssonErrorvillas::JanssonParseError: Tries to report libjansson error information, but doesn't give useful locations anymore since we migrated tonlohmann/jsonfor the parsing step. This needed a little cleanup in thevillas-hooktool.villas::ConfigError: The main error used to report invalid configuration values, I've just replaced every instantiation with aJsonErrorand tried to add location information to each one in the form of JSON pointers.AI Use
This refactor was assisted by Claude Opus 5.5. Mainly to convert all the ConfigError instances.