The following error message may be seen when using JAM STAPL Player to program .jam file for Intel® Stratix® 10 FPGA.
Error on line xxxxx: syntax error
Program terminated.
Elapsed time = xx:xx:xx
JAM STAPL Player can't support the syntax of DRSCAN-CAPTURE-COMPARE-MASK statement in .jam file, to workaround it, break it into 3 statements as the following example.
Change from:
DRSCAN J24, A29[(J24-1)..0], CAPTURE J17[(J24-1)..0], COMPARE J16[(J24-1)..0], J19[(J24-1)..0], V40;
To:
DRSCAN J24, A29[(J24-1)..0], CAPTURE J17[(J24-1)..0];V40 = 0;IF ((INT(J17[(J24-1)..0]) & INT(J19[(J24-1)..0])) == (INT(J16[(J24-1)..0]) & INT(J19[(J24-1)..0]))) THEN V40 = 1;
The issue will be fixed in the future Intel® Quartus® Prime software.