Begin the FPGA design flow by planning and creating your program using floating-point numbers, testing your design with a testbench, and debugging errors in your design. Creating your initial design using floating-point data types means you are not constrained to the limited ranges and precision of fixed-point data types when designing your application.
In a later phase of the design flow, you will convert your floating-point design, which runs on the host, to fixed-point code that runs efficiently on the FPGA.
Planning the elements of your design before you begin programming helps to make sure you make the most effective programming decisions for your design.
When you're ready to begin programming, pick the language that is best suited to the purpose of your design. After picking a language, create a document associated with the language you've chosen and create code for your design on the diagram of that document. The diagram palette provides nodes that you use to construct your design.
Refer to the following resources for help planning and creating your floating-point design.
Testing and debugging are essential practices for ensuring that your design functions properly and generates expected results.
In this phase of the design flow, test your floating-point design at the unit level in a testbench on the host. The unit level is the most fundamental level of code you can build that maps to a specific processing function. If your design generates unexpected results, identify and correct problems in your design using debugging tools.
Refer to the following resources for help testing and debugging your floating-point design.