verilog-mode and auto-inst

J

Jason Zheng

Guest
Hi,

I'm using the auto-inst function from verilog-mode in emacs. It is an
extremely convenient function except that I can't get it to grab the
right module definition automatically. I'm instantiating a module that
is defined by another file in the same directory. But everytime I try to
do this, emacs complains that it can't find the file.

The file name is exactly like the module name with .v extention, and by
default verilog-mode should look into that file, right? So far, the only
way I could get auto-inst to work is to copy-n-paste a header into the
file that I need to use auto-inst.

thanks in advance if you should shed some light on this.

-jz
 
Jason Zheng wrote:
I'm using the auto-inst function from verilog-mode in emacs. It is an

extremely convenient function except that I can't get it to grab the
right module definition automatically. I'm instantiating a module
that
is defined by another file in the same directory. But everytime I try
to
do this, emacs complains that it can't find the file.
Most likely you forget to insert the name of the module you want to
instantinate - it should be:
module_name instance_name(...
 

Welcome to EDABoard.com

Sponsor

Back
Top