LabVIEW FPGA Idea Exchange

cancel
Showing results for 
Search instead for 
Did you mean: 
0 Kudos
Intaris

Custom UCF file location

Status: New

When working with CLIP-generated clocks we need to have good UCF files for proper compilation control (Something we now have after WEEKS of debugging Smiley Mad).

 

At the moment the ucf files MUST be in Users\Public\Documents\National Instruments\FlexRIO\IOModules for the code to work even though all other CLIP-relevant files can be located anywhere.

 

Please let us use the ucf file located int he same directory as the CLIP we're using otherwise we'll end up with cross-linking nightmares between users who don't have the right version in their local folder.

 

Shane

4 Comments
Dave.T
NI Employee (retired)

Hey Shane, 

Can you provide more information on where you're trying to store the files? Are they on a network drive or on a local drive?  

You should be able to modify the CLIP's XML file where the UCF location is specified.   In the XML, you'll find the <Path Name = "xxxx.ucf">  

 

Change that to <Path Name=C:\Desired Path\xxxx.ucf> and it should pull the correct UCF file after your CLIP is rescanned in your project.  

 

Please post back with your results.  

 

Thanks,

Dave T

FlexRIO & R-Series Product Support Engineer

National Instruments

NI Americas 

National Instruments
FlexRIO & R-Series Product Support Engineer
Intaris
Proven Zealot

We create the XML file using the wizard within LV and it automatically requires the ucf file to be somewhere other than it was during creation of the XML file which seems counterintuitive.

 

When I create the xml file via the Componene-level IP window of the FPGA Target Properties the ucf file is int he same directory as the VHDL files being processed but the XML file still expects the ucf file to be somewhere else when created.  I'd like the option to tell the wizard to leave the ucf file location where it is or have it do so automatically.

 

Either way I'll try your suggestion and see how it works out.

Intaris
Proven Zealot

My XML file shows the following:

 

<Path Name="A.vhd">
   <MD5>0000000000000000</MD5>
   <SimulationFileList>
    <SimulationModelType>Same as synthesis</SimulationModelType>
   </SimulationFileList>
  </Path>
  <Path Name="B.ucf">
   <MD5>00000000000000</MD5>
   <SimulationFileList>
    <SimulationModelType>Same as synthesis</SimulationModelType>
   </SimulationFileList>
  </Path>

 

The ucf file IS in the same directory as the A.vhd but LV won't look for it there.  It complains if it's not int he aforementioned USers\Public subfolder.  I don't want to put an absolute path in there.

Intaris
Proven Zealot

My bad, I meant the tbc file, not the ucf file.  The tbc file created by importing the CLIP into a project must be located in the Users folder.....  Everything I have written in relation to the ucf file should actually be the tbc file.  Sorry.