[logo] 
 
Home
News
Activity
About/Contact
Major Tools
  Dinotrace
  Verilator
  Verilog-mode
  Verilog-Perl
Other Tools
  BugVise
  CovVise
  Force-Gate-Sim
  Gspice
  IPC::Locker
  Rsvn
  SVN::S4
  SystemPerl
  Voneline
  WFH
General Info
  Papers

Patch #429

Remove interfaced ports from auto-inst of interfaces

Added by Julian Gorfajn over 1 year ago. Updated over 1 year ago.

Status:Closed Start date:01/05/2012
Priority:Normal Due date:
Assignee:Wilson Snyder % Done:

0%

Category:Autos
Target version:-

Description

Our use of interfaces uses actual ports for rtl connections and interfaced ports for observation and stimulus. Ideally, what we want to for the interfaced ports not to appear when verilog-auto is run. I have made a small modification to rev 735 to offer the ability to shut off interfaced ports. Below is the diff. Can you implement this feature?

diff verilog-mode-735-orig.el verilog-mode-735.el
686a687,693
> (defcustom verilog-auto-no-interfaced-ports nil
>   "*Non-nil means that interfaced ports in interfaces should not
> be added to the port list" 
>   :group 'verilog-mode-actions
>   :type 'boolean)
> (put 'verilog-auto-no-interfaced-ports 'safe-local-variable `stringp)
> 
10721,10723c10728,10732
<           (verilog-insert-indent "// Interfaced\n")
<           (verilog-auto-inst-port-list sig-list indent-pt
<                                        tpl-list tpl-num for-star par-values)))
---
>           (when (not verilog-auto-no-interfaced-ports)
>             (verilog-insert-indent "// Interfaced\n")
>             (verilog-auto-inst-port-list sig-list indent-pt
>                                          tpl-list tpl-num for-star par-values))
>           ))

History

Updated by Wilson Snyder over 1 year ago

  • Status changed from New to Closed

I added 'verilog-auto-inst-interfaced-ports' with the opposite sense (to avoid the negation in the definition) to r773.

Thanks for the patch.

Also available in: Atom