Skip to content
This repository was archived by the owner on Jun 3, 2024. It is now read-only.

Conversation

@wsipak
Copy link
Collaborator

@wsipak wsipak commented May 8, 2023

This tests a case that we've encountered in BlackParrot.

@@ -0,0 +1,15 @@
module top #(
localparam paddr_width_p = 2
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [verible-verilog-lint] reported by reviewdog 🐶
Explicitly define a storage type for every parameter and localparam, (paddr_width_p). [Style: constants] [explicit-parameter-storage-type]

@@ -0,0 +1,15 @@
module top #(
parameter dims_p = 2,
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [verible-verilog-lint] reported by reviewdog 🐶
Explicitly define a storage type for every parameter and localparam, (dims_p). [Style: constants] [explicit-parameter-storage-type]

@@ -0,0 +1,15 @@
module top #(
parameter dims_p = 2,
parameter int cord_markers_pos_p[dims_p:0] = '{ 5, 4, 0 }
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [verible-verilog-lint] reported by reviewdog 🐶
Non-type parameter names must be styled with CamelCase or ALL_CAPS [Style: constants] [parameter-name-style]

@@ -0,0 +1,15 @@
module top #(
parameter dims_p = 2,
parameter int cord_markers_pos_p[dims_p:0] = '{ 5, 4, 0 }
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [verible-verilog-lint] reported by reviewdog 🐶
Unpacked dimension range must be declared in big-endian ([0:N-1]) order. Declare zero-based big-endian unpacked dimensions sized as [N]. [Style: unpacked-ordering] [unpacked-dimensions-range-ordering]

parameter int cord_markers_pos_p[dims_p:0] = '{ 5, 4, 0 }
) (
);
typedef struct packed {
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [verible-verilog-lint] reported by reviewdog 🐶
Remove trailing spaces. [Style: trailing-spaces] [no-trailing-spaces]

) (
);
typedef struct packed {
logic [cord_markers_pos_p[dims_p]-1:0 ] cord;
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [verible-verilog-lint] reported by reviewdog 🐶
Remove trailing spaces. [Style: trailing-spaces] [no-trailing-spaces]

);
typedef struct packed {
logic [cord_markers_pos_p[dims_p]-1:0 ] cord;
} bsg_wormhole_router_header_s;
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

⚠️ [verible-verilog-lint] reported by reviewdog 🐶
Struct names have to end with _t [Style: struct-union-conventions] [struct-union-name-style]

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant