Oct 31, 2014 #1 M Mkhitar Ghazaryan Newbie level 1 Joined Oct 31, 2014 Messages 1 Helped 0 Reputation 0 Reaction score 0 Trophy points 1 Activity points 6 Hi, I need a verilog code for 16bit signed carry look ahead adder, Please help me.
Oct 31, 2014 #2 T TrickyDicky Advanced Member level 7 Joined Jun 7, 2010 Messages 7,110 Helped 2,081 Reputation 4,181 Reaction score 2,048 Trophy points 1,393 Activity points 39,769 The easiest way to get the code will be to write the code yourself.
Nov 1, 2014 #3 nick123 Member level 2 Joined Aug 16, 2014 Messages 53 Helped 3 Reputation 8 Reaction score 3 Trophy points 8 Activity points 334 we will use a module called sum to perform the XOR since the carry is computed seprately module sum(a,b,carryin,result); input a,b,carryin;/*add these bits*/ output result;/*sum*/ assign result=a^b^carrin; /*compute the sum*/ end module Attachments Untitle.png 16.2 KB · Views: 85
we will use a module called sum to perform the XOR since the carry is computed seprately module sum(a,b,carryin,result); input a,b,carryin;/*add these bits*/ output result;/*sum*/ assign result=a^b^carrin; /*compute the sum*/ end module