Freescale Semiconductor, Inc.

Freescale Semiconductor, Inc.

END IF;

 

%

 

*************************

 

** BCSR1 Write Operation **

 

*************************

 

%

 

IF (RESETi) THEN

 

Bcsr1[].d = BCSR1_PON_DEF[];

--Load default values when Reset

ELSIF (MPC_WRITE_BCSR_1) THEN

 

Bcsr1[0..SIZE1].d = D[0..SIZE1];

--Read the Data Bus

ELSE

 

Bcsr1[].d = Bcsr1[].q;

 

END IF;

 

%

*********************************************

** BCSR4 Service Register 1 Write Operation **

*********************************************

%

PRST_Ensure.aclr = PRST~; PRST_Ensure.cnt_en = !PRST~;

PRST_Ensure_END = (PRST_Ensure.q[] == PRST_Ensure_VALUE); -- terminal count

IF ((PRST_Ensure_END AND !PRST~) OR END_OF_WD_TIMER) THEN

Bcsr4[2..SIZE4].d = (MODCK_H[1..3],MODCK[1..3]);

--Load MODCK default values from DIP-Switch

ELSIF

(MPC_WRITE_BCSR_4) THEN

 

Bcsr4[2..SIZE4].d = D[2..SIZE4];

--Write to the Register

ELSE

 

 

Bcsr4[2..SIZE4].d = Bcsr4[2..SIZE4].q;

END IF;

%

*********************************************

** BCSR5 Service Register 2 Write Operation **

*********************************************

%

IF (RESETi) THEN

 

Bcsr5[].d = 0;

--Load default values when Reset

ELSIF (MPC_WRITE_BCSR_5) THEN

 

Bcsr5[0..SIZE5].d = D[0..SIZE5];

--Read the Data Bus

ELSE

 

Bcsr5[].d = Bcsr5[].q;

 

END IF;

 

%

 

*********************************************

** BCSR6 Service Register 3 Write Operation **

*********************************************

%

 

IF (RESETi) THEN

 

Bcsr6[].d = 0;

--Load default values when Reset

ELSIF (MPC_WRITE_BCSR_6) THEN

 

Bcsr6[0..SIZE6].d = D[0..SIZE6];

--Read the Data Bus

ELSE

 

Bcsr6[].d = Bcsr6[].q;

 

END IF;

 

%

 

************************

 

** Configuration Word **

 

** & Buffers Read **

 

************************

 

%

 

C-112

MSC8101ADS RevB User’s Manual

MOTOROLA

For More Information On This Product,

Go to: www.freescale.com

Page 113
Image 113
Nortel Networks MSC8101 ADS user manual Elsif MPCWRITEBCSR1 then, Elsif MPCWRITEBCSR4 then, Elsif MPCWRITEBCSR5 then