Forum Discussion
Altera_Forum
Honored Contributor
16 years ago --- Quote Start --- I shall I translate it to other language like VHDL,C. so that u can correct the code. --- Quote End --- Hi, I found the root cause why the statemachine extraction fails. It is not allowed to access the state value with an index. // if(Baud8Tick && next_bit && state[3]) RxD_data <= {~RxD_bit_inv, RxD_data[7:1]}; For testing I changed the line to : if(Baud8Tick && next_bit && state==4'b1001) RxD_data <= {~RxD_bit_inv, RxD_data[7:1]}; I have a small project attached. Kind regards GPK