2's complement in Verilog

Status
Not open for further replies.

haxaan

Newbie level 2
Joined
Jun 30, 2009
Messages
2
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,294
verilog 2s complement

Can you please code the following in verilog:

A low level module in my project has an input bus of 11-bit and an out bus of 22-bit. Firstly, I need to get the 2's complement of the input and then multiply it with the original input.

thx
 

Status
Not open for further replies.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…