Getting Started with Targeting Xilinx Zynq Platform
Mostrar comentarios más antiguos
Hi,
I was following the example available here: https://www.mathworks.com/help/hdlcoder/ug/getting-started-with-hardware-software-codesign-workflow-for-xilinx-zynq-platform.html#d122e108434.
I get the following error at : 3. Generate the IP Core.
Failed Task "Vivado IP Packager" unsuccessful. See log for details. Generated logfile: hdl_prj\hdlsrc\hdlcoder_led_blinking\workflow_task_VivadoIPPackager.log
Error using hdlturnkey.ip.IPEmitterVivado/packageVivadoIP
Task "Vivado IP Packager" unsuccessful. See log for details.
Generated logfile: hdl_prj\hdlsrc\hdlcoder_led_blinking\workflow_task_VivadoIPPackager.log
Error in hdlturnkey.ip.IPEmitterVivado/generateIPCore
Error in hdlturnkey.ip.IPDriver/generateIPCore
Error in hdlturnkey.TurnkeyDriver/makehdlturnkeycore
Error in hdlturnkey.TurnkeyDriver/makehdlturnkey
Error in slhdlcoder.HDLCoder/makehdlturnkey
Error in downstream.DownstreamIntegrationDriver/runIPCoreCodeGen
Error in generateIPCore
Error in Simulink.ModelAdvisor/executeCheckCallbackFct
Error in Simulink.ModelAdvisor/run
Error in Simulink.ModelAdvisor/runCheck
Error in ModelAdvisor.Node/runTaskAdvisor
Error in ModelAdvisor.Node.runtohere>runToBreakpoint
Error in ModelAdvisor.Node.runtohere
I am using Vivado 2018.2.
Accordingly, I set up the Xilinx Vivado synthesis tool path using the following command:
hdlsetuptoolpath('ToolName', 'Xilinx Vivado', 'ToolPath', 'C:\Xilinx\Vivado\2018.2\bin\vivado.bat');
Upon typing h = zynq in the command window I get:
h = zynq
h =
LinuxShell with properties:
IPAddress: '169.254.0.2'
Username: 'root'
Port: 22
Any help is much appreciated!
Thanks,
Vishnu
P.S.: Some additional images and dialogues are given in the comments below
14 comentarios
Vishnu Narayan Vipin
el 12 de Nov. de 2020
Vishnu Narayan Vipin
el 12 de Nov. de 2020
Editada: Vishnu Narayan Vipin
el 12 de Nov. de 2020
Vishnu Narayan Vipin
el 12 de Nov. de 2020
Vishnu Narayan Vipin
el 12 de Nov. de 2020
Vishnu Narayan Vipin
el 12 de Nov. de 2020
Vishnu Narayan Vipin
el 12 de Nov. de 2020
Vishnu Narayan Vipin
el 12 de Nov. de 2020
Vishnu Narayan Vipin
el 12 de Nov. de 2020
Vishnu Narayan Vipin
el 12 de Nov. de 2020
Vishnu Narayan Vipin
el 12 de Nov. de 2020
Vishnu Narayan Vipin
el 13 de Nov. de 2020
Vishnu Narayan Vipin
el 13 de Nov. de 2020
Vishnu Narayan Vipin
el 13 de Nov. de 2020
Vishnu Narayan Vipin
el 13 de Nov. de 2020
Respuesta aceptada
Más respuestas (2)
Kiran Kintali
el 16 de Nov. de 2020
0 votos
The error essage seems to indicate this is an issue with Xilinx Vivado installation?
Task "Vivado IP Packager" unsuccessful. See log for details.
Generated logfile: hdl_prj\hdlsrc\hdlcoder_led_blinking\workflow_task_VivadoIPPackager.log
What does the error log say?
Thanks
4 comentarios
Vishnu Narayan Vipin
el 16 de Nov. de 2020
Editada: Vishnu Narayan Vipin
el 16 de Nov. de 2020
Vishnu Narayan Vipin
el 16 de Nov. de 2020
Vishnu Narayan Vipin
el 16 de Nov. de 2020
Vishnu Narayan Vipin
el 16 de Nov. de 2020
Editada: Vishnu Narayan Vipin
el 16 de Nov. de 2020
Kiran Kintali
el 17 de Nov. de 2020
0 votos
(follow up from my team)
Hi Kiran,
I think I might know the issue. In one of the images, I can see the Tool Version text box is empty. If the hdlsetuptoolpath command is run successful before invoking the HDLWA, then the GUI should have been updated with “2018.2” version of Vivado.
Can you try to run the hdlsetuptoolpath and then invoke the tool and ensure the tool version is updated correctly in the “tool Version” text box in the “Set Target Device and Synthesis Tool “ tab ?
The example is passing at my end when I use Vivado 2018.2.
Regards,
Vighnesh
10 comentarios
Vishnu Narayan Vipin
el 17 de Nov. de 2020
Vighnesh Kamath
el 17 de Nov. de 2020
Hi, Can you please confirm if it is happening with any other example at your end.
Secondly, Can you click on Refresh button and check if it updates.
Finally, Is it possible for you to share all the associated files of this project?
Regards, Vighnesh
Vighnesh Kamath
el 17 de Nov. de 2020
Hi, There is more thing we would like to know. After executing hdlsetuptoolpath, can you run !Vivado from MATLAB command window and ensure Vivado 2018.2 invokes correctly?
Vishnu Narayan Vipin
el 17 de Nov. de 2020
Editada: Vishnu Narayan Vipin
el 17 de Nov. de 2020
Vishnu Narayan Vipin
el 17 de Nov. de 2020
Vighnesh Kamath
el 17 de Nov. de 2020
Hi Vishnu,
Thankyou very much for the information. I will take a look at the zip files attached and get back to you.
It is possible that we may have to connect and check it at your end.
Regards, Vighnesh
Vishnu Narayan Vipin
el 17 de Nov. de 2020
Vighnesh Kamath
el 18 de Nov. de 2020
Hi Vishnu,
Here is an update to the failing project "hdl_prj.zip" that you have shared with us.
I tried a couple of debug steps and the project is working as expected at my end.
Here is another something which I would request you to do it at your end.
- Unzip hdl_prj.zip ( the same zip file which you have shared with us )
- Invoke matlab and migrate to hdl_prj\hdl_prj\ipcore\led_count_ip_v1_0\prj_ip
- Here you will see vivado_ip_packge.tcl file which is used to create the ipcore.
- Now run the following set of MATLAB commands while you are in prj_ip directory.
>> scriptName = fullfile(pwd, 'vivado_ip_package.tcl');
>> cmdstring = ['vivado -mode batch -source ' scriptName] ;
>> [status, logTxt] = system(cmdString);
After completion please share the logTxt variable which will be generated in the Workspace.
Let me know if you find any issues when running the above steps.
Regards,
Vighnesh
Vishnu Narayan Vipin
el 18 de Nov. de 2020
Editada: Vishnu Narayan Vipin
el 18 de Nov. de 2020
Andrew Brennan
el 17 de Sept. de 2021
Hi Vishnu,
You have typed:
>>cmdstring = ['vivado -mode batch -source ' scriptName];
then you typed:
>> [status, logTxt] = system(cmdString);
%Note cmdstring != cmdString%
%Variables ARE case sensitive!%
Categorías
Más información sobre AMD FPGA and SoC Devices en Centro de ayuda y File Exchange.
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!




















