Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

There is a Platform Config Makefile for Xilinx, but not for Altera #204

Open
msaideroglu opened this issue Nov 14, 2024 · 1 comment
Open

Comments

@msaideroglu
Copy link

There is a Platform config Makefile for Xilinx xrt named platforms.mk, but not for Altera opae. When I try to run opae synthesis in DevCloud, it gives missing DPLATFORM_MEMORY_BANKS, DPLATFORM_MEMORY_ADDR_WIDTH error in synthesis report. Please check opae Makefile and give a proper platform configuration for Arria10 and Stratix10.
vortex/build/hw/syn/altera/opae$ PREFIX=test1 TARGET=fpga NUM_CORES=4 make
still gives @tinebp

Critical Warning (13432): Verilog HDL Compiler Directive warning at local_mem_cfg_pkg.sv(49): text macro "PLATFORM_MEMORY_ADDR_WIDTH" is undefined File: /home/u229371/Desktop/GPGPU/Vortex_GPGPU/vortex_v2.2/build/hw/syn/altera/opae/test1_arria10_fpga_4c/src/local_mem_cfg_pkg.sv Line: 49
Error (13411): Verilog HDL syntax error at local_mem_cfg_pkg.sv(49) near text / File: /home/u229371/Desktop/GPGPU/Vortex_GPGPU/vortex_v2.2/build/hw/syn/altera/opae/test1_arria10_fpga_4c/src/local_mem_cfg_pkg.sv Line: 49
Error (13411): Verilog HDL syntax error at local_mem_cfg_pkg.sv(50) near text ; File: /home/u229371/Desktop/GPGPU/Vortex_GPGPU/vortex_v2.2/build/hw/syn/altera/opae/test1_arria10_fpga_4c/src/local_mem_cfg_pkg.sv Line: 50
Critical Warning (13432): Verilog HDL Compiler Directive warning at local_mem_cfg_pkg.sv(52): text macro "PLATFORM_MEMORY_BURST_CNT_WIDTH" is undefined File: /home/u229371/Desktop/GPGPU/Vortex_GPGPU/vortex_v2.2/build/hw/syn/altera/opae/test1_arria10_fpga_4c/src/local_mem_cfg_pkg.sv Line: 52
Error (13411): Verilog HDL syntax error at local_mem_cfg_pkg.sv(52) near text ; File: /home/u229371/Desktop/GPGPU/Vortex_GPGPU/vortex_v2.2/build/hw/syn/altera/opae/test1_arria10_fpga_4c/src/local_mem_cfg_pkg.sv Line: 52
Warning (13228): Verilog HDL or VHDL warning at local_mem_cfg_pkg.sv(47): parameter declared inside package 'local_mem_cfg_pkg' shall be treated as localparam File: /home/u229371/Desktop/GPGPU/Vortex_GPGPU/vortex_v2.2/build/hw/syn/altera/opae/test1_arria10_fpga_4c/src/local_mem_cfg_pkg.sv Line: 47
Error (13414): Verilog HDL error at local_mem_cfg_pkg.sv(49): system call "clog2" must have exactly one argument File: /home/u229371/Desktop/GPGPU/Vortex_GPGPU/vortex_v2.2/build/hw/syn/altera/opae/test1_arria10_fpga_4c/src/local_mem_cfg_pkg.sv Line: 49
Warning (13228): Verilog HDL or VHDL warning at local_mem_cfg_pkg.sv(49): parameter declared inside package 'local_mem_cfg_pkg' shall be treated as localparam File: /home/u229371/Desktop/GPGPU/Vortex_GPGPU/vortex_v2.2/build/hw/syn/altera/opae/test1_arria10_fpga_4c/src/local_mem_cfg_pkg.sv Line: 49
Error (13406): Verilog HDL error at local_mem_cfg_pkg.sv(55): object "LOCAL_MEM_DATA_WIDTH" is not declared File: /home/u229371/Desktop/GPGPU/Vortex_GPGPU/vortex_v2.2/build/hw/syn/altera/opae/test1_arria10_fpga_4c/src/local_mem_cfg_pkg.sv Line: 55
Warning (13228): Verilog HDL or VHDL warning at local_mem_cfg_pkg.sv(55): parameter declared inside package 'local_mem_cfg_pkg' shall be treated as localparam File: /home/u229371/Desktop/GPGPU/Vortex_GPGPU/vortex_v2.2/build/hw/syn/altera/opae/test1_arria10_fpga_4c/src/local_mem_cfg_pkg.sv Line: 55
Error (13406): Verilog HDL error at local_mem_cfg_pkg.sv(62): object "LOCAL_MEM_DATA_WIDTH" is not declared File: /home/u229371/Desktop/GPGPU/Vortex_GPGPU/vortex_v2.2/build/hw/syn/altera/opae/test1_arria10_fpga_4c/src/local_mem_cfg_pkg.sv Line: 62
Error (17457): Verilog HDL error at local_mem_cfg_pkg.sv(62): range must be bounded by constant expressions File: /home/u229371/Desktop/GPGPU/Vortex_GPGPU/vortex_v2.2/build/hw/syn/altera/opae/test1_arria10_fpga_4c/src/local_mem_cfg_pkg.sv Line: 62
Error (13406): Verilog HDL error at local_mem_cfg_pkg.sv(64): object "LOCAL_MEM_BURST_CNT_WIDTH" is not declared File: /home/u229371/Desktop/GPGPU/Vortex_GPGPU/vortex_v2.2/build/hw/syn/altera/opae/test1_arria10_fpga_4c/src/local_mem_cfg_pkg.sv Line: 64
Error (17457): Verilog HDL error at local_mem_cfg_pkg.sv(64): range must be bounded by constant expressions File: /home/u229371/Desktop/GPGPU/Vortex_GPGPU/vortex_v2.2/build/hw/syn/altera/opae/test1_arria10_fpga_4c/src/local_mem_cfg_pkg.sv Line: 64
Error (13363): Verilog HDL error at local_mem_cfg_pkg.sv(69): package "local_mem_cfg_pkg" ignored due to previous errors File: /home/u229371/Desktop/GPGPU/Vortex_GPGPU/vortex_v2.2/build/hw/syn/altera/opae/test1_arria10_fpga_4c/src/local_mem_cfg_pkg.sv Line: 69

@msaideroglu
Copy link
Author

You need to fix bugs and undeclared objects in local_mem_cfg_pkg.sv

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant