Hi AllI'm trying to recompile the standard GHRD for the Terasic De10-Nano Cyclone V SoC Board, and following the instructions (User Manual chapter 7) very carefully, it fails with a great number of errors (and four warnings), the first one a complaint about a missing file hps_AC_ROM.hex. This file does exist, in the soc_system/synthesis/submodules/ directory. Has anyone met this? Or can give any useful pointer for what to try? The source is from Terasic's DE10-Nano CD-ROM v 1.2.3 (but the versions of this CD do the same thing). To repeat the error:
cp -Rp cdrom/Demonstrations/SoC_FPGA/DE10_NANO_SoC_GHRD GHRDx
I managed to solve it ...Guessing a missing dependency of some kind, strace and fgrep ENOENT eventually gave the clues. Quartus requires "make", but they don't tell you in the documentation. There is also a bug, in that Quartus continues after failing to find "make", or if make returns non-zero exit status. Bug reports filed with Altera, we shall see how they respond. In the example, the calling process which expected to find hps_AC_ROM.hex makes a spurious error. (Make was supposed to get it from ./soc_system/synthesis/submodules/hps_AC_ROM.hex) The fix is trivial
sudo apt-get install makeThe bug exists in 16.0, 16.1, 17.0, 17.1 and I'd guess all previous. Oh for shame! In solving this I made installation scripts, happy to share if there's any demand. Jonathan.