Add original-firmware Sound & Speech, four configurable Multi-Pak sockets, bounded per-slot ROM allocation and a nine-page menu organized around devices and media. Repair inherited clock/reset/CPU-memory/video paths and add explicit conditional external-I/O timing contracts. Preserve native Main startup-file ordering, saved layouts, stock-core separation and the coco3plus media profile. Provide native Windows tool downloads, pinned ToolShed ROM assembly, fresh Quartus builds, functional and fitted timing checks, reviewed release packaging and passwordless SSH installation with backups. Retain original component notices, document contribution copyright and keep SSC ROM inputs outside Git. Validation: Quartus17.0.2 Build602 seed5, zero errors; 15 functional jobs, 368 both-corner timing scopes and eight tooling-integrity checks pass. The renamed build reaches Disk BASIC, PRINT1+1 returns2 and SSC loads ready. Physical cold power cycling and conditional board-delay assumptions remain separate. Full original upstream histories are preserved before this single consolidated implementation commit.
44 lines
2.2 KiB
Tcl
44 lines
2.2 KiB
Tcl
# quartus_sta -t video_timing_paths.tcl PROJECT REVISION OUTPUT_DIRECTORY
|
|
package require ::quartus::project
|
|
package require ::quartus::sta
|
|
set project [lindex $quartus(args) 0]
|
|
set revision [lindex $quartus(args) 1]
|
|
set output [file normalize [lindex $quartus(args) 2]]
|
|
file mkdir $output
|
|
project_open $project -revision $revision
|
|
foreach model {slow fast} {
|
|
create_timing_netlist -model $model
|
|
read_sdc
|
|
update_timing_netlist
|
|
set snapshot [get_registers {*coco3_sdram|video_address_snapshot[*]*}]
|
|
set fetch [get_registers {*video_fetch|*}]
|
|
set controller [get_registers {*coco3_sdram|*}]
|
|
set source [get_registers {*MISTER_COCOVID|ROW_ADD[*]* *MISTER_COCOVID|SCREEN_START_ADD[*]*}]
|
|
foreach {name collection minimum} [list snapshot $snapshot 20 fetch $fetch 10 controller $controller 40 source $source 20] {
|
|
set count [get_collection_size $collection]
|
|
puts "VIDEO_SCOPE $model $name $count"
|
|
if {$count < $minimum} {error "Incomplete video timing scope: $name"}
|
|
}
|
|
foreach check {setup hold} {
|
|
report_timing -$check -from $source -to $snapshot -npaths 30 -detail full_path \
|
|
-file [file join $output address-${model}-${check}.rpt]
|
|
report_timing -$check -from $snapshot -to $controller -npaths 30 -detail full_path \
|
|
-file [file join $output activation-${model}-${check}.rpt]
|
|
report_timing -$check -to $fetch -npaths 30 -detail full_path \
|
|
-file [file join $output fetch-in-${model}-${check}.rpt]
|
|
report_timing -$check -from $fetch -npaths 30 -detail full_path \
|
|
-file [file join $output fetch-out-${model}-${check}.rpt]
|
|
report_timing -$check -to $controller -npaths 30 -detail full_path \
|
|
-file [file join $output controller-in-${model}-${check}.rpt]
|
|
report_timing -$check -from $controller -npaths 30 -detail full_path \
|
|
-file [file join $output controller-out-${model}-${check}.rpt]
|
|
}
|
|
if {$model eq "slow"} {
|
|
report_clocks -file [file join $output clocks.rpt]
|
|
report_ucp -file [file join $output unconstrained.rpt]
|
|
report_exceptions -file [file join $output exceptions.rpt]
|
|
}
|
|
delete_timing_netlist
|
|
}
|
|
project_close
|