International Engineering Consortium
Web ProForums
Creating Safe State Machines
Sponsored by:
Mentor Graphics

Self-Test
1. An unsafe state machine design is always a malfunction.
a. true
b. false
2. Basically, a safe state machine design costs more logical gates.
a. true
b. false
3. A safe state machine design must have N states where N = 2**M, and M is a positive integer.
a. true
b. false
4. A state machine design that is encoded using a binary or gray encoding algorithm is always safe.
a. true
b. false
5. A state machine design using the one-hot encoding style is always unsafe.
a. true
b. false
6. You can use any kind of encoding style to create a safe state machine design, provided that you use the "hard-coded" to make sure that all of the states (valid or invalid) are reachable.
a. true
b. false
7. If a state machine has eight valid states, which state machine encoding styles should be used to create a safe state machine?
a. All encoding algorithms can be used
b. The binary or gray encoding styles
c. one-hot
d. all encoding styles, provided that you use the bit-level encoding scheme!
e. none of the above
8. By using HDL Designer Series tools, you can create a safe state machine design only when you choose "Hard" mode and select a "Recovery State"
a. true
b. false
9. If a design has five states, when you select 'Hard' 'Auto' mode, how many bits of STATE_TYPE will the tools of HDL Designer Series pick?
a. 3
b. 4
c. 5
d. none of the above
10. In the same design as in Question 9, when you select 'Hard' 'Manual' mode, how many bits of STATE_TYPE can you use?
a. 3
b. 4
c. 5
d. all of the above

Registered Users
Enjoy exclusive access to free On-Line Education and receive the biweekly IEC newsletter.

IEC Newsletter
Get the latest industry information including critical insights from key industry leaders, technology briefings, and an Analyst Corner.
Current
Subscribe

Newsroom

IEC Corporate Member

Advertising Kit