Forum Discussion

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

can't get revision number from svn in quartus

Hello

I try to get revision number of the project from SVN by the script file from Altera website. (http://www.altera.com/support/examples/tcl/tcl-version-number.html (http://www.altera.com/support/examples/tcl/tcl-version-number.html)) I can get correct revision number if I run it by tcl script tool of quartus seperately. so that prove the script is ok. But if I add set_global_assignment -name PRE_FLOW_SCRIPT_FILE "quartus_sh:update_version.tcl" to the .qsf file, and run the project. then quartus says: couldn't find revision number in output of svn. what's wrong with it? could any one help me?

thanks

6 Replies

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

    wild guess: The path context is different in the two cases. So it simply cant find the target file in the latter case

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

    but I have put the script in the project folder. for the later case, I think it's because quartus get different info from svn. but I don't know why.

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

    I have a question: How get back the revision when the device is running?! and how to use the version_reg.vhd file?

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

    Hi Martin,

    I can run it correctly, and get below informations:

    Info: Command: quartus_sh -t update_version.tcl compile StoreQualifier StoreQualifier

    Info: Quartus(args): compile StoreQualifier StoreQualifier

    Info: Successfully updated version number to version 0x9