3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2025-10-10 01:41:59 +00:00

sdc: start graph

This commit is contained in:
Emil J. Tywoniak 2025-07-31 18:33:20 +02:00
parent cd244d0d02
commit 2eb842e8b4
2 changed files with 110 additions and 8 deletions

View file

@ -13,6 +13,7 @@ stub ys_track_untyped_key
stub ys_err_key
stub ys_err_flag
# TODO move to separate file and tie to graph value mode
proc unknown {args} {
global sdc_call_index
global sdc_calls
@ -24,5 +25,9 @@ proc unknown {args} {
}
incr sdc_call_index
lappend sdc_calls $args
return $sdc_call_index
puts "unknown $args, returning YOSYS_SDC_MAGIC_NODE_$sdc_call_index"
return "YOSYS_SDC_MAGIC_NODE_$sdc_call_index"
}
proc list {args} {
unknown "list" $args
}