LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

FPGA cycle-accurate simulation error

Solved!
Go to solution

Hi.

I am having problems simulating an FPGA vi with a third party simulator.

I took the example project from the tutorial found at https://knowledge.ni.com/KnowledgeArticleDetails?id=kA03q000000x5IICAY&l=en-US but I get the an error dialog (see attachment) when building the simulation export.

I have set in the LabVIEW options the simulator to ISim.

 

The text in the details section of the error dialog is:

Error -61499 occurred at niFpgaSimulate_GenerateCompileOrder.vi<-niFpgaSimulate_InitializeDirectories.vi<-niFpgaSimulate_Worker.vi<-niFpgaGenerateCode_Worker.vi

Possible reason(s):

LabVIEW FPGA:  An internal software error in the LabVIEW FPGA Module has occurred.  Please contact National Instruments technical support at ni.com/support.

There was an error generating the compile order. The file that caused the problem is ../niFpga/../niFpga/PkgNiFpgaSimulationModel.vhd. For more information see compileOrder.log in the niFpga simulation directory. The error information is below:

 Line 53: Syntax error near ",".
ERROR:HDLCompiler:854 - "../niFpga/../niFpga/PkgNiFpgaSimulationModel.vhd" Line 13: Unit <pkgnifpgasimulationmodel> ignored due to previous errors.
ERROR:HDLCompiler:688 - "../niFpga/../niFpga/PkgNiFpgaSimulationModel.vhd" Line 65: Package declaration pkgnifpgasimulationmodel is not yet compiled
ERROR:HDLCompiler:69 - "../niFpga/../niFpga/PkgNiFpgaSimulationModel.vhd" Line 73: <natural> is not declared.
ERROR:HDLCompiler:69 - "../niFpga/../niFpga/PkgNiFpgaSimulationModel.vhd" Line 79: <kdmafifoconfarray> is not declared.
ERROR:HDLCompiler:69 - "../niFpga/../niFpga/PkgNiFpgaSimulationModel.vhd" Line 81: <kdmafifoconfarray> is not declared.
ERROR:HDLCompiler:69 - "../niFpga/../niFpga/PkgNiFpgaSimulationModel.vhd" Line 77: <kdmafifoconfarray> is not declared.
ERROR:HDLCompiler:69 - "../niFpga/../niFpga/PkgNiFpgaSimulationModel.vhd" Line 89: <tdmachannelconfigarray> is not declared.
ERROR:HDLCompiler:69 - "../niFpga/../niFpga/PkgNiFpgaSimulationModel.vhd" Line 90: <tdmachannelconfigarray> is not declared.
ERROR:HDLCompiler:69 - "../niFpga/../niFpga/PkgNiFpgaSimulationModel.vhd" Line 95: <kdmafifoconfarray> is not declared.
ERROR:HDLCompiler:617 - "../niFpga/../niFpga/PkgNiFpgaSimulationModel.vhd" Line 95: Near range ; prefix should denote a scalar or array type
ERROR:HDLCompiler:69 - "../niFpga/../niFpga/PkgNiFpgaSimulationModel.vhd" Line 98: <ret> is not declared.
ERROR:HDLCompiler:69 - "../niFpga/../niFpga/PkgNiFpgaSimulationModel.vhd" Line 100: <ret> is not declared.
ERROR:HDLCompiler:69 - "../niFpga/../niFpga/PkgNiFpgaSimulationModel.vhd" Line 102: <ret> is not declared.
ERROR:HDLCompiler:69 - "../niFpga/../niFpga/PkgNiFpgaSimulationModel.vhd" Line 104: <ret> is not declared.
ERROR:HDLCompiler:69 - "../niFpga/../niFpga/PkgNiFpgaSimulationModel.vhd" Line 97: <kdmafifoconfarray> is not declared.
ERROR:HDLCompiler:69 - "../niFpga/../niFpga/PkgNiFpgaSimulationModel.vhd" Line 107: <ret> is not declared.
ERROR:HDLCompiler:69 - "../niFpga/../niFpga/PkgNiFpgaSimulationModel.vhd" Line 110: <ret> is not declared.
ERROR:HDLCompiler:69 - "../niFpga/../niFpga/PkgNiFpgaSimulationModel.vhd" Line 113: <tdmachannelconfigarray> is not declared.

 

Using LabVIEW 2011 (Xilinx Tools 12.4) on Windows 7 Pro 64bit.

 

Any help would be appreciated.

Thanks.

Download All
0 Kudos
Message 1 of 4
(2,920 Views)
Solution
Accepted by topic author zkiss

Hi,

 

It looks like there is a knowledge base article that describes the error you are seeing.  Let me know if this resolves your problem.

Error-61499 occurred at niFpgaSimulate_GenerateCompileOrder.vi

 

Cheers,

 

Ryan

Applications Engineer
National Instruments
0 Kudos
Message 2 of 4
(2,903 Views)

Hi Ryan,

 

thank you for the reply.

It worked.

In the future I will check the knowlegebase before posting Smiley Happy

 

Greets,

Zoli

0 Kudos
Message 3 of 4
(2,889 Views)

Great!  Glad it worked.  Good luck with the rest of your application 

Applications Engineer
National Instruments
0 Kudos
Message 4 of 4
(2,879 Views)