New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Internal Error: ...: ../V3Inst.cpp:294: Input pin width mismatch #595
Comments
Original Redmine Comment This is illegal code as an unpacked logic array cannot be connected to a logic signal. Verilator needs better type checking on pin connections and assignment. This will probably wait until unpacked array support is fully supported as otherwise the logic will need to be redone. |
Original Redmine Comment Not sure why you are saying about unpacked array. Everything is packed in this case. flop is defined as:
Signal declaration should be:
|
Original Redmine Comment One more thing: there is a simple workaround for this issue:
|
Original Redmine Comment Sorry, I'm confused as to the test, please send an exact example in test_regress/t/t_EXAMPLE.v format. |
Original Redmine Comment FYI this is waiting on a t_EXAMPLE.v from you, thanks. |
Original Redmine Comment Your test case is a valid case of incorrect RTL that causes internal verilator error (and I think should be addressed):
The problem I encountered is different:
I modified your test case to re-produce the issue:
If I change instantiation to this:
then verilator completes w/o error/warning. |
Original Redmine Comment The latest version in git has the problem:
|
Original Redmine Comment Fixed in git towards 3.845. |
Original Redmine Comment In 3.845. |
Author Name: Alex Solomatnikov
Original Redmine Issue: 595 from https://www.veripool.org
Original Date: 2012-12-22
RTL:
The text was updated successfully, but these errors were encountered: