Altera_Forum
Honored Contributor
12 years agoverilog testbench file in emacs verilog mode
The testbench templates created by quartus-II (Processing->Start->Test Bench Template Writer) produce <filename>.vt files. When I try to open them in my emacs text editor, they do not open in verilog mode. Does anyone know if there is a way to:
1.) Change the default extension used by the Test Bench Template Writer to be something like, say, <filename>_tb.v 2.) Force emacs to open a <filename>.vt file in verilog mode I've been changing the filenames manually, but this requires annoying extra steps every time I create a new test bench. Thanks!