generated from riscv-software-src/template-riscv-code
-
Notifications
You must be signed in to change notification settings - Fork 58
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1st commit of fusion capable decoder, json support (#163)
fusion decoder implementation. This is suitable for analysis. Adds fusion parameters to fusion.yaml. And specifies external file definition of fusion groups using JSON New statistics for fused instructions and fusion group stats HCache as separate structure in fusion/fusion Includes the FSL.md domain language description Inst.hpp modified to add FUSED and FUSION_GHOST status as extended status Support for non-sequential program ID. Each instr has a PID increment value, and methods Formatting, clean up of Inst.hpp JSON support added to Fusion.hpp New exceptions for JSON errors Fusion default transform no longer modifies the input buffer HCache testbench functions --------- Co-authored-by: Jeff Nye <jeff@www.condorcomputing.com>
- Loading branch information
1 parent
2ed051b
commit a0f965f
Showing
38 changed files
with
3,958 additions
and
964 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
include: big_core.yaml | ||
top.cpu.core0: | ||
decode: | ||
params: | ||
num_to_decode: 8 | ||
fusion_enable: true | ||
fusion_debug: false | ||
fusion_enable_register: 0xFFFFFFFF | ||
fusion_max_latency: 8 | ||
fusion_match_max_tries: 1023 | ||
fusion_max_group_size: 8 | ||
fusion_summary_report: fusion_summary.txt | ||
fusion_group_definitions: [ arches/fusion/dhrystone.json ] |
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,37 @@ | ||
{ | ||
"fusiongroups" : [ | ||
{ "name" : "uf039", "uids" : ["0xd","0xa"], "tx" : "dfltXform_" }, | ||
{ "name" : "uf038", "uids" : ["0x3","0xe"], "tx" : "dfltXform_" }, | ||
{ "name" : "uf037", "uids" : ["0x20","0x4"], "tx" : "dfltXform_" }, | ||
{ "name" : "uf036", "uids" : ["0x9","0x2d"], "tx" : "dfltXform_" }, | ||
{ "name" : "uf035", "uids" : ["0x18","0xe"], "tx" : "dfltXform_" }, | ||
{ "name" : "uf034", "uids" : ["0x20","0x18"], "tx" : "dfltXform_" }, | ||
{ "name" : "uf033", "uids" : ["0xe","0xd","0xa"], "tx" : "dfltXform_" }, | ||
{ "name" : "uf032", "uids" : ["0x10","0x10"], "tx" : "dfltXform_" }, | ||
{ "name" : "uf031", "uids" : ["0x18","0x20"], "tx" : "dfltXform_" }, | ||
{ "name" : "uf030", "uids" : ["0x22","0x26"], "tx" : "dfltXform_" }, | ||
{ "name" : "uf029", "uids" : ["0x26","0x34"], "tx" : "dfltXform_" }, | ||
{ "name" : "uf028", "uids" : ["0x21","0x20"], "tx" : "dfltXform_" }, | ||
{ "name" : "uf027", "uids" : ["0x34","0x35"], "tx" : "dfltXform_" }, | ||
{ "name" : "uf026", "uids" : ["0x2d","0x22"], "tx" : "dfltXform_" }, | ||
{ "name" : "uf025", "uids" : ["0x2e","0x2d"], "tx" : "dfltXform_" }, | ||
{ "name" : "uf024", "uids" : ["0x2e","0x21"], "tx" : "dfltXform_" }, | ||
{ "name" : "uf023", "uids" : ["0xd","0xa","0x22"], "tx" : "dfltXform_" }, | ||
{ "name" : "uf022", "uids" : ["0x26","0x34","0x9"], "tx" : "dfltXform_" }, | ||
{ "name" : "uf021", "uids" : ["0xa","0x22","0x26"], "tx" : "dfltXform_" }, | ||
{ "name" : "uf020", "uids" : ["0x18","0x20","0x4"], "tx" : "dfltXform_" }, | ||
{ "name" : "uf019", "uids" : ["0x22","0x26","0x34"], "tx" : "dfltXform_" }, | ||
{ "name" : "uf018", "uids" : ["0x2e","0x21","0x20"], "tx" : "dfltXform_" }, | ||
{ "name" : "uf017", "uids" : ["0x21","0x20","0x18"], "tx" : "dfltXform_" }, | ||
{ "name" : "uf016", "uids" : ["0x20","0x18","0x20"], "tx" : "dfltXform_" }, | ||
{ "name" : "uf008", "uids" : ["0xd","0x35"], "tx" : "dfltXform_" }, | ||
{ "name" : "uf007", "uids" : ["0xa","0x22"], "tx" : "dfltXform_" }, | ||
{ "name" : "uf005", "uids" : ["0xe","0xd"], "tx" : "dfltXform_" }, | ||
{ "name" : "uf004", "uids" : ["0xe","0x34"], "tx" : "dfltXform_" }, | ||
{ "name" : "uf003", "uids" : ["0x34","0x9"], "tx" : "dfltXform_" }, | ||
{ "name" : "uf002", "uids" : ["0x2e","0x35"], "tx" : "dfltXform_" }, | ||
{ "name" : "uf001", "uids" : ["0x35","0x35"], "tx" : "dfltXform_" }, | ||
{ "name" : "uf213", "uids" : ["0x2e","0x2e"], "tx" : "dfltXform_" }, | ||
{ "name" : "uf000", "uids" : ["0x35","0x2e"], "tx" : "dfltXform_" } | ||
] | ||
} |
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 |
---|---|---|
@@ -1,5 +1,6 @@ | ||
project (core) | ||
add_library(core | ||
FusionDecode.cpp | ||
Core.cpp | ||
SimpleBranchPred.cpp | ||
Fetch.cpp | ||
|
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
Oops, something went wrong.