diff options
| author | Jack Koenig | 2021-01-21 17:07:45 -0800 |
|---|---|---|
| committer | Jack Koenig | 2021-01-21 17:19:39 -0800 |
| commit | 7e4d1eeb03fddff735e67e3fe36b6efbfac39711 (patch) | |
| tree | 2a4d3c34f1c660579c28440fdb246c8b401b89d6 /docs/src/wiki-deprecated/ports.md | |
| parent | 6c6ec7161e8f046fff1cfc68a468ce2f053fdb7f (diff) | |
Update docs for the removal of val io and MultiIOModule
Diffstat (limited to 'docs/src/wiki-deprecated/ports.md')
| -rw-r--r-- | docs/src/wiki-deprecated/ports.md | 6 |
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 |
