Question on error message: "The compiled entry-point 'FIFO_Buffer_hdl_mex' cannot be located."
1 view (last 30 days)
Show older comments
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)
0 Comments
Answers (1)
Himanshu
on 5 Jun 2024
Edited: Himanshu
on 5 Jun 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.
0 Comments
See Also
Categories
Find more on Argument Definitions in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!