Thanks @yuguen for clarifying the content of add.sv
However I had followed the instructions and after I issue "make report" the following files are generated (there is no add.sv but rather add_report_di.sv which internally has a different module name and subsequently Quartus complains about missing top node. Why do I get add_report_di.sv rather than add.sv?
-rw-rw-r-- 1 tetto tetto 527 Feb 19 17:08 sys_description.txt
-rw-rw-r-- 1 tetto tetto 3831 Feb 19 17:08 sys_description.legend.txt
-rw-rw-r-- 1 tetto tetto 1860 Feb 19 17:08 sys_description.hex
-rw-rw-r-- 1 tetto tetto 105 Feb 19 17:08 opencl.ipx
-rw-rw-r-- 1 tetto tetto 4758 Feb 19 17:08 kernel_system.v
-rw-rw-r-- 1 tetto tetto 3388 Feb 19 17:08 kernel_system.tcl
-rw-rw-r-- 1 tetto tetto 7882 Feb 19 17:08 kernel_system.qip
-rw-rw-r-- 1 tetto tetto 31 Feb 19 17:08 kernel_system_import.tcl
-rw-rw-r-- 1 tetto tetto 70 Feb 19 17:08 kernel_report.tcl
-rw-rw-r-- 1 tetto tetto 1197 Feb 19 17:08 ipinterfaces.xml
-rw-rw-r-- 1 tetto tetto 72 Feb 19 17:08 ip_include.tcl
-rw-rw-r-- 1 tetto tetto 28 Feb 19 17:08 compiler_metrics.out
-rw-rw-r-- 1 tetto tetto 1197 Feb 19 17:08 board_spec.xml
-rw-rw-r-- 1 tetto tetto 0 Feb 19 17:08 add_report.v
-rw-rw-r-- 1 tetto tetto 3759 Feb 19 17:08 add_report_sys.v
-rw-rw-r-- 1 tetto tetto 18924 Feb 19 17:08 add_report_sys_hw.tcl
-rw-rw-r-- 1 tetto tetto 231 Feb 19 17:08 add_report.log
-rw-rw-r-- 1 tetto tetto 19180 Feb 19 17:08 add_report_di.sv
-rw-rw-r-- 1 tetto tetto 1307 Feb 19 17:08 add_report_di_inst.v
-rw-rw-r-- 1 tetto tetto 17892 Feb 19 17:08 add_report_di_hw.tcl
-rw-rw-r-- 1 tetto tetto 8393 Feb 19 17:08 add_report.bc.xml
drwxrwxr-x 2 tetto tetto 4096 Feb 19 17:08 ip
drwxrwxr-x 3 tetto tetto 4096 Feb 19 17:08 reports
drwxrwxr-x 3 tetto tetto 4096 Feb 19 17:08 kernel_hdl
drwxrwxr-x 3 tetto tetto 4096 Feb 19 17:08 include
drwxrwxr-x 3 tetto tetto 4096 Feb 19 17:08 linux64
Also in the instruction it is sad to copy these:
cp add-quartus-sln/add.sv add-quartus
$> cp add-quartus-sln/jtag.sdc add-quartus
but after "make report" the folder add-quartus-sln is not there, so also miss jtag.sdc