PMC-Sierra, Inc.
STANDARD PRODUCT
PM5945 -UTP5
PMC-940202 ISSUE 2. APRIL 7, 1995
APP_SAPI_UTP5
______________________________________________________________________________________________
TxEnbB_sample
<= '0'; END IF;
-- Resetb = 0
IF resetb = '0' THEN
CountTemp <= "111111";
TxEnbB_sample <= '1';
-- SET counter to 0 if TSOC goes high AND TxEnbB is low
ELSIF ( tsoc = '1' AND TxEnbB_sample = '0') THEN
CountTemp <= "000000";
-- Put out only the first byte of data if TxClavB is active (0) ELSIF
TxClavB = '0' AND CountTemp /= "111111" AND tca = '1'
AND TxEnbB_sample = '0' THEN
CountTemp <= inc_bv(CountTemp);
END IF;
-- Counter rolls over when count = 53
IF CountTemp = "110100" THEN
CountTemp <= "111111";
END IF;
END process;
proc2: PROCESS
BEGIN
IF (CountTemp = "110010" OR CountTemp = "110011" OR
CountTemp = "110100" OR CountTemp = "110100" OR
resetb = '0' OR tca = '0' ) THEN
TxFullB <= '0';
ELSE
TxFullB <= '1';
END IF;
-- Enable TWRB for the rest of the cell
IF (tca = '1' AND TSOC = '0' AND resetb = '1' AND
CountTemp /= "111111" AND TxEnbB_sample ='0') THEN
twrb_en <= '1';
ELSE
twrb_en <= '0';
END IF;
IF txclk = '0' AND twrb_en = '1' THEN
twrb <= '0';
ELSE
twrb <= '1';
______________________________________________________________________________________________
42