🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.vhdl
Article #475

Re: How to disable "_i" insertion on signals in emacs VHDL mode

#475
From: Mike Treseler
Date: Thu, 01 Feb 2007 03:13
33 lines
2058 bytes
chris.plachta@gmail.com wrote:

> Does anyone know how to disable the automatic insertion of "_i" on
> signals that are connect to a instance port map?
> 


If I say:
customize-apropos port

I see my settings:

Vhdl Actual Port Name: Hide
From regexp: .*
To string  : \&_s
   State: this option has been set and saved.
Specifies how actual port names are obtained from formal port names. Hide
In a component instantiation, an actual port name can be obtained by
modifying the formal port name (e.g. attaching or stripping off a
substring).

FROM REGEXP is a regular expression matching the original name:
  ".*"       matches the entire string
  "\(...\)"  matches a substring
TO STRING specifies the string to be inserted as new name:
  "\&"  means substitute entire matched text
  "\N"  means substitute what matched the Nth "\(...\)"
Examples:
  ".*"           "\&"    inserts original string
  ".*"           "\&_i"  attaches "_i" to original string
  "\(.*\)_[io]$" "\1"    strips off "_i" or "_o" from original string
  ".*"           "foo"   inserts constant string "foo"
  ".*"           ""      inserts empty string
Technical Details
Message-ID: <52d46rF1mntj1U1@mid.individual.net>
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
References: <1170273536.940804.311030@k78g2000cwa.googlegroups.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 1089ad,cf51338a5ab7abd3
X-Google-Thread: 103b8b,cf51338a5ab7abd3
X-Google-Attributes: gid1089ad,gid103b8b,public
X-Google-Language: ENGLISH,ASCII-7-bit
Path: arc1-ca.pugleaf.net!g2news2.google.com!news1.google.com!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail
From: Mike Treseler <mike_treseler@comcast.net>
Newsgroups: comp.lang.vhdl,gnu.emacs.help
Subject: Re: How to disable "_i" insertion on signals in emacs VHDL mode
Date: Wed, 31 Jan 2007 19:13:31 -0800
Lines: 33
Message-ID: <52d46rF1mntj1U1@mid.individual.net>
References: <1170273536.940804.311030@k78g2000cwa.googlegroups.com>
Mime-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-Trace: individual.net T88s23Obt5NA6EJtCuAYAAcOpM+WHe3dXz73KoOSqdgzrInp8E
User-Agent: Thunderbird 1.5.0.9 (X11/20060911)
In-Reply-To: <1170273536.940804.311030@k78g2000cwa.googlegroups.com>