Interested In VHDL Training? Click Here

0 votes
in Verilog by (220 points)

What is the ^ symbol used for in Verilog?

3 Answers

0 votes
by (220 points)

This is 'XOR'. It may be either unary or binary operator.

a ^ b - is a XOR b

^a - is a bit-wise XOR, the result is scalar single bit value that is XOR of all bits of the vector a.

0 votes
by (220 points)

It is a reduction XOR operator. It performs bit-wise operation on an operand. Operand is a multibit vector and the output is a single bit after this operation is performed. It performs bit-wise XOR reduction on all bits of the input vector and returns a single bit.

0 votes
by (220 points)

it's xor logic

Want to improve your VHDL skills?

Click Here - Sign Up For VHDL Training

© 2022 by Hardware Coder. User contributions are licensed under cc by-sa 4.0 with attribution required. Attribution means a link to the question, answer, user, etc on this site.

This site is owned and operated by Hardware Coder in McKinney, Texas.

Send Us A Message
About Us

By using this site, you agree to the following:

Privacy Policy
Terms and Conditions
DMCA Policy
Earnings Disclaimer
Legal Disclaimer

...