Using Special characters in Module name

Guest #4153127
Rate this post
• ▲ useful
▼ not useful
hi,
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 
name).
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;
end
 endmodule
-------------

Did I miss anything? Any help Please.

Reply

Note: the original post is older than 6 months. Please don't ask any new questions in this thread, but start a new one.

Formatting
  • [c]C-Code[/c]
  • [vhdl]VHDL-Code[/vhdl]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]
  • [[Title]] – link to an article
  • Link to another post: right-click its post ID (#8078628), copy the address, paste it into the text

More about formatting

Post long source code as an attachment, not in the text.

Already registered? Log in

Not shown to anyone. We send you a link; your post appears once you confirm it there.

By submitting you create a free account and accept the terms of use.