Project

General

Profile

Bug #8739

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

Added by Alexander Kamkin almost 2 years ago. Updated over 1 year 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.

History

#1

Updated by Alexander Kamkin almost 2 years ago

  • Status changed from New to Resolved
#2

Updated by Alexander Kamkin over 1 year ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF