Forum Discussion

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

sopc component editor and tcl files

Hi

I'm looking to confirm what I think :

with sopc component editor we can generate TCL file

with TCL we can't refresh the component in the sopc component builder?

Best regards

10 Replies

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

    Tcl is what the component generator writes, its the end-product, having Tcl refresh the GUI makes no sense, since Tcl is not controlling the GUI.

    The component generator GUI is useful for creating a Tcl template. Once you have that template, just edit the Tcl file directly.

    Cheers,

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

    well will be great to change the component from a tcl file , but it is not the case ,the aim is to check input output of component when tcl files ares modified manually , it can be a great feature .

    thanks for your confirmation.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    actually when I edit my component in sopc builder the tcl file change and all the vhdl files are removed by this editor in parallel it saves as tcl~ file the previous version but never show included files for synthetize on the componet editor

    I dont know if this make a sens for you??
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    for example : in my tcl file i added , file1.vhd , file 1.vhd file 2.vhd , when edit whith the component editor ( sopc) ,i dont have any of these files and as result it saves my "manually added files" on the tcl file to a tcl~ file and continue working without my used vhdl files

    understand me?
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    In my experience, the component generator is not very smart. Use it only to generate the first-version of the Tcl file needed to have SOPC/Qsys recognize your component. After that, just use a text editor to edit the file. The _hw.tcl file can be written to have call-backs that check the parameters entered via the SOPC/Qsys GUI, etc. The _hw.tcl files are much easier to manipulate directly than by using the component editor GUI.

    Cheers,

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

    well think in software suite quartus is far to be equal to Libero from microsemi( actel)

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

    --- Quote Start ---

    well think in software suite quartus is far to be equal to Libero from microsemi (actel)

    --- Quote End ---

    This statement is not very clear.

    Do you think Quartus is better or worse than Libero?

    Personally, if the tool has scripting features, that's good enough for me :)

    A GUI is nice for simple tasks, but repetitive tasks, and re-building projects from long-ago are much easier to maintain through automated scripts.

    Cheers,

    Dave