Forum Discussion

MLars19's avatar
MLars19
Icon for New Contributor rankNew Contributor
1 year ago

import qud file with tcl

How can I import devices (qud files) using a tcl command?

It is possible in the programmer gui but I can't find how to do it by tcl.

8 Replies

  • sstrell's avatar
    sstrell
    Icon for Super Contributor rankSuper Contributor

    I've never heard of a qud file. There are .qdz files for installing devices with Quartus. What are you trying to accomplish?

    • MLars19's avatar
      MLars19
      Icon for New Contributor rankNew Contributor

      qud-files are for example "foreign" devices for the programmer

      I have a jtag-chain with one altera fpga and two processors, to be able to program the fpga I need to add these custom devices in the programmer "add device" section. These devices can be exported as qud files.

      These devices are stored somewhere in the computes so there is no problem setting up the programmer chain again once the devices have been created.

      The problem is when I use continuous integration (gitlab), it always generates a new environment to run quartus. The programmer doesn't recognize the devices. That's why I need to import these files.

      I actually don't use the chain to program the fpga in CI but to generate a SVF-file.

    • MLars19's avatar
      MLars19
      Icon for New Contributor rankNew Contributor

      se reply to previous comment

  • ShengN_altera's avatar
    ShengN_altera
    Icon for Super Contributor rankSuper Contributor

    Hi,


    I had checked you can only import through GUI. There's no respective tcl command for that specific import.


    Thanks,

    Regards,

    Sheng


    • MLars19's avatar
      MLars19
      Icon for New Contributor rankNew Contributor

      OK, that's to bad.

      Is there a solution or work around to fix this problem?

      How is this information stored for the programmer, could it somehow be copied to the correct directory?

  • sstrell's avatar
    sstrell
    Icon for Super Contributor rankSuper Contributor

    Your programmer configuration can be saved as a .cdf file, preserving your JTAG chain customization with the other devices. Would that solve the issue?

    • MLars19's avatar
      MLars19
      Icon for New Contributor rankNew Contributor

      It is already saved as a cdf-file, the problem is that the jtag-chain has two non-native devices which are not recognized by a fresh quartus installation. They need to be imported before the quartus_cpf command can be used with the cdf-file.