summaryrefslogtreecommitdiff
path: root/docs/src/wiki-deprecated/ports.md
diff options
context:
space:
mode:
Diffstat (limited to 'docs/src/wiki-deprecated/ports.md')
-rw-r--r--docs/src/wiki-deprecated/ports.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/docs/src/wiki-deprecated/ports.md b/docs/src/wiki-deprecated/ports.md
index f8c30b7a..e2b70050 100644
--- a/docs/src/wiki-deprecated/ports.md
+++ b/docs/src/wiki-deprecated/ports.md
@@ -30,21 +30,21 @@ provide powerful wiring constructs described later.
(Chisel 3.2+)
-Chisel 3.2+ introduces an API `DataMirror.modulePorts` which can be used to inspect the IOs of any Chisel module, including MultiIOModules, RawModules, and BlackBoxes.
+Chisel 3.2+ introduces an API `DataMirror.modulePorts` which can be used to inspect the IOs of any Chisel module, including Modules, RawModules, and BlackBoxes.
Here is an example of how to use this API:
```scala
import chisel3.experimental.DataMirror
-class Adder extends MultiIOModule {
+class Adder extends Module {
val a = IO(Input(UInt(8.W)))
val b = IO(Input(UInt(8.W)))
val c = IO(Output(UInt(8.W)))
c := a +& b
}
-class Test extends MultiIOModule {
+class Test extends Module {
val adder = Module(new Adder)
// for debug only
adder.a := DontCare