3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-10-10 09:48:06 +00:00

sdc: functional graph

This commit is contained in:
Emil J. Tywoniak 2025-08-01 16:33:10 +02:00
parent 2eb842e8b4
commit c81145ec31
2 changed files with 129 additions and 54 deletions

View file

@ -23,11 +23,12 @@ proc unknown {args} {
if {![info exists sdc_calls]} {
set sdc_calls {}
}
set ret "YOSYS_SDC_MAGIC_NODE_$sdc_call_index"
incr sdc_call_index
lappend sdc_calls $args
puts "unknown $args, returning YOSYS_SDC_MAGIC_NODE_$sdc_call_index"
return "YOSYS_SDC_MAGIC_NODE_$sdc_call_index"
return $ret
}
proc list {args} {
unknown "list" $args
return [unknown "list" {*}$args]
}