Closed kopinions closed 1 year ago
Thanks for looking into the code and making a pull request!
In general to accept a patch I'll need the patch to include a test/{something}.v for the new case (unless an existing one covers it), and appropriate test_ok/something.v file that shows the correct output result. A "HARNESS_UPDATE_GOLDEN=1 make test" can generate the test_ok files.
As to the specific patch, the comment right above what you inserted indicates why that might not be what you want:
;; Want "type x" or "output type x", not "wire type x"
How can I get the
input wire [7:0] xx
from
/*AUTOINPUT*/
while the verilog-auto-wire-type is "wire", and the verilog-auto-declare-nettype is "wire"? It seems that this case is not covered, is this intentional?
I think your patch would only insert that for "input". Right now it's also doing it for output. Not sure which way inout should go.
Never heard back about this pull request, if you'd like it merged please update per the feedback, otherwise I'll just close it out, thanks.
We appreciate your contributing to Verilog-Mode.
By contributing you agree this code will be licensed under the GNU Public License.
Please check your github name is set to your real name (click on your avatar icon in upper right, then "settings" then "Name".) This should match your system's ~/.gitconfig user name.