Vivado [Synth 8-2715] syntax error near? Possible solutions to the problem

If your code is copied from Word, you can try to type it yourself;

Insert picture description here
Insert picture description here

I typed against the word in the front, and copied the word directly in the back. I looked at them carefully and there seemed to be no difference; but the front was passed, and the latter kept reporting syntax errors (maybe some escape characters were copied in?

Guess you like

Origin blog.csdn.net/roswellnotfound/article/details/108948651