Forum Discussion

HansHolland's avatar
HansHolland
Icon for New Contributor rankNew Contributor
4 years ago
Solved

Opening text editor in Quartus Prime Pro

My project consists of only one AHDL text file. How do I open a text editor to be able to type in this TDF? Sorry for this basic question; just starting Quartus, however I did a lot of AHDL in the past. Thanks

  • HansHolland's avatar
    HansHolland
    4 years ago

    Issue resolved!

    My file had a double extention <name>.TDF.txt Ater removing .txt, it was recognized by Quartus.

    Thanks Sheng

6 Replies

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

    Shouldn't be too hard and too much to ask. Want to type-in TDF to get a config. bit stream produced. Failed using my own text editor and use "add design file" or something, trying to find example tutorial, etc. etc.

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

      Hi HansHolland,

      If I'm not mistaken, you want to open the .tdf file and then edit it with Quartus pro right?

      1. Click the "File" at the top bar of Quartus pro, click ''Open'', select .tdf file type and open your own TDF file.
      2. Or straight click the ''Open'' located at bar below.
      3. Or click the ''Files" near ''Project Navigator'' window, double click it, click ''...'', select your TDF file, click ''Apply'' and click ''OK''. Double click the added file to open text editor.

      Hope it helps.

      Best regards,
      Sheng


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

    Hi Sheng,

    Option 3. you mention, results in "Can't find design entity <filename>" error. I cán see my TDF in the Quartus editor.

    Trying to compile, results in "Top-level design entity <filename> is undefined" error.

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

      Hi HansHolland,

      Make sure that TDF is set as top level entity by right-clicking that file and click ''Set as Top-Level Entity''.

      Also, make sure filename matched with the name after module.

      Best regards,
      Sheng


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

        Issue resolved!

        My file had a double extention <name>.TDF.txt Ater removing .txt, it was recognized by Quartus.

        Thanks Sheng