Forum Discussion
AAlas3
Occasional Contributor
6 years agoA comment causes compilation error !
Hey guys,
I am doing a project and I found out that this comment caused a compilation error! I just don't know why
comment : /*/\/\/\/\/\/\/\/\/\/\*/
could anyone please tell me why ?
4 Replies
- sstrell
Super Contributor
What does the error say? Perhaps the first * is being interpreted as the start and end of the comment.
#iwork4intel
- AAlas3
Occasional Contributor
it says:
"Object(the name of the signal) is not declared, Verify the object name is correct. If the name is correct, declare the object."
for all regs and wires inside the Verilog code
- Vicky1
Regular Contributor
Hi,
Could you please check with Verilog-2001 version? older version of verilog might not supported.
'Assignments' Menu-> 'Settings'.
Regards,
Vicky
- AAlas3
Occasional Contributor
Yes it is Verilog 2001, I think this happened because of the escaping mechanism in Verilog (\ " ")