Knowledge Base Article
Error(271004): Can't process assignment. Attribute format is illegal -- parsing error <text> (line <number>). Use legal format for ALTERA_ATTRIBUTE assignment.
Description
Due to a problem in the Intel® Quartus® Prime Pro Edition software in Linux* OS, this error may occur when trying to compile a design that was generated in Windows* OS and contains multiline syntax in the ALTERA_ATTRIBUTE.
Example: (* altera_attribute = "-name VIRTUAL_PIN ON -to a[*]; \
-name VIRTUAL_PIN ON -to b[*]; \
-name VIRTUAL_PIN ON -to clock" *)
The use of multiline syntax for ALTERA_ATTRIBUTE in the Intel® Quartus® Prime Pro Edition software in Windows* OS contains Windows* DOS* line endings that may cause this error.
Resolution
To work around this problem in the Intel® Quartus® Prime Pro Edition software in Linux* OS, convert the design file to use UNIX* line ending format.