title: xilinx vivado: read component.xml file into project from tcl
body: <p>Let's suppose, I have one vivado project that I setup as follows:</p>
  
  <ol>
  <li>Create a block design.</li>
  <li>instantiated some IP cores, and wired them together</li>
  <li>exported the IO's that I wanted from the block design</li>
  <li>clicked on the block design in hierarchy browser and created an HDL wrapper</li>
  <li>used IP packager to create a "component.xml" file representing the packaged IP core.  (Tool->Package IP->package current project)</li>
  </ol>
  
  <p>Now I want to use this packaged IP core in another vivado project and have it show up under IP integrator under "user" library.  Is there a way to import this "component.xml" file from the other vivado project into the current project?  Preferablly using tcl?</p>
  
  <p>Here's what my vivado block design looks like:</p>
  
  <p><a href="https://i.stack.imgur.com/ZUSTt.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ZUSTt.png" alt="IP packager block design"></a></p>