diff options
Diffstat (limited to 'docs/src')
| -rw-r--r-- | docs/src/cookbooks/naming.md | 2 | ||||
| -rw-r--r-- | docs/src/explanations/naming.md | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/src/cookbooks/naming.md b/docs/src/cookbooks/naming.md index 5f57826f..604843aa 100644 --- a/docs/src/cookbooks/naming.md +++ b/docs/src/cookbooks/naming.md @@ -58,5 +58,5 @@ class ExampleNoPrefix extends MultiIOModule { out := add } -println(ChiselStage.emitVerilog(new Example7)) +println(ChiselStage.emitVerilog(new ExampleNoPrefix)) ``` diff --git a/docs/src/explanations/naming.md b/docs/src/explanations/naming.md index 69870813..56c089bc 100644 --- a/docs/src/explanations/naming.md +++ b/docs/src/explanations/naming.md @@ -213,7 +213,7 @@ reflection naming cannot: ```scala mdoc class Example10 extends MultiIOModule { { - val in = IO(Input(UInt(width.W))) + val in = IO(Input(UInt(3.W))) val out = IO(Output(UInt())) val add = in + in |
