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

1 visualización (últimos 30 días)
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)

Respuestas (1)

Himanshu
Himanshu el 5 de Jun. de 2024
Editada: Himanshu el 5 de Jun. de 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.

Categorías

Más información sobre Argument Definitions en Help Center y File Exchange.

Etiquetas

Productos


Versión

R2021a

Community Treasure Hunt

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

Start Hunting!

Translated by