Commit 6e8f82a 1 parent f28c556 commit 6e8f82a Copy full SHA for 6e8f82a
File tree 3 files changed +49
-0
lines changed
3 files changed +49
-0
lines changed Original file line number Diff line number Diff line change
1
+ include ${PSS_HOME}/issue/Make.vars
2
+
3
+ gentarget :
4
+ $(PSSGEN ) test.pss -o test.s -root pss_top::root_a || true
5
+
6
+ clean :
7
+ rm -f test.s result.log
Original file line number Diff line number Diff line change
1
+ /*!
2
+ @weakgroup issue
3
+ @{
4
+ @file
5
+ @author Luther Lee
6
+ @data 2024/10/07
7
+ @brief Test issue 23.
8
+
9
+
10
+ ---------------------------------------------------------------------------------------------------
11
+
12
+ ### Test Command
13
+ @code{.unparsed}
14
+ make
15
+ @endcode
16
+
17
+ @cond
18
+ */
19
+ component pss_top {
20
+ action root_a {
21
+ activity {
22
+ do printStr with { str == "normal"; };
23
+ if (1) {
24
+ do print1;
25
+ };
26
+ }
27
+ }
28
+
29
+ action printStr {
30
+ rand string str;
31
+ exec body ASM = """printStr: {{str}}""";
32
+ }
33
+
34
+ action print1 {
35
+ exec body ASM = """print1""";
36
+ }
37
+
38
+ }
39
+
40
+ /**@}*/
Original file line number Diff line number Diff line change
1
+ printStr: normal
2
+ print1
You can’t perform that action at this time.
0 commit comments