Forum Discussion
Altera_Forum
Honored Contributor
11 years ago --- Quote Start --- I need really some advise please help me :D --- Quote End --- You need to read a book on Verilog, and then write some code and simulate it in Modelsim. What you are asking is directly supported by the language, i.e., the mathematical operation c = a + b. What you need to understand is how to specify a and b, what to do about the bit-growth of the sum, and how to create the enable logic around this sum. So far you have not shown much effort, i.e., you have not shown any attempt at coding. Try harder please. Cheers, Dave