LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Type of the source is void while importing external IP

Absolute beginer (about ~10 hours in) trying to instantiate an external VHDL IP on a FPGA target. I followed this technical note up to the point where I tried to connect an output port of the IP to a led. Connecting both always trigger the same error: The type of the source is void. I believe that the port is defined properly in the CLIP:

 

<Signal Name="outLed">

   <HDLName>outLed</HDLName>

   <Datatype>

      <Boolean/>

   </Datatype>

   <Direction>FromCLIP</Direction>

   <SignalType>data</SignalType>

</Signal>

 

Which I believe matches the VHDL entity:

 

entity IPNode is

port(

    ap_clk :INSTD_LOGIC;

    ap_rst :INSTD_LOGIC;

    ap_start :INSTD_LOGIC;

    ap_done :OUTSTD_LOGIC;

    ap_idle :OUTSTD_LOGIC;

    ap_ready :OUTSTD_LOGIC;

    outLed :OUTSTD_LOGIC);

end;

 

For the record I use Labview 2013 and I'm targeting the Zynq Z010 on a MyRIO.

0 Kudos
Message 1 of 5
(3,124 Views)

Just one small precision. I used CXG to generate the XML CLIP.

0 Kudos
Message 2 of 5
(3,101 Views)

>> I followed this technical note up to the point where I tried to connect an output port of the IP to a led. Connecting both always trigger the same error: The type of the source is void.

 


Do you have a screenshot of the error? When did it happen, during FPGA compilation or when you ran it after compilation? Are you trying to connect the output of an IP to FPGA pin? If so, you should do this via a Socketed CLIP.

0 Kudos
Message 3 of 5
(3,078 Views)

Here's the screenchot:

 

DSC_0001.png

 

It's happening while I'm drawing the net. The output of the FPGA is meant for another vi (Led).

Message 4 of 5
(3,063 Views)

This screenshot is kind of confusing, since CLIP is only intended to be used under FPGA while the LED express VI is to be used on RT. I'm not sure where you are drawing this. However, it seems that you will need to use variable to pass CLIP output to RT before feeding it into LED.

0 Kudos
Message 5 of 5
(3,032 Views)