Escaped identifiers in VHDL ? 
Author Message
 Escaped identifiers in VHDL ?

Does the VHDL language support anything like Verilog's
"escaped" identifiers (eg. "\funky-name!!" ) ?

If not, is there a standard or commonly employed method
for dealing with port, instance, and signal names that
would otherwise be considered illegal VHDL identifiers ?

Suggestion, example:  
attribute RENAMED_NAME of SIG1 : signal is "5&&2p1##lala" ;
or something like this.

Any ideas ?

-----------



Thu, 06 Mar 1997 02:16:54 GMT  
 Escaped identifiers in VHDL ?
|> Does the VHDL language support anything like Verilog's
|> "escaped" identifiers (eg. "\funky-name!!" ) ?
|>
|> If not, is there a standard or commonly employed method
|> for dealing with port, instance, and signal names that
|> would otherwise be considered illegal VHDL identifiers ?
|>
|> Suggestion, example:  
|> attribute RENAMED_NAME of SIG1 : signal is "5&&2p1##lala" ;
|> or something like this.
|>
|> Any ideas ?
|>
|>
|>
|> -----------

VHDL 93 has this extension, e.g.


You simply encapsulate such an identifier in \ \ . If you need a backslash
inside the name, double it. These so called extended identifiers are
valid wherever identifiers are allowed in the language. Note that they
are case sensitive as well. Also, an extended identifier is different from
any basic identifier with the same character sequence, e.g. \FOO\ is not FOO.

--

|  |   / GMD-SET German National Research  | Phone: (+49) 2241 14 2448
|__|  /  Center for Computer Science       | Fax:   (+49) 2241 14 2342
|  | /   Schloss Birlinghoven              | Had a nightmare yesterday:
|  |/    53754 St. Augustin, Germany       | My system started up with
                                           | ... Booting vmunix.el ...



Fri, 07 Mar 1997 15:18:43 GMT  
 
 [ 2 post ] 

 Relevant Pages 

1. Escaped identifiers

2. Escaped identifiers

3. identifiers vs. IDENTIFIERS

4. CALL, identifier-2, and address-identifiers

5. Escape codes / printing a document with embedded escape codes

6. How to escape escape?

7. Expect script changing telnet escape using `set escape ^\` problem

8. Xemacs VHDL mode (vhdl.zip file, 83 Kbytes) - vhdl.zip (1/1)

9. Unknown identifier error with mask property

10. Unknown identifier error with mask property

11. Syntax Error:Unknown Identifier

12. unknown identifier window.

 

 
Powered by phpBB® Forum Software