An instance of AMD cannot be generated in the HDL Coder
Show older comments
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 Comments
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.
丰硕
on 21 Nov 2025
Accepted Answer
More Answers (0)
Categories
Find more on Code Generation in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!