Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
Announcements
Intel Support hours are Monday-Fridays, 8am-5pm PST, except Holidays. Thanks to our community members who provide support during our down time or before we get to your questions. We appreciate you!

Need Forum Guidance? Click here
Search our FPGA Knowledge Articles here.
15465 Discussions

can't get revision number from SVN

Busy
Novice
597 Views

Hello,

I try to get revision number from SVN by using a script file (https://www.intel.com/content/www/us/en/programmable/support/support-resources/design-examples/desig...).

When I entered the 'get_revision_info', there is nothing in the 'inp' variable (or line variable) and so I can't retrieve the SVN revision number.

It is strange because when I use 'svn help' command (or 'ls -l') instead of 'svn info' command, 'inp' is correctly populated with the result of the help (or the result of the 'ls -l').

Can you tell me why the procedure is entered with an empty string?

Many thanks.

0 Kudos
3 Replies
Busy
Novice
187 Views

Just for information, I resolved the problem by using tclsh executable in Quartus installation file:

$(QUARTUS_HOME)/quartus/linux64/tclsh svn_revision.tcl

instead of:

$(QUARTUS_HOME)/quartus/bin/quartus_sh -t svn_revision.tcl

 

I should say that I do not understand why it works, but facts are here...

RichardTanSY_Intel
187 Views
I try to use both of your commands, it ended up with error. Can you attach your design.qar here for us to check?
Busy
Novice
187 Views

Hello,

What do you expect?

As I said earlier, I resolved the problem by using '$(QUARTUS_HOME)/quartus/linux64/tclsh' instead of '$(QUARTUS_HOME)/quartus/bin/quartus_sh -t svn_revision.tcl'.

The cause of your error may be due to the absence of SVN in your system... (a .QAR could not help in this case).

Thanks.

Reply