Forum Discussion

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

QSYS info run tcl script

Hello,

I notice when I when I use QSYS and hit generate, during the build screen, there are lots of little notes along the lines of:

info: Remember to run the IP_name.tcl script after synthesis and before pinnout

The example labs I've followed so far have not mentioned these messages at all.

When I'm building my own project, are these tcl scripts something I should be doing?

Neal

5 Replies

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

    Yes, you do need to run these. So far I've only seen them associated with memory controllers and the HPS in an SoC. They set things like voltage levels, termination resistors and I/O standards for the pins.

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

    Hello,

    To clarify now, I get this message during the Qsys generate:

    "Info: p0: Remember to run the first_OV5640_to_hdmi_mem_if_ddr3_emif_p0_pin_assignments.tcl

    Info: p0: script after running Synthesis and before Fitting."

    SO, as per the linked threads,

    I've run Anayisis and Synthesis.

    I then used the tcl console to cd to the directory with the scripts,

    and run source first_OV5640_to_hdmi_mem_if_ddr3_emif_p0_pin_assignments.tcl

    However, it spits out a bunch of errors for the script, see attached.

    Any advice what I'm doing wrong as I try to run this?

    Thank you.
  • Altera_Forum's avatar
    Altera_Forum
    Icon for Honored Contributor rankHonored Contributor

    You need to be in Quartus with your project open. In the Tools menu use the TCL scrips command to run the script. That way the needed definitions will be present.