What the VERILOG HDL code to perform operation of Addition & Multiplication 2 number

Status
Not open for further replies.

yard

Newbie level 3
Joined
Oct 25, 2010
Messages
4
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,310
What the VERILOG HDL code to perform operation of Addition & Multiplication 2 number

i have a problem to do one application about arithmetic logic calculator. I have to design, test and evaluate an arithmetic logic calculator that perform operation of addition and multiplication of two input number. the input number are 5-bit binary reprenting signed decimal number [range -16 to +15]. the design should use VERILOG HDL and test in Altera DE2 board.

Anybody can help me for this problem.. or give some reference book or website to me as my guideline..:?
 

Re: What the VERILOG HDL code to perform operation of Addition & Multiplication 2 num


simply go through these sites
1.asic-world.com
2.**broken link removed**
3.verilog.net



some good verilog books

1.J bhasker -verilog primer

2.Samir palnitkar ....are good ones

altera.com is indeed a huge source of info


Opencores.org is a repository of HDL Projects ....Largest...
 

Re: What the VERILOG HDL code to perform operation of Addition & Multiplication 2 num

from the guide given, is it have some example how to evaluate a 16-bit up/down counter circuit with reset using Verilog HDL??

 

Re: What the VERILOG HDL code to perform operation of Addition & Multiplication 2 num

from the guide given, is it have some example how to evaluate a 16-bit up/down counter circuit with reset using Verilog HDL??

Please check this one a simple mode 8 updown counter ..code

1.8-Bit Up-Down Counter

simple modification can make it mode 16
 

Re: What the VERILOG HDL code to perform operation of Addition & Multiplication 2 num

if you are using verilog 2001, that's simple problem:
Code:
wire signed [ 4: 0] in_a, in_b;
wire signed [ 5: 0] add_out = in_a + in_b;
wire signed [ 7: 0] mul_out = in_a * in_b;
 

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