diff options
| author | Jack Koenig | 2021-03-03 11:15:31 -0800 |
|---|---|---|
| committer | GitHub | 2021-03-03 19:15:31 +0000 |
| commit | 36e722394cef921967232c63c6e50f5d6bbc0d26 (patch) | |
| tree | aa555073d11f6495a259221b98db4b279e313d9e | |
| parent | 73184b7374bf4e7bccd609093c9614a5b95ea690 (diff) | |
Add header for chisel-enum.md (#1800)
| -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. |
