Skip to content
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

AUTOINPUT can not create signal with nettype #1754

Open
kopinions opened this issue Nov 30, 2021 · 1 comment
Open

AUTOINPUT can not create signal with nettype #1754

kopinions opened this issue Nov 30, 2021 · 1 comment

Comments

@kopinions
Copy link

Code snippet like below
/*AUTOINPUT*/

generated like below

input a;
input [7:0] b;

the setting is below

verilog-auto-declare-nettype="wire"
verilog-auto-wire-type="wire"

after some investgation, it seems that when I set the auto-wire-type, the declare nettype is not work

@wsnyder
Copy link
Member

wsnyder commented Nov 30, 2021

verilog-auto-wire-type is only for AUTOLOGIC/AUTOWIRE. verilog-auto-declare-nettype should work though, see this example: https://github.com/veripool/verilog-mode/blob/master/tests/autoinput_none.v

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants