-
Notifications
You must be signed in to change notification settings - Fork 706
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
Code_coverage: condition RTL with the IS_XLEN64 parameter #1666
Changes from 2 commits
8af393e
e039f6a
542af3e
95a993a
4be0890
0166ad1
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change | ||||||||
---|---|---|---|---|---|---|---|---|---|---|
|
@@ -284,9 +284,6 @@ | |||||||||
endcase | ||||||||||
end | ||||||||||
unique case (fu_data_i.operation) | ||||||||||
// Left Shift 32 bit unsigned | ||||||||||
SLLIUW: | ||||||||||
result_o = {{riscv::XLEN-32{1'b0}}, fu_data_i.operand_a[31:0]} << fu_data_i.operand_b[5:0]; | ||||||||||
// Integer minimum/maximum | ||||||||||
MAX: result_o = less ? fu_data_i.operand_b : fu_data_i.operand_a; | ||||||||||
MAXU: result_o = less ? fu_data_i.operand_b : fu_data_i.operand_a; | ||||||||||
|
@@ -319,12 +316,12 @@ | |||||||||
ROR, RORI: | ||||||||||
result_o = (riscv::IS_XLEN64) ? ((fu_data_i.operand_a >> fu_data_i.operand_b[5:0]) | (fu_data_i.operand_a << (riscv::XLEN-fu_data_i.operand_b[5:0]))) : ((fu_data_i.operand_a >> fu_data_i.operand_b[4:0]) | (fu_data_i.operand_a << (riscv::XLEN-fu_data_i.operand_b[4:0]))); | ||||||||||
|
||||||||||
ORCB: | ||||||||||
Check warning on line 319 in core/alu.sv GitHub Actions / format
|
||||||||||
result_o = orcbw_result; | ||||||||||
REV8: | ||||||||||
result_o = rev8w_result; | ||||||||||
|
||||||||||
default: ; // default case to suppress unique warning | ||||||||||
// Left Shift 32 bit unsigned | ||||||||||
default: if(fu_data_i.operation == SLLIUW && riscv::IS_XLEN64) result_o = {{riscv::XLEN-32{1'b0}}, fu_data_i.operand_a[31:0]} << fu_data_i.operand_b[5:0]; // default case to suppress unique warning | ||||||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [verible-verilog-format] reported by reviewdog 🐶
Suggested change
|
||||||||||
endcase | ||||||||||
end | ||||||||||
if (CVA6Cfg.ZiCondExtEn) begin | ||||||||||
|
Original file line number | Diff line number | Diff line change | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|
|
@@ -205,7 +205,7 @@ module wt_axi_adapter | |||||||||||
2'b10: | ||||||||||||
axi_wr_be[0][dcache_data.paddr[$clog2(CVA6Cfg.AxiDataWidth/8)-1:0]+:4] = '1; // word | ||||||||||||
default: | ||||||||||||
axi_wr_be[0][dcache_data.paddr[$clog2(CVA6Cfg.AxiDataWidth/8)-1:0]+:8] = '1; // dword | ||||||||||||
if (riscv::IS_XLEN64) axi_wr_be[0][dcache_data.paddr[$clog2(CVA6Cfg.AxiDataWidth/8)-1:0]+:8] = '1; // dword | ||||||||||||
AEzzejjari marked this conversation as resolved.
Show resolved
Hide resolved
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. [verible-verilog-format] reported by reviewdog 🐶
Suggested change
|
||||||||||||
endcase | ||||||||||||
end | ||||||||||||
////////////////////////////////////// | ||||||||||||
|
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 🐶