Forum Discussion
Altera_Forum
Honored Contributor
13 years ago --- Quote Start --- I think the best approach as you said is to not put that initial value there and spare initiating the headache of explaining the mystery latches. --- Quote End --- That's what I (respectively the guy who discovered the problem) will surely do. The doubts about Quartus behaviour in this point are remaining. By the way, if I set size:=2 and enable the initial value expression, Quartus RTL netlist viewer crashes, both in V9.0 and V12.0. I also verified, that the code with initial value expressio behaves completely wrong. It latches the function output for each bit that is not "mirrored", as if all assignments mirrored_data := data are commented out. Setting mirrored_data(index) := data(index) individually in an else path doesn't help. Thanks for your contributions, Frank