Question on error message: "The compiled entry-point 'FIFO_Buffer_hdl_mex' cannot be located."

1 vue (au cours des 30 derniers jours)
I was trying out this example and I noticed testbench generation failed due to the following message:
>> cd(setupExample('hdlverifier/GenerateFIFOInterfaceDPIComponentForUARTReceiverExample'))
>> design='FIFO_Buffer';
>> testbench='FIFO_Buffer_tb';
>> FIFO_Buffer_tb
Warning: MATLAB has disabled some advanced graphics rendering features by switching to software OpenGL. For more information, click
here.
>> dpigen -testbench FIFO_Buffer_tb FIFO_Buffer -args {0,int8(0),0}
Error using dpigenerator_generateTestBench
Unable to generate testbench for SystemVerilog DPI component. Please refer to the examples for guidelines on how to write the MATLAB
testbench.
......
Error in dpigen
Caused by:
Error using coder.internal.Float2FixedConverter
Error using coder.internal.Float2FixedConverter
The compiled entry-point 'FIFO_Buffer_hdl_mex' cannot be located.
Is there any particular reason why this occurs? And how should this be fixed? (I was running matlab from a linux machine)

Réponses (1)

Himanshu
Himanshu le 5 Juin 2024
Modifié(e) : Himanshu le 5 Juin 2024
Hey Yufei,
It seems like you misunderstood the way in which you need to use the commands from the mentioned documentation page.
>> design='FIFO_Buffer';
>> testbench='FIFO_Buffer_tb';
When you execute the above mentioned commands on the MATLAB command line, it will simply create two string objects in the workspace. Instead of this, the documenation states that you need to execute the follwoing commands to open the 'FIFO_Buffer.m' and 'FIFO_Buffer_tb.m' files.
>> edit('FIFO_Buffer')
>> edit('FIFO_Buffer_tb')
I used these commands and did not eccounter any error. I am attaching a screenshot of the same for your reference.

Catégories

En savoir plus sur Argument Definitions dans Help Center et File Exchange

Produits


Version

R2021a

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by