Le 2013-04-24 19:41, Jon Taylor a écrit :
Hi all,

This may be a general VHDL question, but I thought Id ask here first
in case it is a GHDL bug.  I am compiling the following line:

if (((y sll z) and 1) = 1) then

I get:

no function declarations for operator "sll"

Variables y and z are both integers.  Looks like valid code to me, so
Im stumped....

Jon

Hi,

for using boolean operation with integers, have a look at
http://ygdes.com/GHDL/int_bool/

It's not optimal but I hope this helps.

YG

_______________________________________________
Ghdl-discuss mailing list
[email protected]
https://mail.gna.org/listinfo/ghdl-discuss

Reply via email to