From 649345dad6cd25857c81af1b235cd9253d660765 Mon Sep 17 00:00:00 2001 From: Aditya Naik Date: Thu, 29 Sep 2022 10:11:07 -0700 Subject: [PATCH] Update printing docs to include new warning --- docs/src/explanations/printing.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/docs/src/explanations/printing.md b/docs/src/explanations/printing.md index 71a6f5cfdfc..e10d8a3d43b 100644 --- a/docs/src/explanations/printing.md +++ b/docs/src/explanations/printing.md @@ -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: