- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
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!Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
--- Quote Start --- 2.) Force emacs to open a <filename>.vt file in verilog mode --- Quote End --- You're looking for auto-mode-alist This article looks fairly short and to the point: http://jeremy.zawodny.com/emacs/emacs-4.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
It worked! That was perfect, thanks for the link.

Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page