-
Notifications
You must be signed in to change notification settings - Fork 8
Add AssignLocalParamStaticFunction test #704
base: master
Are you sure you want to change the base?
Conversation
Signed-off-by: Kamil Rakoczy <krakoczy@antmicro.com>
| endfunction | ||
|
|
||
| localparam int unsigned VADDR = ASSIGN_VADDR(); | ||
| if (VADDR[0] != 5) begin |
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.
Use spaces, not tabs. [Style: tabs] [no-tabs]
| endfunction | ||
|
|
||
| localparam int unsigned VADDR = ASSIGN_VADDR(); | ||
| if (VADDR[0] != 5) begin |
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.
All generate block statements must have a label [Style: generate-statements] [generate-label]
|
|
||
| localparam int unsigned VADDR = ASSIGN_VADDR(); | ||
| if (VADDR[0] != 5) begin | ||
| $fatal(1,"--[0] should be 5 "); |
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.
Use spaces, not tabs. [Style: tabs] [no-tabs]
| localparam int unsigned VADDR = ASSIGN_VADDR(); | ||
| if (VADDR[0] != 5) begin | ||
| $fatal(1,"--[0] should be 5 "); | ||
| 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.
Use spaces, not tabs. [Style: tabs] [no-tabs]
| if (VADDR[0] != 5) begin | ||
| $fatal(1,"--[0] should be 5 "); | ||
| end; | ||
| if (VADDR[1] != 5) begin |
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.
Use spaces, not tabs. [Style: tabs] [no-tabs]
| if (VADDR[0] != 5) begin | ||
| $fatal(1,"--[0] should be 5 "); | ||
| end; | ||
| if (VADDR[1] != 5) begin |
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.
All generate block statements must have a label [Style: generate-statements] [generate-label]
| $fatal(1,"--[0] should be 5 "); | ||
| end; | ||
| if (VADDR[1] != 5) begin | ||
| $fatal(1,"--[1] should be 5"); |
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.
Use spaces, not tabs. [Style: tabs] [no-tabs]
| end; | ||
| if (VADDR[1] != 5) begin | ||
| $fatal(1,"--[1] should be 5"); | ||
| 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.
Use spaces, not tabs. [Style: tabs] [no-tabs]
Signed-off-by: Kamil Rakoczy krakoczy@antmicro.com