Page 1 of 2 12 LastLast
Results 1 to 10 of 19

Thread: Quartus workflow

  1. #1
    Join Date
    Aug 2016
    Posts
    130
    Rep Power
    1

    Default Quartus workflow

    Hi,

    My project keeps growing and I am having some difficulties to keep all source files in one place. Other thing what bothers me is constantly switching between modelsim and Quartus. For now I create separate projects for modelsim(functional simulation, testbench) and Quartus (synthesis, testing on hardware, signaltap).

    Can someone share what workflow you use?
    What structure do you have for project files?
    What is the best workflow for creating testbech files and simulating complex designs?

    Thanks

  2. #2
    Daixiwen is offline Moderator **Forum Master**
    Join Date
    May 2008
    Location
    Norway
    Posts
    4,435
    Rep Power
    1

    Default Re: Quartus workflow

    I don't simulate a full FPGA design but only separate modules with well defined interfaces. So I have separate projects for simulation and synthesis/test/debug. I never call modelsim from Quartus.
    As for my project structure, we heavily use version control at my job (Subversion... I'd like to move to Mercurial but it has been hard enough to make everyone move from "cp -r" to subversion already ). So I have even separate folders for source code between simulation and synthesis. My Quartus project uses subversion externals to point to each module I use and I use Subversion to synchronize between my simulation and synthesis folders. It needs some getting used to but I have a lot better control now over module versions and update. It makes it also easier to work on a new version of a module in Modelsim without disturbing an ongoing Quartus project.
    Definition of a man-year: 730 people trying to finish the project before lunch

  3. #3
    Join Date
    Aug 2016
    Posts
    130
    Rep Power
    1

    Default Re: Quartus workflow

    I am a bit dissapointed that i have to create two separate projects one for Quartus and one for Modelsim and add same files to each projects. I create and edit files using quartus because for me Modelsim text editor is ugly and there are no features to help type code faster. Quartus atleast has autocomplete, but still im missing some features in quartus text editor to navigate through code also.

  4. #4
    Tricky is offline Moderator **Forum Master**
    Join Date
    Oct 2008
    Posts
    5,596
    Rep Power
    1

    Default Re: Quartus workflow

    Quote Originally Posted by vlrean View Post
    I am a bit dissapointed that i have to create two separate projects one for Quartus and one for Modelsim and add same files to each projects. I create and edit files using quartus because for me Modelsim text editor is ugly and there are no features to help type code faster. Quartus atleast has autocomplete, but still im missing some features in quartus text editor to navigate through code also.
    You dont
    We dont do it. We just have a working folder with all the source in different folders for each module. Each module has "syn", "src" and "sim" folders, with scripts for synthesis and simultion in the syn and sim folder. That way youcan synth or sim each module on it's own, with a top level folder to bring it all together.
    Everything is script driven so we dont need to manage projects. The scripts will build you a project so you can investigate it when finished

  5. #5
    Tricky is offline Moderator **Forum Master**
    Join Date
    Oct 2008
    Posts
    5,596
    Rep Power
    1

    Default Re: Quartus workflow

    Also - modelsim and quartus are terrible text editors. Use something usefull like notepad++ instead!

  6. #6
    Join Date
    Aug 2016
    Posts
    130
    Rep Power
    1

    Default Re: Quartus workflow

    Quote Originally Posted by Tricky View Post
    Also - modelsim and quartus are terrible text editors. Use something usefull like notepad++ instead!
    Do you use some plugin for Notepad++?

  7. #7
    Tricky is offline Moderator **Forum Master**
    Join Date
    Oct 2008
    Posts
    5,596
    Rep Power
    1

    Default Re: Quartus workflow

    Quote Originally Posted by vlrean View Post
    Do you use some plugin for Notepad++?
    I use fingertext which allows you define templates, but thats it.
    Otherwise just raw notepad++. It does have autocomplete by default but I dont use it.

  8. #8
    Join Date
    Dec 2009
    Location
    USA
    Posts
    364
    Rep Power
    1

    Default Re: Quartus workflow

    Quote Originally Posted by Tricky View Post
    You dont
    We dont do it. We just have a working folder with all the source in different folders for each module. Each module has "syn", "src" and "sim" folders, with scripts for synthesis and simultion in the syn and sim folder. That way youcan synth or sim each module on it's own, with a top level folder to bring it all together.
    Everything is script driven so we dont need to manage projects. The scripts will build you a project so you can investigate it when finished
    That's funny - I do the exact same thing including the same folder names. A trickier thing to handle is sharing source code between multiple projects. Most of my customers prefer to keep all projects completely separate, even if that requires a lot of file duplication. Wasteful I suppose but in some ways it does keep things simpler.

  9. #9
    Join Date
    Aug 2016
    Posts
    130
    Rep Power
    1

    Default Re: Quartus workflow

    Quote Originally Posted by Tricky View Post
    I use fingertext which allows you define templates, but thats it.
    Otherwise just raw notepad++. It does have autocomplete by default but I dont use it.
    So what is the big difference between raw Notepad++ and quartus tex editor? I dont see how raw notepad could help to type and navigate trough code faster. What about syntax check and source compilation?
    What i want from text editor:
    • Autocomplete

    • Some outline view - for example if i have some process in my code
      Code:
      compute_xor: process (b,c)
      begin
        a<=b xor c;
      end process;
      I would like to jump to this process insted of scroling through hundreds of lines. Same to component instantiations, declared signals ect.
      I know that Sigasi has such feature but it is not free as i know.

    • Syntax check

  10. #10
    Tricky is offline Moderator **Forum Master**
    Join Date
    Oct 2008
    Posts
    5,596
    Rep Power
    1

    Default Re: Quartus workflow

    Quote Originally Posted by vlrean View Post
    So what is the big difference between raw Notepad++ and quartus tex editor?
    Other than column edit mode, and the massive bulk of quartus, not alot.

    But everyone has their personal preference. Personally, I'm happy to use the free software as I know I'll be able to use it in any company.

Similar Threads

  1. Replies: 0
    Last Post: November 24th, 2014, 04:58 AM
  2. Replies: 3
    Last Post: August 27th, 2013, 03:03 AM
  3. Some basic workflow questions
    By skintigh in forum General Altera Discussion
    Replies: 3
    Last Post: December 14th, 2012, 06:00 AM
  4. beginner help with understanding altera project workflow - DE2 board
    By ankitmcgill in forum General Altera Discussion
    Replies: 1
    Last Post: September 23rd, 2009, 09:11 PM
  5. General timing constraints workflow?
    By JohnG300C in forum Quartus II and EDA Tools Discussion
    Replies: 6
    Last Post: August 21st, 2008, 02:41 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •