You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
printf(cf"hierarchical path = %m\n") // equivalent to the above
70
+
71
+
printf(cf"100$Percent\n") // 100%
72
+
printf(cf"100%%\n") // equivalent to the above
73
+
```
74
+
75
+
60
76
#### Aggregate data-types
61
77
62
78
Chisel provides default custom "pretty-printing" for Vecs and Bundles. The default printing of a Vec is similar to printing a Seq or List in Scala while printing a Bundle is similar to printing a Scala Map.
@@ -126,6 +142,7 @@ Chisel provides `printf` in a similar style to its C namesake. It accepts a doub
126
142
|`%b`| binary number |
127
143
|`%c`| 8-bit ASCII character |
128
144
|`%%`| literal percent |
145
+
|`%m`| hierarchical name |
129
146
130
147
It also supports a small set of escape characters:
0 commit comments