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
AUTOINOUTMODULE not working in emacs batch mode #1450
Comments
Original Redmine Comment You're missing a parenthesis in the second to last line. If you look at Messages in your interactive session you should see a similar message, it likely works because you already have another buffer with the submodule and finds it that way. |
Original Redmine Comment Hi Wilson, Thanks for your response. However, I don't think thats the issue. To check your observation, I removed the variable part altogether and had something like following: module example_shell (/AUTOARG/) module example (*******)
|
Original Redmine Comment Ah, the correct batch line is:
(See the help page on verilog-auto for others.) |
Original Redmine Comment Thanks a lot Wilson....this helped....:) |
Original Redmine Comment Hi All, In my master file which is used to create shell files, I have some 'includes which define some variable values. To expand the 'define variables in my shell file, I used "// verilog-auto-read-includes:t" at the bottom of my shell file pre update, however when the shell file gets created I only get the port definitions with variables and content of 'include files is not used to expand the actual input or output port information. Getting: Expecting: Please let me know if I need more in my setup. Regards, |
Original Redmine Comment Defines are not used for AUTOINOUTMODULE, only for filename resolution and AUTOINST/AUTOWIRE, sorry. |
Author Name: Sumit Singh
Original Redmine Issue: 1450 from https://www.veripool.org
I am trying to generate shell files for given verilog modules. While doing this, I am encountering an issue when I try to use batch mode command for emacs.
Please find below more details;
When trying to generate shell files, I use following sample setup :
————————————————————-
module example_shell (/AUTOARG/)
/AUTOINOUTMODULE(“example”)/
endmodule
// Local Variables:
// verilog-library-directories : (“.” “../common”)
// verilog-library-files : (“../lib.sv”
// End:
————————————————————
The main module definition exists in verilog file in same hierarchy and with local variables we are able to get the information.
This setup works when I interactively open emacs and do C-c C-a.
However, when I try to generate shell using batch command :
“emacs file.sv —batch -l verilog-mode.el -f verilog-auto-inout-module”
I get following error:
“Expected 1 parameters”
Thanks a lot for your help.
Regards,
Sumit
The text was updated successfully, but these errors were encountered: