Forum: FPGA, VHDL & Verilog Using Special characters in Module name

Author: Anil (Guest)
Posted on:

Rate this post
0 useful
not useful
I have to use special character & in the module name and I have named 
the file name same as module name (added space at the end of the module 
I wasn't able to compile, looks like vcs is not accepting space in the 
file name :

module \&abc_123 ;
integer \&$$abc ;
initial begin
\&$$abc =20;
$display("&$$abc =%d",\&$$abc );
#10 $finish;

Did I miss anything? Any help Please.


Entering an e-mail address is optional. If you want to receive reply notifications by e-mail, please log in.

Rules — please read before posting

  • Post long source code as attachment, not in the text
  • Posting advertisements is forbidden.

Formatting options

  • [c]C code[/c]
  • [avrasm]AVR assembler code[/avrasm]
  • [vhdl]VHDL code[/vhdl]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]

Bild automatisch verkleinern, falls nötig
Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.