Skip to content

Commit

Permalink
Update printing docs to include new warning
Browse files Browse the repository at this point in the history
  • Loading branch information
adkian-sifive committed Sep 29, 2022
1 parent 2060894 commit 2472786
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions docs/src/explanations/printing.md
Original file line number Diff line number Diff line change
Expand Up @@ -103,6 +103,8 @@ Message:

Notice the use of `+` between `cf` interpolated "strings". The results of `cf` interpolation can be concatenated by using the `+` operator.

> :warning: The Scala s-interpolator is deprecated since 3.5 and will output the warning: "s-interpolators for Chisel assert, assume and printf statements are deprecated (since 3.5); use p or cf interpolators instead"
### C-Style

Chisel provides `printf` in a similar style to its C namesake. It accepts a double-quoted format string and a variable number of arguments which will then be printed on rising clock edges. Chisel supports the following format specifiers:
Expand Down

0 comments on commit 2472786

Please sign in to comment.