-
Notifications
You must be signed in to change notification settings - Fork 705
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
Table builder for specification #1814
Table builder for specification #1814
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remaining comments which cannot be posted as a review comment to avoid GitHub Rate Limit
verible-verilog-format
core/csr_regfile.sv|81|
core/csr_regfile.sv|83|
core/csr_regfile.sv|85|
core/csr_regfile.sv|87|
core/csr_regfile.sv|89|
core/csr_regfile.sv|91|
core/csr_regfile.sv|93|
core/csr_regfile.sv|95|
core/csr_regfile.sv|97|
core/csr_regfile.sv|99|
core/csr_regfile.sv|101|
core/csr_regfile.sv|103|
core/csr_regfile.sv|105|
core/csr_regfile.sv|107|
core/csr_regfile.sv|109|
core/csr_regfile.sv|111|
core/csr_regfile.sv|113|
core/csr_regfile.sv|115|
core/csr_regfile.sv|117|
core/csr_regfile.sv|119|
core/csr_regfile.sv|121|
core/csr_regfile.sv|123|
core/csr_regfile.sv|126|
core/csr_regfile.sv|128|
core/csr_regfile.sv|130|
core/csr_regfile.sv|132|
core/csr_regfile.sv|134|
core/csr_regfile.sv|136|
core/csr_regfile.sv|138|
core/ex_stage.sv|162|
core/include/cv32a65x_config_pkg.sv|96|
core/include/cv32a65x_config_pkg.sv|123|
core/include/cv32a65x_config_pkg.sv|128|
core/include/cv32a65x_config_pkg.sv|131|
core/csr_regfile.sv
Outdated
input logic time_irq_i, // Timer threw a interrupt | ||
// send a flush request out if a CSR with a side effect has changed (e.g. written) | ||
// Subsystem Clock - SUBSYSTEM | ||
input logic clk_i, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[verible-verilog-format] reported by reviewdog 🐶
input logic clk_i, | |
input logic clk_i, |
core/csr_regfile.sv
Outdated
// Subsystem Clock - SUBSYSTEM | ||
input logic clk_i, | ||
// Asynchronous reset active low - SUBSYSTEM | ||
input logic rst_ni, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[verible-verilog-format] reported by reviewdog 🐶
input logic rst_ni, | |
input logic rst_ni, |
core/csr_regfile.sv
Outdated
// Asynchronous reset active low - SUBSYSTEM | ||
input logic rst_ni, | ||
// Timer threw a interrupt - SUBSYSTEM | ||
input logic time_irq_i, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[verible-verilog-format] reported by reviewdog 🐶
input logic time_irq_i, | |
input logic time_irq_i, |
core/csr_regfile.sv
Outdated
// Current privilege level the CPU is in - EX_STAGE | ||
output riscv::priv_lvl_t priv_lvl_o, | ||
// Imprecise FP exception from the accelerator (fcsr.fflags format) - ACC_DISPATCHER | ||
input logic [4:0] acc_fflags_ex_i, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[verible-verilog-format] reported by reviewdog 🐶
input logic [4:0] acc_fflags_ex_i, | |
input logic [ 4:0] acc_fflags_ex_i, |
core/csr_regfile.sv
Outdated
// Imprecise FP exception from the accelerator (fcsr.fflags format) - ACC_DISPATCHER | ||
input logic [4:0] acc_fflags_ex_i, | ||
// An FP exception from the accelerator occurred - ACC_DISPATCHER | ||
input logic acc_fflags_ex_valid_i, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[verible-verilog-format] reported by reviewdog 🐶
input logic acc_fflags_ex_valid_i, | |
input logic acc_fflags_ex_valid_i, |
core/csr_regfile.sv
Outdated
// An FP exception from the accelerator occurred - ACC_DISPATCHER | ||
input logic acc_fflags_ex_valid_i, | ||
// Floating point extension status - ID_STAGE | ||
output riscv::xs_t fs_o, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[verible-verilog-format] reported by reviewdog 🐶
output riscv::xs_t fs_o, | |
output riscv::xs_t fs_o, |
core/csr_regfile.sv
Outdated
// Floating point extension status - ID_STAGE | ||
output riscv::xs_t fs_o, | ||
// Floating-Point Accured Exceptions - COMMIT_STAGE | ||
output logic [4:0] fflags_o, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[verible-verilog-format] reported by reviewdog 🐶
output logic [4:0] fflags_o, | |
output logic [ 4:0] fflags_o, |
core/csr_regfile.sv
Outdated
// Floating-Point Accured Exceptions - COMMIT_STAGE | ||
output logic [4:0] fflags_o, | ||
// Floating-Point Dynamic Rounding Mode - EX_STAGE | ||
output logic [2:0] frm_o, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[verible-verilog-format] reported by reviewdog 🐶
output logic [2:0] frm_o, | |
output logic [ 2:0] frm_o, |
❌ failed run, report available here. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remaining comments which cannot be posted as a review comment to avoid GitHub Rate Limit
core/commit_stage.sv
Outdated
// Data to read from CSR - CSR_REGFILE | ||
input riscv::xlen_t csr_rdata_i, | ||
// Exception or interrupt occurred in CSR stage (the same as commit) - CSR_REGFILE | ||
input exception_t csr_exception_i, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[verible-verilog-format] reported by reviewdog 🐶
input exception_t csr_exception_i, | |
input exception_t csr_exception_i, |
core/csr_regfile.sv
Outdated
// Floating-Point Dynamic Rounding Mode - EX_STAGE | ||
output logic [2:0] frm_o, | ||
// Floating-Point Precision Control - EX_STAGE | ||
output logic [6:0] fprec_o, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[verible-verilog-format] reported by reviewdog 🐶
output logic [6:0] fprec_o, | |
output logic [ 6:0] fprec_o, |
core/csr_regfile.sv
Outdated
// Floating-Point Precision Control - EX_STAGE | ||
output logic [6:0] fprec_o, | ||
// Vector extension status - ID_STAGE | ||
output riscv::xs_t vs_o, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[verible-verilog-format] reported by reviewdog 🐶
output riscv::xs_t vs_o, | |
output riscv::xs_t vs_o, |
core/csr_regfile.sv
Outdated
// Vector extension status - ID_STAGE | ||
output riscv::xs_t vs_o, | ||
// interrupt management to id stage - ID_STAGE | ||
output irq_ctrl_t irq_ctrl_o, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[verible-verilog-format] reported by reviewdog 🐶
output irq_ctrl_t irq_ctrl_o, | |
output irq_ctrl_t irq_ctrl_o, |
core/csr_regfile.sv
Outdated
// interrupt management to id stage - ID_STAGE | ||
output irq_ctrl_t irq_ctrl_o, | ||
// enable VA translation - EX_STAGE | ||
output logic en_translation_o, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[verible-verilog-format] reported by reviewdog 🐶
output logic en_translation_o, | |
output logic en_translation_o, |
core/csr_regfile.sv
Outdated
// write data to performance counter module - PERF_COUNTERS | ||
output logic [riscv::XLEN-1:0] perf_data_o, | ||
// read data from performance counter module - PERF_COUNTERS | ||
input logic [riscv::XLEN-1:0] perf_data_i, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[verible-verilog-format] reported by reviewdog 🐶
input logic [riscv::XLEN-1:0] perf_data_i, | |
input logic [ riscv::XLEN-1:0] perf_data_i, |
core/csr_regfile.sv
Outdated
output logic [riscv::XLEN-1:0] perf_data_o, | ||
// read data from performance counter module - PERF_COUNTERS | ||
input logic [riscv::XLEN-1:0] perf_data_i, | ||
// TO_BE_COMPLETED - PERF_COUNTERS | ||
output logic perf_we_o, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[verible-verilog-format] reported by reviewdog 🐶
output logic perf_we_o, | |
output logic perf_we_o, |
core/csr_regfile.sv
Outdated
output riscv::pmpcfg_t [15:0] pmpcfg_o, // PMP configuration containing pmpcfg for max 16 PMPs | ||
output logic [15:0][riscv::PLEN-3:0] pmpaddr_o, // PMP addresses | ||
// PMP configuration containing pmpcfg for max 16 PMPs - ACC_DISPATCHER | ||
output riscv::pmpcfg_t [15:0] pmpcfg_o, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[verible-verilog-format] reported by reviewdog 🐶
output riscv::pmpcfg_t [15:0] pmpcfg_o, | |
output riscv::pmpcfg_t [ 15:0] pmpcfg_o, |
core/csr_regfile.sv
Outdated
// PMP configuration containing pmpcfg for max 16 PMPs - ACC_DISPATCHER | ||
output riscv::pmpcfg_t [15:0] pmpcfg_o, | ||
// PMP addresses - ACC_DISPATCHER | ||
output logic [15:0][riscv::PLEN-3:0] pmpaddr_o, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[verible-verilog-format] reported by reviewdog 🐶
output logic [15:0][riscv::PLEN-3:0] pmpaddr_o, | |
output logic [ 15:0][riscv::PLEN-3:0] pmpaddr_o, |
core/csr_regfile.sv
Outdated
output riscv::pmpcfg_t [15:0] pmpcfg_o, | ||
// PMP addresses - ACC_DISPATCHER | ||
output logic [15:0][riscv::PLEN-3:0] pmpaddr_o, | ||
// TO_BE_COMPLETED - PERF_COUNTERS | ||
output logic [31:0] mcountinhibit_o |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[verible-verilog-format] reported by reviewdog 🐶
output logic [31:0] mcountinhibit_o | |
output logic [ 31:0] mcountinhibit_o |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Remaining comments which cannot be posted as a review comment to avoid GitHub Rate Limit
core/csr_regfile.sv
Outdated
// Floating-Point Dynamic Rounding Mode - EX_STAGE | ||
output logic [2:0] frm_o, | ||
// Floating-Point Precision Control - EX_STAGE | ||
output logic [6:0] fprec_o, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[verible-verilog-format] reported by reviewdog 🐶
output logic [6:0] fprec_o, | |
output logic [ 6:0] fprec_o, |
core/csr_regfile.sv
Outdated
// Floating-Point Precision Control - EX_STAGE | ||
output logic [6:0] fprec_o, | ||
// Vector extension status - ID_STAGE | ||
output riscv::xs_t vs_o, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[verible-verilog-format] reported by reviewdog 🐶
output riscv::xs_t vs_o, | |
output riscv::xs_t vs_o, |
core/csr_regfile.sv
Outdated
// Vector extension status - ID_STAGE | ||
output riscv::xs_t vs_o, | ||
// interrupt management to id stage - ID_STAGE | ||
output irq_ctrl_t irq_ctrl_o, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[verible-verilog-format] reported by reviewdog 🐶
output irq_ctrl_t irq_ctrl_o, | |
output irq_ctrl_t irq_ctrl_o, |
core/csr_regfile.sv
Outdated
// interrupt management to id stage - ID_STAGE | ||
output irq_ctrl_t irq_ctrl_o, | ||
// enable VA translation - EX_STAGE | ||
output logic en_translation_o, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[verible-verilog-format] reported by reviewdog 🐶
output logic en_translation_o, | |
output logic en_translation_o, |
core/csr_regfile.sv
Outdated
// enable VA translation - EX_STAGE | ||
output logic en_translation_o, | ||
// enable VA translation for load and stores - EX_STAGE | ||
output logic en_ld_st_translation_o, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[verible-verilog-format] reported by reviewdog 🐶
output logic en_ld_st_translation_o, | |
output logic en_ld_st_translation_o, |
core/csr_regfile.sv
Outdated
output logic [riscv::XLEN-1:0] perf_data_o, | ||
// read data from performance counter module - PERF_COUNTERS | ||
input logic [riscv::XLEN-1:0] perf_data_i, | ||
// TO_BE_COMPLETED - PERF_COUNTERS | ||
output logic perf_we_o, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[verible-verilog-format] reported by reviewdog 🐶
output logic perf_we_o, | |
output logic perf_we_o, |
core/csr_regfile.sv
Outdated
output riscv::pmpcfg_t [15:0] pmpcfg_o, // PMP configuration containing pmpcfg for max 16 PMPs | ||
output logic [15:0][riscv::PLEN-3:0] pmpaddr_o, // PMP addresses | ||
// PMP configuration containing pmpcfg for max 16 PMPs - ACC_DISPATCHER | ||
output riscv::pmpcfg_t [15:0] pmpcfg_o, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[verible-verilog-format] reported by reviewdog 🐶
output riscv::pmpcfg_t [15:0] pmpcfg_o, | |
output riscv::pmpcfg_t [ 15:0] pmpcfg_o, |
core/csr_regfile.sv
Outdated
// PMP configuration containing pmpcfg for max 16 PMPs - ACC_DISPATCHER | ||
output riscv::pmpcfg_t [15:0] pmpcfg_o, | ||
// PMP addresses - ACC_DISPATCHER | ||
output logic [15:0][riscv::PLEN-3:0] pmpaddr_o, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[verible-verilog-format] reported by reviewdog 🐶
output logic [15:0][riscv::PLEN-3:0] pmpaddr_o, | |
output logic [ 15:0][riscv::PLEN-3:0] pmpaddr_o, |
core/csr_regfile.sv
Outdated
output riscv::pmpcfg_t [15:0] pmpcfg_o, | ||
// PMP addresses - ACC_DISPATCHER | ||
output logic [15:0][riscv::PLEN-3:0] pmpaddr_o, | ||
// TO_BE_COMPLETED - PERF_COUNTERS | ||
output logic [31:0] mcountinhibit_o |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[verible-verilog-format] reported by reviewdog 🐶
output logic [31:0] mcountinhibit_o | |
output logic [ 31:0] mcountinhibit_o |
bit'( | ||
0 | ||
), | ||
RVF: bit'(0), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[verible-verilog-format] reported by reviewdog 🐶
RVF: bit'(0), | |
RVF: | |
bit'( | |
0 | |
), |
unsigned'( | ||
2 | ||
), | ||
NrNonIdempotentRules: unsigned'(2), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[verible-verilog-format] reported by reviewdog 🐶
NrNonIdempotentRules: unsigned'(2), | |
NrNonIdempotentRules: | |
unsigned'( | |
2 | |
), |
1024'( | ||
{64'h8000_0000, 64'h1_0000, 64'h0} | ||
), | ||
ExecuteRegionAddrBase: 1024'({64'h8000_0000, 64'h1_0000, 64'h0}), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[verible-verilog-format] reported by reviewdog 🐶
ExecuteRegionAddrBase: 1024'({64'h8000_0000, 64'h1_0000, 64'h0}), | |
ExecuteRegionAddrBase: | |
1024'( | |
{64'h8000_0000, 64'h1_0000, 64'h0} | |
), |
unsigned'( | ||
1 | ||
), | ||
NrCachedRegionRules: unsigned'(1), |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
[verible-verilog-format] reported by reviewdog 🐶
NrCachedRegionRules: unsigned'(1), | |
NrCachedRegionRules: | |
unsigned'( | |
1 | |
), |
❌ failed run, report available here. |
e7f1989
to
7b0de6f
Compare
❌ failed run, report available here. |
Result = 9.07/10
2c6e8e3
to
7f5870b
Compare
✔️ successful run, report available here. |
@ASintzoff Can you approve ? |
This PR has been approved by @ASintzoff internally before PR on Github. |
In this MR:
@jquevremont This PR setup a flow to generate the "parameter configuration" table to be inserted in cv32a65x design documentation. It is generated from RTL.