Community
    • Login

    Need to compile VHDL file using external ModelSim

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    4 Posts 2 Posters 1.4k Views 2 Watching
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Adeeb KhairA Offline
      Adeeb Khair
      last edited by

      Hi

      Please can you and advice how can configure Notepad++ to compile VHDL file using external ModelSim compiler

      Thanks

      PeterJonesP 1 Reply Last reply Reply Quote 0
      • PeterJonesP Offline
        PeterJones @Adeeb Khair
        last edited by

        @Adeeb-Khair ,

        You do it the same way you would compile from the Windows cmd.exe command line – except use the variable-name notation from the online docs to get the current filename.

        For example, if the command line to use your compiler were c:\path\modelsim.exe "filename.source", then you could go Run > Run, and type in c:\path\modelsim.exe "$(FULL_CURRENT_PATH)"; if you click Save…, you can save that command into the Run menu, and even give it a keyboard shortcut if you so desire.

        If your command line environment needs environment variables set up, or needs more than one command (like a compile stage then a link stage), I recommend using a plugin like NppExec, where you can define something similar to a windows batch file, but still have access to those variables mentioned earlier.

        A more detailed answer can be found in a post I wrote last fall.

        PeterJonesP 1 Reply Last reply Reply Quote 3
        • PeterJonesP Offline
          PeterJones @PeterJones
          last edited by

          Note, this link in the docs gets you closer to the list of variables; I grabbed the wrong anchor when I pasted the link above.

          PeterJonesP 1 Reply Last reply Reply Quote 0
          • PeterJonesP Offline
            PeterJones @PeterJones
            last edited by

            It’s been asked enough times; I created a FAQ Desk entry for this topic.

            1 Reply Last reply Reply Quote 3

            Hello! It looks like you're interested in this conversation, but you don't have an account yet.

            Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

            With your input, this post could be even better 💗

            Register Login
            • First post
              Last post
            The Community of users of the Notepad++ text editor.
            Powered by NodeBB | Contributors