Question on error message: "The compiled entry-point 'FIFO_Buffer_hdl_mex' cannot be located."
1 visualizzazione (ultimi 30 giorni)
Mostra commenti meno recenti
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 Commenti
Risposte (1)
Himanshu
il 5 Giu 2024
Modificato: Himanshu
il 5 Giu 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 Commenti
Vedere anche
Categorie
Scopri di più su Argument Definitions in Help Center e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!