Forum Discussion

Altera_Forum's avatar
Altera_Forum
Icon for Honored Contributor rankHonored Contributor
12 years ago

QSYS file changes without GUI

Hi,

I am wondering whether there is a quicker way to handle my design, originaly built with QSYS GUI, without going through the whole proccess each time.

i.e. if I want to replace a file with a new version - when I worked with regular project's' I just added the new file, and removed the old one (and keeping the module name).

is there an easy way to do such a thing with a QSYS system?

Thanks,

David

3 Replies

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    You could use qsys-script to edit your qsys file programmatically and then use ip-generate to regenerate it.

  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    Hi,

    thanks for the answer.

    Can you help me with finding were the script file is?

    in order to regenerate i need to open the GUI, correct?
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    qsys-script is an executable that reads a Tcl script and executes it. You can use this to create new qsys files or modify existing ones. This wiki page shows how to run it and includes a link to the documentation describing it: http://www.alterawiki.com/wiki/qsys_scripts

    qsys-generate is another command that takes a qsys file as input and generates from it. (I said ip-generate before but I think qsys-generate is probably more appropriate). qsys-generate is described at http://www.altera.com/literature/hb/qts/qsys_intro.pdf on page 6-46.