:PROPERTIES:
:ID: 208e26e2-18ae-46a0-8b34-f367e0f055c8
:mtime: 20231025033618
:ctime: 20231025033608
:END:
#+title: one hot state encoding
#+filetags: :public:project:
* One hot state encoding
- This is a [[id:408f77b4-217b-490b-a3dc-e0b69971b140][shift register]] design style where only
one [[id:2c4ec126-9394-40b4-82e0-209cd3501c4b][flip-flop]] at a time holds a 1
- Consequently we have 1 [[id:2c4ec126-9394-40b4-82e0-209cd3501c4b][flip-flop]] per state,
compared with $\log_2(m)$ for sequential assignment
- However, can result in simple fast [[id:29d52285-bccb-40dd-90f5-ac2e828c498b][finite state machine]]
- Outputs are generated by ORing together
appropriate [[id:2c4ec126-9394-40b4-82e0-209cd3501c4b][flip-flop]] output