-
Notifications
You must be signed in to change notification settings - Fork 45
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
does isa yaml spec have options to be able to support Smclic #133
Comments
There is no support for clic in riscv-config right now. |
I don't need support for clic. I'm developing that. FYI, I'm the chair of fast interrupts task group - clic, and I'm going to be developing ACT tests for clic. clic (and other extensions like clint/aia) just need a way for ricvof to select the correct tests without passing the same extension command to the toolchain. I assume that doesn't exist currently? |
The isa to compile the test(described by RVTEST_ISA) can be different than the ISA which describes the hardware. The filtering happens based on the latter while the former is used to compile the test. |
Can you point me to documentation on how and where to specify RVTEST_ISA? Do I add it to spike_isa.yaml or spike_platform.yaml like this? I get this error when I try validateyaml: ~/riscof$ riscof validateyaml --config=config.ini |
or do you mean Smclint tests should look like: and modifications need to be made to constants.py and isa_validator.py? If you add support for Smclint in constants.py and isa_validator.py, I can imitate and add support for Ssclint, Smclic, Ssclic, Smaia, Ssaia. (or if you don't mind doing them all. thanks |
@dansmathers would be great if you could raise a PR for the extensions you mentioned. You could simply add the list of S* extensions here. Updates in the ISA validator.py are required if there are certain constraints on combination/exclusivity for the extensions you are adding. |
Update constants.py to include Sxclint/Sxclic/Sxaia for issue: riscv-software-src#133
this change is needed for the Smclint/Ssclint tests proposed in riscv-non-isa/riscv-arch-test#372 |
I'm trying to create ACT tests for clint and clic (ratified AIA will have the same issue). neither extension adds any instructions so does not need to be passed to the toolchain (toolchain won't recognize these instructions). but I need a way to tell riscof to select these tests. Is there a way to pass this info to either isa yaml or platform yaml so that Smclic, Smclint tests will be selected without passing that to the toolchain?
The clint tests I developed also use msip (software interrupts) but riscof generated an error when I included that in the platform yaml. riscof only currently expects mtime?
The text was updated successfully, but these errors were encountered: