RocketIO™ Transceiver User Guide www.xilinx.com 97UG024 (v2.3.2) June 24, 2004 1-800-255-7778Other Important Design Notes R// Here, you could add code to use ENPCOMMAALIGN and// ENMCOMMAALIGN to enable a move back into the byte_sync=0 state.always @ ( posedge usrclk2 or posedge rxreset )beginif ( rxreset )beginrxdata_reg <= 16'h0000;aligned_data <= 32'h0000_0000;rxisk_reg <= 2'b00;aligned_rxisk <= 4'b0000;byte_sync <= 1'b0;endelsebeginrxdata_reg[15:0] <= rxdata[15:0];rxisk_reg[1:0] <= rxisk[1:0];if ( rxchariscomma3 )beginaligned_data[31:0] <= rxdata[31:0];aligned_rxisk[3:0] <= rxisk[3:0];byte_sync <= 1'b0;endelseif ( rxchariscomma1 | byte_sync )beginaligned_data[31:0] <= { rxdata_reg[15:0], rxdata[31:16]};aligned_rxisk[3:0] <= { rxisk_reg[1:0], rxisk[3:2] };byte_sync <= 1'b1;endelsebeginaligned_data[31:0] <= rxdata[31:0];aligned_rxisk <= rxisk;endendendendmodule // align_comma_32VHDL-- *-- ***********************************************************-- ***********************************************************-- *-- * XILINX IS PROVIDING THIS DESIGN, CODE, OR INFORMATION “AS IS”-- * AS A COURTESY TO YOU, SOLELY FOR USE IN DEVELOPING PROGRAMS AND-- * SOLUTIONS FOR XILINX DEVICES. BY PROVIDING THIS DESIGN, CODE,-- * OR INFORMATION AS ONE POSSIBLE IMPLEMENTATION OF THIS FEATURE,-- * APPLICATION OR STANDARD, XILINX IS MAKING NO REPRESENTATION-- * THAT THIS IMPLEMENTATION IS FREE FROM ANY CLAIMS OF INFRINGEMENT,-- * AND YOU ARE RESPONSIBLE FOR OBTAINING ANY RIGHTS YOU MAY REQUIRE-- * FOR YOUR IMPLEMENTATION. XILINX EXPRESSLY DISCLAIMS ANY-- * WARRANTY WHATSOEVER WITH RESPECT TO THE ADEQUACY OF THE-- * IMPLEMENTATION, INCLUDING BUT NOT LIMITED TO ANY WARRANTIES OR-- * REPRESENTATIONS THAT THIS IMPLEMENTATION IS FREE FROM CLAIMS OF