Error while selecting my LED PORT HDL CODER -ZC706 KIT
10 views (last 30 days)
Show older comments
Error while selecting my LED PORT
HDL CODER -ZC706 KIT
IT SHOWING FOR ME -MATLAB 2024-
LED -0:3 SHOWING IN MY OPTION.
IN LINK THEY ARE SELECTING 0:7
1 Comment
Dhruv
on 15 Jul 2025
Hi @sridhar
Could you share the complete error message along with information about what you're trying to achieve?
Answers (1)
Sai
3 minutes ago
Let me explain the error clearly !
- The example document explains the enitre workflow considering the Target platform as Xilinx Zynq ZC702 evaluation kit This kit have 8 GPLEDs on the board.
- Accordingly, this external interface for LEDs is defined in the plugin_board.m file located at (matlab\toolbox\hdlcoder\boards\amd\+ZynqZC702). You can see 8 pins defined in the file.
- So, in interface table mapping, it is showing LEDs General Purpose[0:7] for hdlcoder_led_blinking.slx which have LED port width as 8 without any issues
In your case
- You are using Xilinx Zynq ZC706 evaluation kit which have only 4 GPLEDs on the board.
- Accordingly, this external interface for LEDs is defined in the plugin_board.m file located at (matlab\toolbox\hdlcoder\boards\amd\+ZynqZC706). You can see 4 pins defined in the file.
- If you use the same hdlcoder_led_blinking.slx (whose LED port width is 8) model for targeting ZC706 kit (which accepts only 4 bit for LED mapping), it shows the error at target interface table mapping, the one you are currently facing and this is expected as there is mismatch with the Simulink port width and the LEDs interface you defined in the plugin_board.m file
To overcome the issue, you might have to use the hdlcoder_led_blinking_4bit.slx (mentioned in the example document as well) for targeting ZC706 . This model is customized in such a way that LED port width is 4 instead of 8.
0 Comments
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!