Questions tagged [verilog]
6 questions
7
votes
4 answers
How do I disable ffap (find file at point) when the first two non-space characters in a line are '//'?
In Verilog/C/C++, comments can begin with //.
Here's an example comment,
//This is a comment
I like to use the find-file-at-point feature. If my cursor is on the file name in `include "some_file.v".
But if my cursor is on the above example…

Kaushal Modi
- 25,203
- 3
- 74
- 179
4
votes
2 answers
Configure indentation logic to ignore certain lines?
I am using outshine to organize my code (verilog/systemverilog language).
Here is an example use:
// * Class definition
class my_class extends my_base_class;
// code ..
// ** Task 1 definition
virtual task my_task1;
// code ..
…

Kaushal Modi
- 25,203
- 3
- 74
- 179
2
votes
2 answers
Disable "Autocompletion"/"Abbreviation" in Verilog-Mode
When I use the Verilog Mode in spacemacs with evil keybindings, every time I type e.g. wire and press ESC, an automatic dialouge pops up and asks me msb:, lsb: and name (RET to end).
This is super annoying, since pressing ESC in the prompt often…

Jounathaen
- 151
- 7
2
votes
1 answer
Redefine verilog-mode header skeleton
The verilog-mode package contains this code:
(define-skeleton verilog-sk-header-tmpl
"Insert a comment block containing the module title, author, etc."
"[Description]: "
"// -*- Mode: Verilog -*-"
"\n// Filename …

adrianf0
- 23
- 2
0
votes
0 answers
Avoid auto-inserting extra space after manually inserting semicolon
I am using Verilog mode, and after closing the port declarations parenthesis, emacs always inserts a space at the beginning of corresponding line .
To be more clear:
module ffff
(
uuu,
bla
); // <--- extra space added at the beginning of…

simoxxxx
- 1
0
votes
3 answers
Verilog mode to navigate from begin to end
I am using verilog mode for Emacs. I am trying to find which begin is paired with which end. Is there any way to do this in Emacs?

Roarer
- 11
- 1