Device Family: Intel® Stratix® 10 SX, Intel® Stratix® 10 TX

Intel Software: SoC EDS

Type: Answers

Area: Embedded


Last Modified: October 29, 2018
Version Found: v18.1
Bug ID: FB: 598702;

Why do I get makefile errors when compiling the Intel® Stratix® 10 Golden Hardware Reference Design Example for VGS2 devices?

Description

When the makefile for the Intel® Stratix® 10 Golden Hardware Reference Design in the Intel SoC FPGA Embedded Development Suite is modified to target the 1SX280LU2F50E2VGS2 device found on the Intel Stratix 10 SX Development kit, the following errors may be seen when using the targets ‘scrub_clean’, ‘generate_from_tcl’, and ‘sof’:

Makefile:474: warning: overriding recipe for target 'output_files/ghrd_1sx280lu2f50e2vgs2'

Makefile:467: warning: ignoring old recipe for target 'output_files/ghrd_1sx280lu2f50e2vgs2'

Makefile:483: warning: overriding recipe for target 'output_files/ghrd_1sx280lu2f50e2vgs2'

Makefile:474: warning: ignoring old recipe for target 'output_files/ghrd_1sx280lu2f50e2vgs2'

make: Circular output_files/ghrd_1sx280lu2f50e2vgs2 <- output_files/ghrd_1sx280lu2f50e2vgs2 dependency dropped.

make: Circular _hps.sof <- output_files/ghrd_1sx280lu2f50e2vgs2 dependency dropped.

make: *** No rule to make target 'ghrd_1sx280lu2f50e2vgs2', needed by 'stamp/18.1/quartus.stamp'.  Stop.

Workaround/Fix

The line in the makefile specifying the QUARTUS_DEVICE for the -S2 parts has a space character at the end of the line.  This character must be removed before the make targets will build without error.  Alternatively, one can run ‘make scrub_clean generate_from_tcl quartus_edit’, which will generate a new -S2 project and open Quartus.  From there, the GUI build flow will complete successfully.  This problem is expected to be fixed in a future version of the SoC Embedded Development Suite.