INF2XNF: Fatal Error: --------------------------------------------------- A 'PTG' syntax error was detected at line number '##' of INF file '<file>.inf'. '|LINK'
Solution
The most common cause of this error is:
1) The schematic contains a set of global XC7000 attributes as text:
|global |mrinput=on |preload_opt=off etc.
2) The schematic also contains a set of LINK statements to other schematics:
|link |sheet2.sch |sheet3.sch etc.
If these sets of text are vertically aligned, even if there are blank lines in between, the INET program assumes that these sets of text are related, and writes the INF file accordingly.
SDT2XNF sees an INF file with '|link' as a global XC7000 attribute. Since this is not a vaild attribute, SDT2XNF issues the syntax error.
Move the sets of text so that they are no longer vertically aligned.