ID:287012 Numerical value "<text>" that is assigned to state has more bits than the state -- attempted to fit value into state
CAUSE: In a State Machine Declaration in a Text Design File (.tdf), you assigned the specified numerical value to a state. The numerical value has more bits than you declared for the state, and therefore the value cannot fit in the state. This message can occur if you use a binary string with the wrong radix (for example, you use 110 or H"110" instead of B"110"). The Quartus Prime software attempted to fit the value into the state by removing from the value the MSB and as many adjacent bits as necessary. However, in removing the bits, the Quartus Prime software changed the value.
For example, the following State Machine Declaration causes this warning message:
ss : MACHINE OF BITS (q1, q2, q3) WITH STATES ( s1 = B"111", s2 = 128);The state s2 has three state bits, but the decimal number 128 (the binary number 10000000) has eight bits. The Quartus Prime software either removes the first five bits of the number and assigns the binary number 000 (the decimal number 0) to s2, or removes the last five bits of the number and assigns the binary number 100 (the decimal number 4) to s2.
ACTION: Make sure the numerical value you assigned is correct and uses the correct radix. If the value is correct and you do not want the Quartus Prime software to remove any bits from the value, declare more state bits for the state.