Re: [casper] Operands to the || and && operators must be convertible to logical scalar values

2015-03-10 Thread Charles Copley
Hi Dave, John, Thanks for the replies. I don't think it was a boolean problem (I initially suspected this and double checked things with the port update). Just after I sent the email, I replaced the yellow block register with a Xilinx constant, and it seemed to compile. I've now replaced the Xili

Re: [casper] Operands to the || and && operators must be convertible to logical scalar values

2015-03-09 Thread David MacMahon
Hi, Charles, Is it when you click OK on a block's mask dialog or when you run "update diagram" or ??? Maybe you can find additional details in the "_sysgen.log" or "_sysgen_warning.log" or "_sysgen_error.log" files? It would really help to know which block or file is causing this error. Than

Re: [casper] Operands to the || and && operators must be convertible to logical scalar values

2015-03-09 Thread John Ford
Hi. Maybe a "boolean" check box needs checked somewhere in your new logic? John > Hi all, > > I have a strange error that arises after a small change to a design: > > I have used the sync pulse to reset a counter, that in turn (together with > a comparator coupled to a register) produces a highe

[casper] Operands to the || and && operators must be convertible to logical scalar values

2015-03-09 Thread Charles Copley
Hi all, I have a strange error that arises after a small change to a design: I have used the sync pulse to reset a counter, that in turn (together with a comparator coupled to a register) produces a higher frequency pulse for use in snap blocks i.e. to write the snap block data more frequently th