Project

General

Profile

Actions

Bug #8739

closed

VerilogStaticChecker causes an exception when handling variables with parameter-defined length

Added by Alexander Kamkin about 6 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Target version:
Start date:
02/26/2018
Due date:
% Done:

0%

Estimated time:
Detected in build:
svn
Platform:
Published in build:

Description

The reason is clear. Parameters (except, probably, localparam) are considered as variables until the design is elaborated (they can be redefined in instances). VerilogStaticChecker works at the AST level.

A possible workaround is to use default values in VerilogStaticChecker and to use final values in VerilogElaborator.

Actions

Also available in: Atom PDF