Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion hw/ip/spatz_cc/src/spatz_cc.sv
Copy link
Collaborator

Choose a reason for hiding this comment

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

Can we directly assign a wire when declaring it in sv? I think we should assign the value to 0 at the beginning of initial block instead

Original file line number Diff line number Diff line change
Expand Up @@ -478,7 +478,7 @@ module spatz_cc
// pragma translate_off
int f;
string fn;
logic [63:0] cycle;
logic [63:0] cycle = '0;

initial begin
// We need to schedule the assignment into a safe region, otherwise
Expand Down