An instance of AMD cannot be generated in the HDL Coder
Ältere Kommentare anzeigen
When I was in fulfilling the following url, found that the DUT can't generate AMDFloatingpointoperators verilog code.
The version of matlab I'm using is R2024b. These are some configurations of my configuration parameters.



I want to know if my DUT still uses an NFP instance instead of an AMD instance. If so, then how should I set it up to generate an AMD instance on the website

2 Kommentare
From the Command Window output you shared, the Multiply and Add blocks are mapped to NFP, as shown in lines like:
### Working on hdlcoderAMDFPAndNFP/DUT/nfp_add_single as hdl_prj/hdlsrc/hdlcoderAMDFPAndNFP/nfp_add_single.v.
The expected output for blocks mapped to AMD Floating Point Operators should look like:
### Working on hdlcoderAMDFPAndNFP/DUT/amdfp_add_single_block as hdl_prj/hdlsrc/hdlcoderAMDFPAndNFP/amdfp_add_single_block.v.
Additionally, the Floating-Point Resource Report page in the Code Generation Report shows how floating-point blocks are mapped. For example, in the following report, the Adder and Multiplier are mapped to AMD Floating Point Operators, while tanh is mapped to NFP.

MATLAB R2024b officially supports Vivado version 2023.1, as stated in the https://uk.mathworks.com/help/releases/R2024b/hdlcoder/gs/language-and-tool-version-support.html .
Please verify the Vivado version you are using.
丰硕
am 21 Nov. 2025
Akzeptierte Antwort
Weitere Antworten (0)
Kategorien
Mehr zu Code Generation finden Sie in Hilfe-Center und File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!
