mirror of
https://github.com/YosysHQ/yosys
synced 2025-08-23 11:37:55 +00:00
sdc: unknown handler experiment
This commit is contained in:
parent
f75add5912
commit
aab7c75cb3
2 changed files with 19 additions and 10 deletions
|
@ -7,15 +7,22 @@ proc is_suppressed {args} {
|
|||
return 0
|
||||
}
|
||||
|
||||
proc create_clock {args} {
|
||||
return "CLOCK@"
|
||||
}
|
||||
proc get_clocks {args} {
|
||||
return "CLOCK@"
|
||||
}
|
||||
|
||||
stub current_design
|
||||
# stub current_design
|
||||
#stub ys_track_typed_key
|
||||
stub ys_track_untyped_key
|
||||
stub ys_err_key
|
||||
stub ys_err_flag
|
||||
|
||||
proc unknown {args} {
|
||||
global sdc_call_index
|
||||
global sdc_calls
|
||||
if {![info exists index]} {
|
||||
set sdc_call_index 0
|
||||
}
|
||||
if {![info exists sdc_calls]} {
|
||||
set sdc_calls {}
|
||||
}
|
||||
incr sdc_call_index
|
||||
lappend sdc_calls $args
|
||||
return $sdc_call_index
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue