signal assignment & equality

is it possible to do something like this:
[code]output <= (a=b) and (c=d)[/code]
[code]output: out Bit; a,b,c,d:in Bit[/code]

the reason why I am asking is this error:
[italic]Type error resolving infix expression "and" as type std.standard.bit.[/italic]
thanks a lot
Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!