Error in converting function into fixed point using HDL Coder
1 Ansicht (letzte 30 Tage)
Ältere Kommentare anzeigen
When converting my Simulink model to HDL code, I get the following error. Can you help me?
1 Kommentar
Kiran Kintali
am 31 Mär. 2021
Is the shipping example modified? Can you share your model? I do not see the error in the shipping example.
>> hdlcoder_led_blinking
>> hdlsaveparams(gcs)
%% Set Model 'hdlcoder_led_blinking' HDL parameters
hdlset_param('hdlcoder_led_blinking', 'HDLSubsystem', 'hdlcoder_led_blinking/led_counter');
hdlset_param('hdlcoder_led_blinking', 'OptimizationReport', 'on');
hdlset_param('hdlcoder_led_blinking', 'ResetType', 'Synchronous');
hdlset_param('hdlcoder_led_blinking', 'ResourceReport', 'on');
hdlset_param('hdlcoder_led_blinking', 'TargetDirectory', 'hdl_prj\hdlsrc');
hdlset_param('hdlcoder_led_blinking', 'Traceability', 'on');
>> makehdl(gcb)
### Generating HDL for 'hdlcoder_led_blinking/led_counter'.
### Using the config set for model hdlcoder_led_blinking for HDL code generation parameters.
### Running HDL checks on the model 'hdlcoder_led_blinking'.
### Begin compilation of the model 'hdlcoder_led_blinking'...
### Applying HDL optimizations on the model 'hdlcoder_led_blinking'...
### Begin model generation.
### Model generation complete.
### Begin VHDL Code Generation for 'hdlcoder_led_blinking'.
### Working on hdlcoder_led_blinking/led_counter as hdl_prj\hdlsrc\hdlcoder_led_blinking\led_counter.vhd.
### Generating package file hdl_prj\hdlsrc\hdlcoder_led_blinking\led_counter_pkg.vhd.
### Code Generation for 'hdlcoder_led_blinking' completed.
### Generating HTML files for code generation report at hdlcoder_led_blinking_codegen_rpt.html
### Creating HDL Code Generation Check Report led_counter_report.html
### HDL check for 'hdlcoder_led_blinking' complete with 0 errors, 0 warnings, and 0 messages.
### HDL code generation complete.
>>
Antworten (1)
Kiran Kintali
am 23 Apr. 2023
Getting Started with Targeting Xilinx Zynq Platform
This example shows how to use the hardware-software co-design workflow to blink LEDs at various frequencies on the Xilinx® Zynq® ZC702 evaluation kit.
For further evaluation questions about HDL Coder you can check out
0 Kommentare
Siehe auch
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!