summaryrefslogtreecommitdiff
path: root/docs/src/wiki-deprecated/cookbook.md
diff options
context:
space:
mode:
authorJack Koenig2021-01-21 17:07:45 -0800
committerJack Koenig2021-01-21 17:19:39 -0800
commit7e4d1eeb03fddff735e67e3fe36b6efbfac39711 (patch)
tree2a4d3c34f1c660579c28440fdb246c8b401b89d6 /docs/src/wiki-deprecated/cookbook.md
parent6c6ec7161e8f046fff1cfc68a468ce2f053fdb7f (diff)
Update docs for the removal of val io and MultiIOModule
Diffstat (limited to 'docs/src/wiki-deprecated/cookbook.md')
-rw-r--r--docs/src/wiki-deprecated/cookbook.md4
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/src/wiki-deprecated/cookbook.md b/docs/src/wiki-deprecated/cookbook.md
index 7fa97579..9a10a689 100644
--- a/docs/src/wiki-deprecated/cookbook.md
+++ b/docs/src/wiki-deprecated/cookbook.md
@@ -282,12 +282,12 @@ class ModuleWithOptionalIOs(flag: Boolean) extends Module {
}
```
-The following is an example for a `MultiIOModule` where an entire `IO` is optional:
+The following is an example where an entire `IO` is optional:
```scala mdoc:silent:reset
import chisel3._
-class ModuleWithOptionalIO(flag: Boolean) extends MultiIOModule {
+class ModuleWithOptionalIO(flag: Boolean) extends Module {
val in = if (flag) Some(IO(Input(Bool()))) else None
val out = IO(Output(Bool()))