-
Notifications
You must be signed in to change notification settings - Fork 220
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Ci update, ISAC+CTG merged, added converpoints (#495)
* Updated CI and added riscof-plugin directory * Added RISCV-CTG and RISCV-ISAC tools * Added covergroups * Updated Readme --------- Co-authored-by: James Shi <shiqinghao.sqh@alibaba-inc.com>
- Loading branch information
1 parent
ce04b49
commit fb52d10
Showing
382 changed files
with
78,686 additions
and
80 deletions.
There are no files selected for viewing
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
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
## CGF: Cover Group Format | ||
|
||
- Uses a simple to use and a human readable YAML format to define cover groups and cover-points for the RISC-V ISA. | ||
- Declares datasets separately which can be used across coverpoints: | ||
- Operand Addresses for a single instruction | ||
- Operand Value for a single instruction | ||
- Abstract functions like walking1s and walking0s which get unrolled by the extraction tool | ||
- Covergroups include multiple datasets | ||
- Each coverpoint is defined as a boolean expression which can to be evaluated by the "eval" | ||
tool of python. | ||
- Coverpoints to use a standard set of keywords like: rs1, rs2, rd, rs1_val, rs2_val, etc | ||
- Uses Anchors and Aliases to keep the size of the YAML file small | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
fencei: | ||
config: | ||
- check ISA:=regex(.*E.*Zifencei.*) ;def RVTEST_E = True | ||
mnemonics: | ||
fence.i: 0 | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
fencei: | ||
config: | ||
- check ISA:=regex(.*I.*Zifencei.*) | ||
mnemonics: | ||
fence.i: 0 | ||
|
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
|
||
fencei: | ||
config: | ||
- check ISA:=regex(.*I.*Zifencei.*) | ||
mnemonics: | ||
fence.i: 0 | ||
|
||
|
File renamed without changes.
Oops, something went wrong.