Forum Discussion
Altera_Forum
Honored Contributor
13 years agoThe code I posted is the only one containing anything related to SM or states.
Also, I tried to comment out parts of code to try to determine which causes the problem. So, if I remove this part:WITH current_state select
Data_from_ram<= DataIO WHEN r2,
Data_from_ram WHEN OTHERS;This warning disappears: --- Quote Start --- Warning: Node: current_state.r2 was determined to be a clock but was found without an associated clock assignment. --- Quote End --- I guess that makes sense, since r2 really was enable signal to that latch. Further, when I remove this part: WITH current_state select
DataIO <= "ZZZZZZZZZZZZZZZZ" WHEN r1 | r2,
Data_to_ram WHEN w1 | w2,
DataIO WHEN OTHERS;The other warning regarding current_state.idle disappears. Guess this makes more or less sense, but on the other hand, doesn't really explain the warning in the first place :/ Tomorrow will check what changes in rtl netlist and tech map. Again, thanks for help