First time in ATMEL WinCupl

Thread Starter

NickolasV

Joined Jan 30, 2010
1
Hallo,
it's my first time programming in WinCupl and I have written this program:

Name Kukloma Kaustira;
Partno CA0016;
Date 20/1/2010;
Rev 01;
Designer Vaiopoulos/Mimidou;
Company Magic;
Assembly None;
Location Kavala;
Device G16V8;


/** Inputs **/

Pin 1=clk; /* clock */
Pin 2=TL1; /* TL1 */
Pin 3=TL2; /* TL2 */
Pin 4=clr; /* clock */
Pin 11=grd; /* ground */

/** Outputs **/

Pin 12=Q0; /* Q0 */
Pin 13=Q1; /* Q1 */
Pin 14=Q2; /* Q2 */
Pin 15=D0; /* D0 */
Pin 16=D1; /* D1 */
Pin 17=D2; /* D2 */
Pin 18=K; /* Kaustiras */


/* EXISOSEIS KAUSTIRA */

D2 = TL1 & !TL2 # Q2 & !Q1 & !Q0 ;
D1 = !TL1 & TL2 & !Q2 ;
DO = !TL1 & !TL2& !Q2 # !TL1 & TL2 & Q0;
K = !Q2 & !Q0;
Q2.D = D2;
Q1.D = D1;
Q0.D = D0;

------ End of program ---------

I want to give values D2,D1,D0 and then pass them to flip-flops Q2,Q1,Q0
and keep the program loop running.

I'm running this program by "Device Indepetant Compile" but I'm getting the message;
Errors 13

Can you see any mistakes?
 
Top