I have to say, I am not a fan of WinCUPL. Which is a polite way of saying the editor is a piece of crap. lol
Anyway...
So I have this code snippet which, when I compile (F9), it produces everything just fine (I have a .JED file to upload).
Code:
/** Address Bus Counter **/
Q14.t = Q13 & Q12 & Q11 & Q10 & Q9 & Q8 & Q7 & Q6 & Q5 & Q4 & Q3 & Q2 & Q1 & Q0;
Q13.t = Q12 & Q11 & Q10 & Q9 & Q8 & Q7 & Q6 & Q5 & Q4 & Q3 & Q2 & Q1 & Q0;
Q12.t = Q11 & Q10 & Q9 & Q8 & Q7 & Q6 & Q5 & Q4 & Q3 & Q2 & Q1 & Q0;
Q11.t = Q10 & Q9 & Q8 & Q7 & Q6 & Q5 & Q4 & Q3 & Q2 & Q1 & Q0;
Q10.t = Q9 & Q8 & Q7 & Q6 & Q5 & Q4 & Q3 & Q2 & Q1 & Q0;
Q9.t = Q8 & Q7 & Q6 & Q5 & Q4 & Q3 & Q2 & Q1 & Q0;
Q8.t = Q7 & Q6 & Q5 & Q4 & Q3 & Q2 & Q1 & Q0;
Q7.t = Q6 & Q5 & Q4 & Q3 & Q2 & Q1 & Q0;
Q6.t = Q5 & Q4 & Q3 & Q2 & Q1 & Q0;
Q5.t = Q4 & Q3 & Q2 & Q1 & Q0;
Q4.t = Q3 & Q2 & Q1 & Q0;
Q3.t = Q2 & Q1 & Q0;
Q2.t = Q1 & Q0;
Q1.t = Q0;
Q0.t = !Q0;
[Q15..0].ce = 'h'FFFF;
[Q15..0].ck = S0;
[Q15..0].ar = V9 & !V8 & !V7 & !V6 & !V5 & !V4 & V3 & V2 & !V1 & V0;
Notice the CE of 'h'FFFF.
Now, if I change that to anything else, such as:
Code:
[Q15..0].ce = 'b'0;
Then it compiles OK (no errors) but most of the files get deleted. Including the .JED file.
Further down, I have another example that works just fine using different values for the CE.
Code:
S3.t = S2 & S1 & S0;
S2.t = S1 & S0;
S1.t = S0;
S0.t = 'b'1;
[S3..0].ck = PCLK;
[S3..0].ar = 'b'1;
[S3..0].ce = !HFPD & !HSPD & !HBPD & !VFPD & !VSPD & !VBPD; /** This should only tic in frame, **/
Any idea what I'm doing wrong?
Thanks.