Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
16624 Discussions

can't get revision number from svn in quartus

Altera_Forum
Honored Contributor II
1,374 Views

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
0 Kudos
6 Replies
Altera_Forum
Honored Contributor II
459 Views

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

0 Kudos
Altera_Forum
Honored Contributor II
459 Views

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.

0 Kudos
Altera_Forum
Honored Contributor II
459 Views

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

0 Kudos
Altera_Forum
Honored Contributor II
459 Views

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
0 Kudos
Altera_Forum
Honored Contributor II
459 Views

Hi Jerry, thanks, could you send your project to me? Yanguo.Yang@harman.com

0 Kudos
Altera_Forum
Honored Contributor II
459 Views

 

--- Quote Start ---  

Hi Jerry, thanks, could you send your project to me? Yanguo.Yang@harman.com 

--- Quote End ---  

 

 

 

Hi Martin, 

 

Pls check the attached files. Hope they are useful to you!
0 Kudos
Reply