Forum Discussion
Altera_Forum
Honored Contributor
16 years agoProblem solved! I assumed that if the tx_ctrlenable port is not used, all words would be handled as data (Dx.y). That was wrong! At every point in my datastream including a word which also is part of the control-words (Kx.y) which are listed in the table 6-2 of the stratix II gx-handbook (vol. 2)), I got undefined output of 8b/10b encoding. Now I asserted the tx_ctrlenable to "0000" and it works fine.
The next problem is that word alignment on the receiver-side does not work. after a reset I do a rx_enapatternalign (rising edge) whith an alignment pattern (x"0000BC1C") in my input data (20b after 8b10b-endoding, the word to specify in the MegaWizard?). tx_ctrlenable is set to "1111", so I expect to get both the rx_patterndetect and rx_syncstatus high. That is not the case and I don't know how to fix. The rx_dataout is always 9C9C9C9C after the reset time. I hope somebody sees whats wrong here. Thank you for an answer, daniel