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

Emacs batch mode autos fails with .va files #1527

Closed
veripoolbot opened this issue Sep 26, 2019 · 3 comments
Closed

Emacs batch mode autos fails with .va files #1527

veripoolbot opened this issue Sep 26, 2019 · 3 comments

Comments

@veripoolbot
Copy link
Collaborator


Author Name: Shareef Jalloq
Original Redmine Issue: 1527 from https://www.veripool.org


Hi,

I have a colleague trying to use AUTOINST on some .va files. We had to add a verilog-library-extensions variable to get it to work from within emacs but it still doesn't seem to work in batch mode.

Running 'emacs --batch .va -f verilog-batch-auto' results in a 'Symbol's function definition is void' error. Is there something extra I need to add to get the batch command working?

Cheers.

@veripoolbot
Copy link
Collaborator Author


Original Redmine Comment
Author Name: Wilson Snyder (@wsnyder)
Original Date: 2019-09-26T12:25:00Z


With the current Emacs:

I'm suspecting .va is fairly standard naming for Verilog AMS? If so I can update Emacs itself so future versions of Emacs will recognize .va - presuming it isn't already claimed by another language. Note it would be a while before this propagates to your OS (likely a year or more) so you'd still need the steps above for now.

@veripoolbot
Copy link
Collaborator Author


Original Redmine Comment
Author Name: Shareef Jalloq
Original Date: 2019-09-26T13:10:50Z


Yep, already updated the auto-mode-alist:

(add-to-list 'auto-mode-alist '("\.[ds]?v[ah]?\'" . verilog-mode))

@veripoolbot
Copy link
Collaborator Author


Original Redmine Comment
Author Name: Wilson Snyder (@wsnyder)
Original Date: 2019-09-27T14:28:20Z


Fixed Emacs sources (not verilog-mode.el itself). Emacs version 27.0 when eventually released will then work out-of-the-box.

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

1 participant