typedef inside module causes internal error
|Assignee:||Wilson Snyder||% Done:||
module ... ... typedef logic [6-1:0] six_bits; ... endmodule
%Error: Internal Error: ...v:273: ../V3EmitC.cpp:630: Unknown node type reached emitter: RANGE
Updated by Wilson Snyder over 1 year ago
- Category set to TranslationError
- Status changed from New to AskedReporter
- Assignee set to Wilson Snyder
Can you please attach a complete test and command line, preferably in test_regress format? The below works for me:
module t; typedef logic [6-1:0] six_bits; var six_bits s; endmodule
Updated by Alex Solomatnikov over 1 year ago
Unfortunately, it looks like this error happens only when I compile the whole design. Even when I tried to compile a single module, where error happens, compile does not fail.
So, it seems unlikely that I would be able to construct simple test case.
Given low priority, I would just ignore this issue.
Also available in: Atom