Forum Discussion
Altera_Forum
Honored Contributor
9 years ago --- Quote Start --- Any suggestions? --- Quote End --- Sure, read the script I referred to. It opens the project. Here's the bit you want ...
# -----------------------------------------------------------------
# Timestamp generic
# -----------------------------------------------------------------
#
# The project must be open before accessing generics
if {!} {
project_open -revision $revision $project
}
# Timestamp integer
set timestamp
# Top-level timestamp generic
set_parameter -name TIMESTAMP $timestamp
# Post an info message
set timestamp_str
set timestamp_hex
post_message -type info "TIMESTAMP = $timestamp_hex ($timestamp_str)"
Cheers, Dave