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 5e6b0e7 commit 649345d
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions docs/src/explanations/printing.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,6 +31,12 @@ val myUInt = 33.U
printf("my normal string" + cf"myUInt = $myUInt")
```

Also note that the Scala s-interpolator is deprecated and will output the warning:

```scala mdoc:compile-only
"s-interpolators for Chisel assert, assume and printf statements are deprecated (since 3.5); use p or cf interpolators instead"
```

#### Simple formatting

Other formats are available as follows:
Expand Down

0 comments on commit 649345d

Please sign in to comment.