Rename some functions, DRC binding for 'evaluate_nets'

This commit is contained in:
Matthias Koefferlein
2025-08-02 23:06:22 +02:00
parent 61aa08cd64
commit 73681755ed
9 changed files with 149 additions and 18 deletions
+29
View File
@@ -0,0 +1,29 @@
source $drc_test_source
target $drc_test_target
if $drc_test_deep
deep
end
l1 = input(1, 0)
l2 = input(2, 0)
l3 = input(3, 0)
l4 = input(4, 0)
l5 = input(5, 0)
connect(l1, l2)
connect(l2, l3)
connect(l3, l4)
connect(l4, l5)
l1_measured = evaluate_nets(l1, { "l2" => l2, "l3" => l3, "l4" => l4, "l5" => l5}, "put(5, area(l5)); put(0, area); put(100, area(l5)/area)")
l1.output(1, 0)
l2.output(2, 0)
l3.output(3, 0)
l4.output(4, 0)
l5.output(5, 0)
l1_measured.output(100, 0)
Binary file not shown.
Binary file not shown.
Binary file not shown.