Y
yaser fathy
Guest
Hello,
I want to create a fsm that takes a few inputs during its cycle and output these inputs at the end of the cycle .
I wanted to use variables to store these input but the compiler won't accept variable declaration , so I used signals , now the code compiles fine , but the output doesn't show at the end , and the compiler log sais:
output x is assigned by only 2 states
refering to the signal I used to store the input
I want to create a fsm that takes a few inputs during its cycle and output these inputs at the end of the cycle .
I wanted to use variables to store these input but the compiler won't accept variable declaration , so I used signals , now the code compiles fine , but the output doesn't show at the end , and the compiler log sais:
output x is assigned by only 2 states
refering to the signal I used to store the input