Is $bits(interface.port) supported? #2085
Labels
area: elaboration
Issue involves elaboration phase
resolution: duplicate
Closed; issue or pull request already exists
Uh oh!
There was an error while loading. Please reload this page.
Test Code
Error
localparam D_WIDTH = $bits(snk_if.data);
gives error Parameter-resolved constants must not use dotted references: 'data'Question
$bits(snk_if.data)
works on questa and quartus, but not on verilator. Is this not an unnecessary feature? If so, can it be added easily?The text was updated successfully, but these errors were encountered: