Forum Discussion
Altera_Forum
Honored Contributor
15 years agoYea, that usually doesn't apply when it comes to technology.
anyway, here is an adaptation of altera's code to search for every vhdl file in the folder to change the date, just in case someone in the future decides my vhdl file name is silly. Got the idea from a newsgroup post.
set strlist
foreach strfile $strlist {
set file_name $strfile
set output_file_name ${file_name}.updated_version_number
# date2hdl $file_name $output_file_name
if { } {
post_message -type critical_warning "Could not update version number: $res"
} else {
if { } {
post_message -type critical_warning
"Could not update version number: $res"
}
}
}