Article ID: 000078384 Content Type: Troubleshooting Last Reviewed: 09/11/2012

Why does the POSPHY4 v2.1.0 MegaCore always behave as if the status clock edge is set to "negative edge"?

Environment

BUILT IN - ARTICLE INTRO SECOND COMPONENT
Description The POSPHY4 MegaWizard causes the status clock edge to be set to "negative edge" regardless of the value entered in the MegaWizard.  This will be fixed in v2.2.0 of the POSPHY4 MegaCore.  In the meantime, the following steps can be used to work around the problem:

1. In the directory where you created the SPI4.2 configuration, find the file named "posphy4_rx300_mw_wrapper.v".

2. Find the following group of lines:

  // Feature : Status Channel Active Edge

  //  Set to '1' for "rstat" to update on the posedge of "rsclk" 

  //  Set to '0' for "rstat" to update on the negedge of "rsclk" 

  parameter posedge_val = 1'b1;

  parameter negedge_val = 1'b0;

  parameter statedge_default = 1'b0 ; 

  wire statedge = statedge_default ;

3. Verify that the "statedge" wire is set to 1'b0 for falling edge clocks, and 1'b1 for rising edge status clocks.


For more information about what the Status Clock Edge is used for, refer to the POSPHY4 MegaWizard v2.1.0 User Guide, available at http://www.altera.com/products/ip/communications/pos_phy/m-alt-posphy4.html.

Related Products

This article applies to 1 products

Intel® Programmable Devices