forked from cvut/qtrvsim
-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[pull] master from cvut:master #3
Open
pull
wants to merge
92
commits into
Mu-L:master
Choose a base branch
from
cvut:master
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains 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
There is no easy cross platform way I know about.
Signed-off-by: Pavel Pisa <[email protected]>
Co-authored-by: Pavel Pisa <[email protected]>
Include of nonexistent file would cause segfault. Co-authored-by: Matej Kafka <[email protected]>
Otherwise libelf does not compile on Windows without MinGW, because it tries to use `ftruncate`, which is POSIX.
TODO: Polyfill POSIX APIs used in os_emulation
Emulate POSIX syscalls using the "Low-Level I/O" API provided by CRT, which closely matches the POSIX semantics. TODO: test this, especially check if errno values are POSIX
Signed-off-by: Pavel Pisa <[email protected]>
Some files still incorrectly referenced QtMips instead of QtRvSim. Signed-off-by: Michal Lenc <[email protected]>
CLI: reporter dump to json
Empty relocations are a result of syntax error
Useful when saving a series of core diagram images.
…edictor' - fence.i instrukction will now cause predictor to flush BTB rows and BHT states - Even instructions which are Not Taken are added into BTB and updated into BHT - Unconditional jumps now have a flag in BTB and do not trigger BHT - Added 3rd predictor widget with additional information not directly related to BHT and BTB - Added new statistic counting total encountered branch instructions and pipeline flushes - Restructured predictor and GUI code
Suggested by Bo YU yuzibo Signed-off-by: Pavel Pisa <[email protected]>
…h off by presets The predictor configuration should be exactly defined for each present. Whench chnaged presets page should switch to the custom choice. The logic is implemented now. The switch2custom prevents its own (possibly infinite) recursion. The switch2custom calls are guarded by condition to check for the change. Because labda(s) with if statements are quite complex, they are moved to functions named descriptively. BHT computed parameters redundant update code has been unified into new function. Signed-off-by: Pavel Pisa <[email protected]>
Signed-off-by: Pavel Pisa <[email protected]>
The peripheral memory ranges aliases at the high addresses (0xffxxxxxx -> 0xffffffffffxxxxxx) solve peripherals access from code compiled by internal assembler which can generate only 32-bit LI and LA pseudoinstructions (LUI/AUIPC + ADD). In the real operating system, the peripherals would be mapped to the kernel/upper half of address space as well. The solution is not elegant but allows to use template.S and other examples in XLEN=64 (RV64IMA) mode. Placement of peripherals under 2 GiB limit would be probably simpler but we have been inspired by SPIM and QtMips and usual 32-bit systems memory map organization. Signed-off-by: Pavel Pisa <[email protected]>
…uired This is experiment to propose solution of hard to navigate list of tab topics. It is related to issue New dialog tab/page selection rework #150 Signed-off-by: Pavel Pisa <[email protected]>
It is related to issue New dialog tab/page selection rework #150 Signed-off-by: Pavel Pisa <[email protected]>
This is an attempt to make navigation in the "New" dialog easier and allow its future expansion even with more configuration pages where tabs and tab top-level bookmarks are hard to navigate. Closes #150
Signed-off-by: Pavel Pisa <[email protected]>
Signed-off-by: Pavel Pisa <[email protected]>
…h full GNU tool-chain The included examples can be build by full featured GNU toolchain directly without modifications riscv64-unknown-elf-gcc -march=rv32ima -mabi=ilp32 template-os.S -nostartfiles -nostdlib riscv64-unknown-elf-gcc -march=rv64ima -mabi=lp64 template-os.S -nostartfiles -nostdlib Signed-off-by: Pavel Pisa <[email protected]>
Signed-off-by: Pavel Pisa <[email protected]>
…lti-byte characters to prevent heap overflows
…ng returned from `what`
Avoid using time every clock cycle when it is not needed.
Amortize running QTimer at max speed. Exit needs special handling because otherwise, the core will keep running. For gui, this will be hidden under clicking latency.
… and Qt5 libraries are present Change fixes issue #156 Build with specified specified QT_VERSION_MAJOR=6 fails on Debian and probably other systems when Qt5 is installed Signed-off-by: Pavel Pisa <[email protected]>
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.
See Commits and Changes for more details.
Created by
pull[bot] (v2.0.0-alpha.1)
Can you help keep this open source service alive? 💖 Please sponsor : )