Intel® Quartus® Prime Software
Intel® Quartus® Prime Design Software, Design Entry, Synthesis, Simulation, Verification, Timing Analysis, System Design (Platform Designer, formerly Qsys)
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.
17268 Discussions

Assigning compilation time to signal

Altera_Forum
Honored Contributor II
2,118 Views

Hi everyone. 

Is it possible to save the time of compilation (analysis/synthesis/fitting, doesn't matter) and date to some inner signal in VHDL (like the __TIME__ and __DATE__ C macros) , or by some other method in Quartus? I have searched the web and have not found any such thing. 

 

 

Yarden Tal.
0 Kudos
4 Replies
Altera_Forum
Honored Contributor II
656 Views

you could try adding a post-flow Tcl script that could either edit the VHDL file directly and add date/time stamps or have the Tcl call a script/program that will add your desired string.

0 Kudos
Altera_Forum
Honored Contributor II
656 Views

VHDL has no method of accessing things like time or anything else external to the code. The only way would be to set a constant using TCL like thepancake says.

0 Kudos
Altera_Forum
Honored Contributor II
656 Views

Thanks for the quick response. 

Could you show me an example? I am clueless as to how to perform such an operation (I am, though, well versed in VHDL, yet not so much with TCL scripts). 

Thanks again :)
0 Kudos
Altera_Forum
Honored Contributor II
656 Views
0 Kudos
Reply