diff options
Diffstat (limited to 'docs/src/explanations/chisel-enum.md')
| -rw-r--r-- | docs/src/explanations/chisel-enum.md | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/src/explanations/chisel-enum.md b/docs/src/explanations/chisel-enum.md index c4ee6af6..cb017239 100644 --- a/docs/src/explanations/chisel-enum.md +++ b/docs/src/explanations/chisel-enum.md @@ -1,3 +1,9 @@ +--- +layout: docs +title: "Enumerations" +section: "chisel3" +--- + # ChiselEnum The ChiselEnum type can be used to reduce the chance of error when encoding mux selectors, opcodes, and functional unit operations. In contrast with`Chisel.util.Enum`, `ChiselEnum` are subclasses of `Data`, which means that they can be used to define fields in `Bundle`s, including in `IO`s. |
