veripool / verilog-mode

Verilog-Mode for Emacs with Indentation, Hightlighting and AUTOs. Master repository for pushing to GNU, verilog.com and veripool.org.
http://veripool.org/verilog-mode
GNU General Public License v3.0
257 stars 90 forks source link

Creating a wrapper module to convert module with SV interface into SV ports.. #1689

Closed engrvns closed 4 years ago

engrvns commented 4 years ago

How can we use verilog-mode to create a wrapper module to convert a module which has SV interfaces into a wrapper with SV ports.

Thanks in advance Egr

wsnyder commented 4 years ago

Perhaps AUTOASSIGNMODPORT will get you close? But you might end up needing to either do this by hand or write some custom Lisp to do this (based on e.g. verilog-auto-assign-mod-port).

wsnyder commented 4 years ago

Perhaps AUTOASSIGNMODPORT is close to what you want? Otherwise you might need to do it by hand, or write a new AUTO based on the e.g. verilog-auto-assign-mod-port. If you write something new please feel free to contribute back.