fact: Definition decode_enum (b : B) (cd : CacheDecode) : option (Fin.t _ * B * CacheDecode) := `(w, b', cd') <- decode_word (sz:=sz) b cd; Ifopt word_indexed w tb as idx Then Some (idx, b', cd') Else None.
imports: Fiat.Common.BoundedLookup Fiat.Narcissus.Common.Specs Fiat.Narcissus.BaseFormats Fiat.Narcissus.Formats.WordOpt Coq.Vectors.Vector Bedrock.Word