Question about VHDL programming
Posted on 2010-09-09
I had a question about programming in VHDL. I need to write a program that will multiply two (two bit) numbers without using the * (multiplication operator).
I have figured out how to do this, we could do a bit shift to the left if we were multiplying by 2, and we could do the same and add the first number to the result if the number is being multiplied by 3.
I took a shot at writing the code, but it doesn't quite work...
Appreciate any help on this.