Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
  • Search
  • Get Qt Extensions
  • Unsolved
Collapse
Brand Logo
  1. Home
  2. Qt Development
  3. Language Bindings
  4. Qt compatibility with VHDL source codes??
Forum Update on Monday, May 27th 2025

Qt compatibility with VHDL source codes??

Scheduled Pinned Locked Moved Language Bindings
14 Posts 5 Posters 5.8k Views
  • 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.
  • P Offline
    P Offline
    Pallu
    wrote on 28 Aug 2013, 12:43 last edited by
    #1

    Can Qt read a Hardware description Language??

    1 Reply Last reply
    0
    • J Offline
      J Offline
      JKSH
      Moderators
      wrote on 28 Aug 2013, 13:58 last edited by
      #2

      Hi,

      No it can't. Qt is a C++ library, but C++ and VHDL are unrelated languages.

      However, after you have compiled your VHDL bit file, you can use Qt and C++ to read/write your FPGA pins.

      Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

      1 Reply Last reply
      1
      • P Offline
        P Offline
        Pallu
        wrote on 28 Aug 2013, 14:33 last edited by
        #3

        Hello,

        I have downloaded VHDL bit files on FPGA.. But Now I need to read from a VHDL file only the signals and Extract them to a XML. I believe the in and out signals can be read and an XML can be created...Do u think this would work?

        1 Reply Last reply
        0
        • J Offline
          J Offline
          JKSH
          Moderators
          wrote on 28 Aug 2013, 15:02 last edited by
          #4

          Ah, so you want a VHDL code parser and an XML writer.

          Qt has an "XML writer":http://qt-project.org/doc/qt-5.1/qtcore/qxmlstreamwriter.html, but it doesn't have a VHDL parser. You'll need to find a 3rd-party library that parses VHDL, or you can write your own parser.

          Can I ask:

          What programming experience do you have?

          What do you plan to do with the XML data?

          Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

          1 Reply Last reply
          0
          • P Offline
            P Offline
            Pallu
            wrote on 28 Aug 2013, 15:10 last edited by
            #5
            1. I am a beginner for a Qt/C++ Platform. But eager to explore..
            2. I want the qt to read the XML data and create a structure.
            1 Reply Last reply
            0
            • P Offline
              P Offline
              Pallu
              wrote on 29 Aug 2013, 08:49 last edited by
              #6

              Hello!!!!

              1 Reply Last reply
              0
              • S Offline
                S Offline
                SGaist
                Lifetime Qt Champion
                wrote on 29 Aug 2013, 09:38 last edited by
                #7

                Please allow at least 24 to 72 hours before bumping your own thread. Not all forum users live in the same timezone as you or have an answer to your question.

                That said, you will need to have a look at the XML module, QFile for reading, QString and maybe QRegExp for parsing your VHDL text file.

                Looking at Qt's demos and example is also always a good idea.

                Interested in AI ? www.idiap.ch
                Please read the Qt Code of Conduct - https://forum.qt.io/topic/113070/qt-code-of-conduct

                1 Reply Last reply
                0
                • P Offline
                  P Offline
                  Pallu
                  wrote on 29 Aug 2013, 09:54 last edited by
                  #8

                  O I am so sorry about it!! I expected that You'll had not noticed my thread.

                  Thank You so Much!!

                  1 Reply Last reply
                  0
                  • J Offline
                    J Offline
                    JKSH
                    Moderators
                    wrote on 29 Aug 2013, 11:51 last edited by
                    #9

                    If you are new to C++, I recommend learning from examples and tutorials, such as:

                    • Widget tutorial: http://qt-project.org/doc/qt-5.1/qtwidgets/widgets-tutorial.html
                    • Regex example: http://qt-project.org/doc/qt-5.1/qtwidgets/tools-regexp.html

                    When you are comfortable with C++, here is a more advanced example for writing XML files: http://qt-project.org/doc/qt-5.1/qtxml/streambookmarks.html

                    What other programming languages have you used? Are you experienced with VHDL?

                    [quote author="Pallu" date="1377702630"]2. I want the qt to read the XML data and create a structure.[/quote]Sorry, I don't quite understand. Can you explain further?

                    Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

                    1 Reply Last reply
                    1
                    • P Offline
                      P Offline
                      Pallu
                      wrote on 29 Aug 2013, 12:15 last edited by
                      #10

                      I have used C, VHDL & Verilog and C++.

                      1 Reply Last reply
                      0
                      • J Offline
                        J Offline
                        JKSH
                        Moderators
                        wrote on 7 Sept 2013, 02:04 last edited by
                        #11

                        [quote author="Pallu" date="1377702630"]2. I want the qt to read the XML data and create a structure.[/quote]Sorry, I don't quite understand. Can you explain further?

                        Qt Doc Search for browsers: forum.qt.io/topic/35616/web-browser-extension-for-improved-doc-searches

                        1 Reply Last reply
                        0
                        • RochusR Offline
                          RochusR Offline
                          Rochus
                          wrote on 24 Dec 2018, 18:32 last edited by
                          #12

                          @Pallu said in Qt compatibility with VHDL source codes??:

                          Can Qt read a Hardware description Language??

                          There is now VerilogCreator, a Qt Creator plugin which turns the latter into a Verilog IDE. See https://github.com/rochus-keller/VerilogCreator/blob/master/README.md. It includes a full Verilog 05 parser.

                          aha_1980A 1 Reply Last reply 24 Dec 2018, 18:49
                          2
                          • RochusR Rochus
                            24 Dec 2018, 18:32

                            @Pallu said in Qt compatibility with VHDL source codes??:

                            Can Qt read a Hardware description Language??

                            There is now VerilogCreator, a Qt Creator plugin which turns the latter into a Verilog IDE. See https://github.com/rochus-keller/VerilogCreator/blob/master/README.md. It includes a full Verilog 05 parser.

                            aha_1980A Offline
                            aha_1980A Offline
                            aha_1980
                            Lifetime Qt Champion
                            wrote on 24 Dec 2018, 18:49 last edited by
                            #13

                            @Rochus Amazing!

                            You should probably add your plugin to https://wiki.qt.io/Qt_Creator_Plug-in_Gallery to give it more attention ;)

                            Qt has to stay free or it will die.

                            RochusR 1 Reply Last reply 25 Dec 2018, 23:56
                            1
                            • aha_1980A aha_1980
                              24 Dec 2018, 18:49

                              @Rochus Amazing!

                              You should probably add your plugin to https://wiki.qt.io/Qt_Creator_Plug-in_Gallery to give it more attention ;)

                              RochusR Offline
                              RochusR Offline
                              Rochus
                              wrote on 25 Dec 2018, 23:56 last edited by
                              #14

                              @aha_1980 thanks.
                              They can add it to the gallery if they like, but the plugin is still work in progress.

                              1 Reply Last reply
                              0

                              • Login

                              • Login or register to search.
                              • First post
                                Last post
                              0
                              • Categories
                              • Recent
                              • Tags
                              • Popular
                              • Users
                              • Groups
                              • Search
                              • Get Qt Extensions
                              • Unsolved