5f_One_Hot_Codes_Slides

5f_One_Hot_Codes_Slides - ECE 3504 ECE 3504 Digital Design...

Info iconThis preview shows pages 1–6. Sign up to view the full content.

View Full Document Right Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full DocumentRight Arrow Icon
This is the end of the preview. Sign up to access the rest of the document.

Unformatted text preview: ECE 3504 ECE 3504 Digital Design 1 Digital Design 1 Section 5f: One-Hot Code State Assignments On On Hot Code Hot Code One One-Hot Codes Hot Codes An-bit code is a on ho code if An n bit code is a one hot code if exactly one of the n bits equals one. There are n n- bit one-hot d codes. We can make a state assignment that uses only one-hot codes. Using such a state assignment requires n flip-flops for n states. One One-Hot Code State Hot Code State Assignment Assignment One of the advantages of a on - One of the advantages of a one hot code state assignment is that a designer can make the assignment i t i l l b i t f h i in an essentially arbitrary fashion. The designer need only ensure that each of n states receives a unique n-bit state code where exactly one of the bits equals one. Exampl Exampl Example Example P x y 1 y 2 y 3 y 4 PS 1 1 A A / 1 B / 1 B A / 0 C / 0 1 B A / 0 C / 0 1 C A / D / 1 D A / 0 D / 1 1 D A / 0 D / 1 y 1 y 2 y 3 y 4 PS x 1 2 3 4 1 1 A A / 1 B / 1 B A / 0 C / 0 1 B A / 0 C / 0 1 C A / D / 1 D A / 0 D / 1 Implementation Implementation Implementation Implementation Instead of using Karnaugh maps to...
View Full Document

Page1 / 15

5f_One_Hot_Codes_Slides - ECE 3504 ECE 3504 Digital Design...

This preview shows document pages 1 - 6. Sign up to view the full document.

View Full Document Right Arrow Icon
Ask a homework question - tutors are online