05-22-2012 11:03 AM
I am trying to import some VHDL code from Xlinx into LabVIEW but am getting the following error..
=========================================================================
* HDL Compilation *
=========================================================================
Compiling vhdl file "C:/NIFPGA/iptemp/ipin0EB4CDC0445C609326F127B586C4B175/encode_8b10b_rtl.vhd" in Library work.
ERROR:HDLParsers:3317 - "C:/NIFPGA/iptemp/ipin0EB4CDC0445C609326F127B586C4B175/encode_8b10b_rtl.vhd" Line 66. Library encode_8b10b cannot be found.
ERROR:HDLParsers:3013 - "C:/NIFPGA/iptemp/ipin0EB4CDC0445C609326F127B586C4B175/encode_8b10b_rtl.vhd" Line 67. Library encode_8b10b is not declared.
WARNING:HDLParsers:3481 - Library work has no units. Did not save reference file "xst/work/hdllib.ref" for it.
I've spent quite a lot of time trying to understand the problem but my VHDL experience is limited and I've not been able to find any suggestions so far. As I understand it there's a problem with the encode library although its defined as a package within the VHD files I upload. I've attached the .vhd source files, so if anyone can advise me how to convert this into the labVIEW IP node that'd be great.
Many thanks
05-24-2012 08:21 AM
I worked with F7ash to resolve this issue. As mentioned in the previous post, the component level import failed because it could not find the encode_8b10b library (referenced in the top-level .vdh file).
===================================
From the encode_8b10b_top.vhd code...
LIBRARY encode_8b10b;
USE encode_8b10b.encode_8b10b_pkg.ALL;
===================================
We used the ise.exe (found here... C:\NIFPGA\programs\Xilinx12_4\ISE\bin\nt) to create a consolidated project. This was then imported into LabVIEW without error.
Feel free to add any additional info you feel relevant F7ash. Many thanks!