Re: [casper] Operands to the || and operators must be convertible to logical scalar values
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 Xilinx constant with a yellow block register, and now that seems to compile fine- I may have changed a few things (like the counter output bitwidth), but nothing major. And I did check that I hadn't accidentally instantiated the Register as a 'To Processor' rather than 'From Processor'. So all in all it is now (pretty bizarrely) working. I have had this happen before so next time I will look at the sysgen log files as you suggest and add to this email chain. I'm busy trying to get a version of the file to repeat the problem. Thanks for your help! Charles Copley Cell: +27 (0) 84 430 1160 --- On 9 March 2015 at 18:54, David MacMahon dav...@astro.berkeley.edu wrote: 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 model_sysgen.log or model_sysgen_warning.log or model_sysgen_error.log files? It would really help to know which block or file is causing this error. Thanks, Dave On Mar 9, 2015, at 6:24 AM, Charles Copley wrote: 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 than simply using the sync pulse for synchronizing the data to the FFT windows. As soon as I do this I get the error in the subject line: Operands to the || and operators must be convertible to logical scalar values This does not happen if I use the sync pulse directly, without the counter. All the data types are identical after a port update. Does anyone have this problem with the 2014 July Casper toolflow? Thanks in advance... Charles Copley Cell: +27 (0) 84 430 1160 ---
[casper] Operands to the || and operators must be convertible to logical scalar values
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 than simply using the sync pulse for synchronizing the data to the FFT windows. As soon as I do this I get the error in the subject line: Operands to the || and operators must be convertible to logical scalar values This does not happen if I use the sync pulse directly, without the counter. All the data types are identical after a port update. Does anyone have this problem with the 2014 July Casper toolflow? Thanks in advance... Charles Copley Cell: +27 (0) 84 430 1160 ---
Re: [casper] Operands to the || and operators must be convertible to logical scalar values
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 higher frequency pulse for use in snap blocks i.e. to write the snap block data more frequently than simply using the sync pulse for synchronizing the data to the FFT windows. As soon as I do this I get the error in the subject line: Operands to the || and operators must be convertible to logical scalar values This does not happen if I use the sync pulse directly, without the counter. All the data types are identical after a port update. Does anyone have this problem with the 2014 July Casper toolflow? Thanks in advance... Charles Copley Cell: +27 (0) 84 430 1160 ---
Re: [casper] Operands to the || and operators must be convertible to logical scalar values
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 model_sysgen.log or model_sysgen_warning.log or model_sysgen_error.log files? It would really help to know which block or file is causing this error. Thanks, Dave On Mar 9, 2015, at 6:24 AM, Charles Copley wrote: 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 than simply using the sync pulse for synchronizing the data to the FFT windows. As soon as I do this I get the error in the subject line: Operands to the || and operators must be convertible to logical scalar values This does not happen if I use the sync pulse directly, without the counter. All the data types are identical after a port update. Does anyone have this problem with the 2014 July Casper toolflow? Thanks in advance... Charles Copley Cell: +27 (0) 84 430 1160 ---