I tried compiling this with:
Code:ncvhdl -ams code.vhd
and it gave some fairly clear errors:
Code:ncvhdl -ams code.vhd
ncvhdl: 05.10-s012: (c) Copyright 1995-2004 Cadence Design Systems, Inc.
cpx1,cpx2,cpy1,cpy2:0ut std_logic);
|
ncvhdl_p: *W,REQSEX (code.vhd,9|21): no separator between number and identifier [13.2].
cpx1,cpx2,cpy1,cpy2:0ut std_logic);
|
ncvhdl_p: *E,EXPUSN (code.vhd,9|20): expecting an expanded name [6.3].
If you look at the line in your code it is complaining about:
Code: cpx1,cpx2,cpy1,cpy2:0ut std_logic);
you'll see you've written
0ut instead of
out. If I fix that, it compiles OK.
You didn't say which tool you were using here, but the lesson is probably to pay attention to the error messages!
Regards,
Andrew.