AI Suite - core_hw.tcl error
Hello Altera Community. Can someone explain what the purpose of the core_hw.tcl file is? It gives me an error about some static_files.tcl file. core_hw.tcl is a file that appears at the top of an ip repo after using the dla_create_ip command. Error: C:\Users\mads\Desktop\testHANDMATH\ip_handmath\altera_ai_ip\core_hw.tcl: couldn't read file "C:/Users/mads/Desktop/testHANDMATH/ip_handmath/altera_ai_ip/static_files.tcl": no such file or directory Personally I fix this by pointing my search path at the verilog folder, instead of the top of the IP folder. ip_repo is my folder generated by dla_create_ip c:/users/mads/desktop/test/ip_repo/altera_ai_ip/verilog\**\*Solved20Views0likes2CommentsHow does the FPGA AI Suite utilize Agilex 5 DSP Blocks?
Hello Altera Community. I have a module called "dot_bf16" that uses the bf16 floating point format to calculate dot product and I am wondering if it uses the Agilex5 AI optimized DSP blocks to do this. I can't myself see how the DSP blocks are configured because they are all encrypted. 1. Agilex™ 5 Variable Precision DSP Blocks Overview • Variable Precision DSP Blocks User Guide Agilex™ 5 FPGAs and SoCs • Altera Documentation and Resources Center This document states that there are 3 operational modes for tensor mode: 1. Tensor float point mode 2. Tensor fixed point mode 3. Tensor accumulation mode Does the FPGA AI Suite utilize any of these? I also noticed the module uses a FSM and controller.Solved25Views0likes1CommentAI Suite - Why does the Sequential IP not take a model argument?
Hello Altera Community Why does the Sequential IP not take a model argument? When targeting the Spatial IP, there is an argument where you can input your model, which is an xml file (and a bin file), exported using OpenVino. Then it will convert these weights and such to .mif files for the FPGA to load. This is easy to understand. The Sequential IP is a lot harder to understand. I get that the architecture file does all the fpga block related configuration. But I don't understand how it will know which weights to use. Does the Sequential IP only work for the pre defined example graphs?Solved42Views0likes4CommentsAI Suite - Spatial IP outputs wrong value
Hello Altera Community When looking at my Spatial IP in Signal Tap, I can see that it outputs a wrong value. Please help me identify where this mistakes happen. Below is the Signal Tap result of my test: 3D903C90 - 3D9C3D87 -BD983E38 However from my golden_output_sink_port_0.txt I'm expecting this value: 3D12BC8D - 3DA43E1E - 3DABBE18 Below is the Singal Tap of my input I'm inserting the values I got from input_vlogkw.txt from the DLA_COMPILER. Here is a list of warnings I got from Quartus, but they are from proteced sv files that I can't acess: Warning(16761): VHDL warning at spatial_first.vhd(146): actual for formal port "reset_reset" is neither a static name nor a globally static expression Warning(13469): Verilog HDL assignment warning at dot_core_controller.sv(381): truncated value with size 6 to match size of target (5) Warning(16788): Net "out[0][31]" does not have a driver at dsp_sum_of_2n_bf16xbf16.sv(118) Warning(13469): Verilog HDL assignment warning at dot_core_controller.sv(381): truncated value with size 6 to match size of target (5) Warning(21620): Design Assistant Results: 1 of 1 High severity rules issued violations in snapshot 'partitioned'. Please refer to DRC report 'C:/Users/mads/Desktop/test/quartus/output_files/spatial_first.drc.partitioned.rpt' for more information Warning(25315): Some pins are missing drive strength (current strength), termination and/or slew rate assignments. Refer to the I/O Assignment Warnings report for details. Warning(332158): Clock uncertainty characteristics of the A5EB013BB23BE4SR1 device are preliminary Warning(18291): Timing characteristics of device A5EB013BB23BE4SR1 are preliminary Warning(332060): Node: altera_reserved_tck was determined to be a clock but was found without an associated clock assignment. Warning(332158): Clock uncertainty characteristics of the A5EB013BB23BE4SR1 device are preliminary Warning(21620): Design Assistant Results: 3 of 34 High severity rules issued violations in snapshot 'final'. Please refer to DRC report 'C:/Users/mads/Desktop/test/quartus/output_files/spatial_first.tq.drc.signoff.rpt' for more information Attached is Netlist viewer of my Spatial IP.77Views0likes4CommentsAI Suite - Various Questions
Hello Altera Community I have a few questions about the AI Suite 1. Estimating whether a model will fit on an FPGA using a formula Suppose I have a neural network with x amount of layers and y amount of neurons in each layer. Then say I have a baord with an amount of DSP/ALMs/LUTs What could be an approximating formula (It does not need to be accurate). And what are the typical limiting factors? 2. Impact of the enable_parameter_rom parameter Is it correctly understood that this parameter determines whatever the mif (Memory initialization files) containing the weights are put inside a rom or external memory? Does this actually impact the speed? I would assume that the external memory might be faster than some of the bottleneck components in the AI IP block. 3. Any architecture options for the Spatial IP? My model uses a 16bf * 6 input, so I think it would make sense to increase the input stream size so it matches. But I don't know if the same options from the sequential IP also applies to the spatial IP, since the example is just two lines.Solved22Views0likes1CommentBuilding Card Image in FPGA AI Suite - missing CMakeLists.txt for hps_packages/protobuf/cmake
Hello, I'm working through the FPGA AI Suite Handbook 2026.1.1 and have got to the section where it builds the image with create_hps_image.sh, for example ./create_hps_image.sh -f $COREDLA_WORK/a10_perf_bitstream/hw/output_files -o jss10 -u -m arria10 It bulilds a fair bit but then falls over on making protobuf -------------------------------------------- cmake -G Ninja -B /home/ee05/coredla_work/runtime/hps_packages/protobuf/cmake/build_Release -Dprotobuf_BUILD_TESTS=OFF -Dprotobuf_BUILD_EXAMPLES=OFF -Dprotobuf_WITH_ZLIB=OFF -DCMAKE_POSITION_INDEPENDENT_CODE=ON -DCMAKE_INSTALL_PREFIX=/home/ee05/coredla_work/runtime/hps_packages/armcpu_package/protobuf -DCMAKE_TOOLCHAIN_FILE=/home/ee05/coredla_work/runtime/embedded_arm_sdk/cmake/embedded.arm.cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_EXPORT_NO_PACKAGE_REGISTRY=ON . CMake Error: The source directory "/home/ee05/coredla_work/runtime/hps_packages/protobuf/cmake" does not appear to contain CMakeLists.txt. ------------------------------------------- At first the complaint was protobuf wasn't installed so I installed it with sudo apt-get install -y protobuf-compiler and it then got to error above. Should there be a CMakeLists.txt in protobuf/cmake? Have I missed a step somewhere? here should the CMakeLists.txt come from? Any suggestions greatfully received. Best wishes, Jeremy P.S. I'm on Ubuntu 24.04Solved46Views0likes1CommentAI Suite - Is it possible to simulate the AI IP?
Hello Altera Community I have a spatial IP setup, where the dla compile gave me a single test and the corresponding output. I want to try and simulate this test in modelsim/questa, however some of the files are protected. ChatGPT have made me believe that it is possible to simulate it, as long as you do it through Quartus. I made a quartus project to test this, enabling the settings that generate simulation files. Now then I do tool -> run RTL simulation it succesfully starts questa, however questa gives the errors listed below. Before I spend anymore time on this, I want to ask if it is actually possible to simulate an AI IP? This is my first time working with other peoples IP, so I don't have the ability to tell when ChatGPT is telling me something wrong. C:/Users/mads/Desktop/test/quartus/ip/spatial/spatial_spatial_ai_ip_1/altera_spatial_ai_ip_10/sim/top_level.sv(232): Module 'dot_bf16' is not defined. # For instance 'inst_2' at path 'spatial_tb.u_spatial_first.u0.spatial_ai_ip_1.spatial_ai_ip_1.top_inst.spatial_ip' # ** Error: C:/Users/mads/Desktop/test/quartus/ip/spatial/spatial_spatial_ai_ip_1/altera_spatial_ai_ip_10/sim/top_level.sv(200): Module 'relu' is not defined. # For instance 'inst_4' at path 'spatial_tb.u_spatial_first.u0.spatial_ai_ip_1.spatial_ai_ip_1.top_inst.spatial_ip' # ** Error: C:/Users/mads/Desktop/test/quartus/ip/spatial/spatial_spatial_ai_ip_1/altera_spatial_ai_ip_10/sim/top_level.sv(181): Module 'dot_bf16' is not defined. # For instance 'inst_1' at path 'spatial_tb.u_spatial_first.u0.spatial_ai_ip_1.spatial_ai_ip_1.top_inst.spatial_ip'Solved39Views0likes1CommentAI Suite - Streaming from HPS to DLA IP
Hello Altera Community As seen in the soc s2m example, it is possible to stream data to the DLA IP using a HPS IP. By using the create hps image script it will output sd files that help with streaming and benchmarking. However the create hps image script only accepts these 3 targets: agilex5_mk_a5e065bb32aes1, agilex7_dk_si_agi027fa, or arria10. I'm using the board DE25-NANO (A5EB013BB23BE4SR1) and it does not seem that the agilex5 target works for this board. Am I missing something that makes it possible to run on this board? or should i create my own using the Embedded Development Suite which I recently learned about. Thanks in advance.Solved42Views0likes1CommentAI Suite - Custom model in the FPGA building process
Hello Altera Community. My question is: Where in the FPGA building process do I incorporate my costum neural network into the design? This is my current understanding of the FPGA building process: The IP block is generated with the dla create ip script, which takes arch file as input. The IP block is placed in platform designer, and then is connected to memory and signals. After compiling, the data is send to the design using runtime, (JTAG being the slowest) Where does the NN Model I made with PyTorch gets incorporated into all this?Solved54Views0likes1CommentAny date for the release of the Docker image alterafpga/fpgaaisuite-quartus-v2026.1.1?
The FPGA AI Suite Handbook v2026.1.1 refers to docker images alterafpga/fpgaaisuite-quartus-v2026.1.1 and alterafpga/fpgaaisuite-v2026.1.1 but docker desktop stops at alterafpga/fpgaaisuite-v2025.3. Could anyone give a best guess as to when it will become available? Best wishes, Jeremy161Views0likes3Comments