Closed veripoolbot closed 5 years ago
Original Redmine Comment Author Name: Wilson Snyder (@wsnyder) Original Date: 2019-06-15T00:42:46Z
You're right the examples were a mess. Went through them all and made sure matched outputs.
Fixed in verilog-mode git. Keeping bug non-closed to remember to push to Emacs itself; at the moment their git server seems down.
Original Redmine Comment Author Name: Wilson Snyder (@wsnyder) Original Date: 2019-06-15T12:18:51Z
Pushed to Emacs trunk towards Emacs 27.0.
Author Name: Paul Donahue Original Redmine Issue: 1466 from https://www.veripool.org
Original Assignee: Wilson Snyder (@wsnyder)
I think that there are a few related bugs in the documentation. It all seems to have to do with the port names on InstModule in the examples. The output port is named "o" rather than "ov".
verilog-auto-inst says:
Note that verilog-auto will not output that. It will output something very similar but with both instances of the string "ov" replaced by "o". The last line of prose should also probably say "came from the InstModule module" or "came from InstModule".
verilog-auto-inst later says:
That should also say "o" instead of "ov".
verilog-auto-wire says:
Same thing there but this is more complicated. There is no "ov" in the verilog-auto-inst code that is being referenced so when I run this through verilog-auto, I don't get any AUTOWIRE expansion at all. That kind of defeats the purpose of the example. The correct way to fix all of these problems is probably to rename the output on InstModule and ExampleInst in the verilog-auto-inst example to be "ov". I suspect that the ports were originally named "ov" and that these bugs and any others I may not have found yet were introduced when "ov" was renamed to "o".