Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
16606 Discussions

A comment causes compilation error !

AAlas3
New Contributor I
874 Views

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 ?

0 Kudos
4 Replies
sstrell
Honored Contributor III
706 Views

What does the error say? Perhaps the first * is being interpreted as the start and end of the comment.

 

#iwork4intel

0 Kudos
AAlas3
New Contributor I
706 Views

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

0 Kudos
Vicky1
Employee
705 Views

Hi,

Could you please check with Verilog-2001 version? older version of verilog might not supported.

'Assignments' Menu-> 'Settings'.Verilog2001.JPG

Regards,

Vicky

0 Kudos
AAlas3
New Contributor I
705 Views

Yes it is Verilog 2001, I think this happened because of the escaping mechanism in Verilog (\ " ")

0 Kudos
Reply