First Stage Timing Updates
Changed generation of PIX_CLK. It is no longer CLK_14, instead it is created in coco3video_mister and pushed outward. (as it should be). Video1.stp is for watching the video signals. The ability of using a old GIMEX video file has been removed as a feature.
This commit is contained in:
1 parent
0cc97c86d9
commit
77ee8b8c8c
9 files changed
+398
-3493
No files matched your search
+26
-1
@@ -2,13 +2,16 @@
|
||||
# Build TimeStamp Verilog Module
|
||||
# Jeff Wiencrot - 8/1/2011
|
||||
# Sorgelig - 02/11/2019
|
||||
# Stan Hodge - 04/22/2024
|
||||
|
||||
proc generateBuildID_Verilog {} {
|
||||
|
||||
# Get the timestamp (see: http://www.altera.com/support/examples/tcl/tcl-date-time-stamp.html)
|
||||
set buildDate "`define BUILD_DATE \"[clock format [ clock seconds ] -format %y%m%d]\""
|
||||
|
||||
# Create a Verilog file for output
|
||||
# Create a Verilog file(s) for output
|
||||
set outputFileName "build_id.v"
|
||||
set outputFileNameNum "build_id_num.v"
|
||||
|
||||
set fileData ""
|
||||
if { [file exists $outputFileName]} {
|
||||
@@ -17,13 +20,35 @@ proc generateBuildID_Verilog {} {
|
||||
close $outputFile
|
||||
}
|
||||
|
||||
set fileData_num ""
|
||||
if { [file exists $outputFileNameNum]} {
|
||||
set outputFile [open $outputFileNameNum "r"]
|
||||
set fileData_num [read $outputFile]
|
||||
close $outputFile
|
||||
}
|
||||
|
||||
|
||||
if {$buildDate ne $fileData} {
|
||||
set outputFile [open $outputFileName "w"]
|
||||
puts -nonewline $outputFile $buildDate
|
||||
close $outputFile
|
||||
|
||||
set buildnumbervar 1
|
||||
|
||||
# Send confirmation message to the Messages window
|
||||
post_message "Generated: [pwd]/$outputFileName: $buildDate"
|
||||
} else {
|
||||
scan $fileData_num "`define BUILD_NUMBER \"%d" buildnumbervar
|
||||
incr buildnumbervar
|
||||
}
|
||||
|
||||
set buildnumber "`define BUILD_NUMBER \"[format "%03d" $buildnumbervar]\""
|
||||
set outputFile [open $outputFileNameNum "w"]
|
||||
puts -nonewline $outputFile $buildnumber
|
||||
close $outputFile
|
||||
|
||||
post_message "Generated: [pwd]/$outputFileNameNum: $buildnumber"
|
||||
|
||||
}
|
||||
|
||||
# Build CDF file
|
||||
|
||||
Reference in new issue
Block a user