Skip to content

Commit b589504

Browse files
Merge pull request #4178 from alaindargelas/bump_uhdm_func_call_formals
Bump UHDM: keep a func_call whose result still names the function's formals
2 parents 4d8bf1f + 8ccf0bd commit b589504

7 files changed

Lines changed: 2071 additions & 25 deletions

File tree

tests/NestedFuncSameFormal/NestedFuncSameFormal.log

Lines changed: 42 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
[INF:CM0023] Creating log file "/home/alain/uhdm2rtlil/build/third_party/Surelog/regression/NestedFuncSameFormal/slpp_all/surelog.log".
1+
[INF:CM0023] Creating log file "${SURELOG_DIR}/build/regression/NestedFuncSameFormal/slpp_all/surelog.log".
22
[NTE:PP0128] ${SURELOG_DIR}/tests/NestedFuncSameFormal/dut.sv:2:53: Non ASCII character detected, replaced by space.
33
AST_DEBUG_BEGIN
44
LIB: work
@@ -426,16 +426,16 @@ import_typespec 1
426426
io_decl 4
427427
logic_net 10
428428
logic_typespec 22
429-
logic_var 12
430-
module_inst 11
429+
logic_var 16
430+
module_inst 13
431431
operation 3
432432
package 2
433-
param_assign 15
434-
parameter 15
433+
param_assign 19
434+
parameter 19
435435
port 10
436436
range 35
437437
ref_obj 23
438-
ref_typespec 38
438+
ref_typespec 44
439439
return_stmt 4
440440
=== UHDM Object Stats End ===
441441
[INF:UH0707] Elaborating UHDM...
@@ -452,21 +452,21 @@ import_typespec 1
452452
io_decl 10
453453
logic_net 10
454454
logic_typespec 22
455-
logic_var 24
456-
module_inst 11
455+
logic_var 28
456+
module_inst 13
457457
operation 7
458458
package 2
459-
param_assign 15
460-
parameter 15
459+
param_assign 19
460+
parameter 19
461461
port 15
462462
range 35
463463
ref_obj 40
464-
ref_typespec 63
464+
ref_typespec 71
465465
return_stmt 10
466466
=== UHDM Object Stats End ===
467-
[INF:UH0708] Writing UHDM DB: /home/alain/uhdm2rtlil/build/third_party/Surelog/regression/NestedFuncSameFormal/slpp_all/surelog.uhdm ...
468-
[INF:UH0709] Writing UHDM Html Coverage: /home/alain/uhdm2rtlil/build/third_party/Surelog/regression/NestedFuncSameFormal/slpp_all/checker/surelog.chk.html ...
469-
[INF:UH0710] Loading UHDM DB: /home/alain/uhdm2rtlil/build/third_party/Surelog/regression/NestedFuncSameFormal/slpp_all/surelog.uhdm ...
467+
[INF:UH0708] Writing UHDM DB: ${SURELOG_DIR}/build/regression/NestedFuncSameFormal/slpp_all/surelog.uhdm ...
468+
[INF:UH0709] Writing UHDM Html Coverage: ${SURELOG_DIR}/build/regression/NestedFuncSameFormal/slpp_all/checker/surelog.chk.html ...
469+
[INF:UH0710] Loading UHDM DB: ${SURELOG_DIR}/build/regression/NestedFuncSameFormal/slpp_all/surelog.uhdm ...
470470
[INF:UH0711] Decompiling UHDM...
471471
====== UHDM =======
472472
design: (work@dut)
@@ -1538,6 +1538,13 @@ design: (work@dut)
15381538
\_func_call: (inner), line:21:20, endln:21:32
15391539
|vpiParent:
15401540
\_func_call: (outer), line:21:14, endln:21:33
1541+
|vpiTypespec:
1542+
\_ref_typespec: (work@dut)
1543+
|vpiParent:
1544+
\_func_call: (inner), line:21:20, endln:21:32
1545+
|vpiFullName:work@dut
1546+
|vpiActual:
1547+
\_logic_typespec: , line:6:40, endln:6:45
15411548
|vpiArgument:
15421549
\_operation: , line:21:26, endln:21:31
15431550
|vpiParent:
@@ -1592,6 +1599,13 @@ design: (work@dut)
15921599
\_func_call: (inner), line:22:20, endln:22:28
15931600
|vpiParent:
15941601
\_func_call: (outer), line:22:14, endln:22:29
1602+
|vpiTypespec:
1603+
\_ref_typespec: (work@dut)
1604+
|vpiParent:
1605+
\_func_call: (inner), line:22:20, endln:22:28
1606+
|vpiFullName:work@dut
1607+
|vpiActual:
1608+
\_logic_typespec: , line:6:40, endln:6:45
15951609
|vpiArgument:
15961610
\_ref_obj: (work@dut.a), line:22:26, endln:22:27
15971611
|vpiParent:
@@ -2124,6 +2138,13 @@ design: (work@dut)
21242138
\_func_call: (inner), line:21:20, endln:21:32
21252139
|vpiParent:
21262140
\_func_call: (outer), line:21:14, endln:21:33
2141+
|vpiTypespec:
2142+
\_ref_typespec: (work@dut)
2143+
|vpiParent:
2144+
\_func_call: (inner), line:21:20, endln:21:32
2145+
|vpiFullName:work@dut
2146+
|vpiActual:
2147+
\_logic_typespec: , line:6:40, endln:6:45
21272148
|vpiArgument:
21282149
\_operation: , line:21:26, endln:21:31
21292150
|vpiParent:
@@ -2178,6 +2199,13 @@ design: (work@dut)
21782199
\_func_call: (inner), line:22:20, endln:22:28
21792200
|vpiParent:
21802201
\_func_call: (outer), line:22:14, endln:22:29
2202+
|vpiTypespec:
2203+
\_ref_typespec: (work@dut)
2204+
|vpiParent:
2205+
\_func_call: (inner), line:22:20, endln:22:28
2206+
|vpiFullName:work@dut
2207+
|vpiActual:
2208+
\_logic_typespec: , line:6:40, endln:6:45
21812209
|vpiArgument:
21822210
\_ref_obj: (work@dut.a), line:22:26, endln:22:27
21832211
|vpiParent:

0 commit comments

Comments
 (0)