码迷,mamicode.com
首页 > 其他好文 > 详细

Verilog之Bitwise operation

时间:2015-04-17 20:07:47      阅读:434      评论:0      收藏:0      [点我收藏+]

标签:

 

1  Bitwise operator

  Bitwise operators perform a bit wise operation on two operands.

  They take each bit in one operand and perform the operation with the corresponding bit in the other operand.

  If one operand is shorter than the other, it will be extended on the left side with zeroes to match the length of the longer operand.

  技术分享

 

2  Reduction operator

  Reduction operators are unary.

  They perform a bit-wise operation on a single operand to produce a single bit result.

  Reduction unary NAND and NOR operators operate as AND and OR respectively, but with their outputs negated. 

  技术分享

Verilog之Bitwise operation

标签:

原文地址:http://www.cnblogs.com/mengdie/p/4435479.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!