+ Post New Thread
Results 1 to 5 of 5
-
16th June 2017, 15:51 #1
- Join Date
- Oct 2016
- Posts
- 11
- Helped
- 0 / 0
- Points
- 314
- Level
- 3
8-bit multiplier without using packages in vhdl
Hello every body
I need VHDL code for 8-bit unsigned multiplier , but I am not allowed to use std_logic_unsigned/signed package . I am just allowed to use logical gates .it is urgent .Can any one help me ?
Thanks
-
16th June 2017, 15:51
-
16th June 2017, 16:20 #2
- Join Date
- Sep 2013
- Location
- USA
- Posts
- 6,551
- Helped
- 1584 / 1584
- Points
- 28,611
- Level
- 41
Re: 8-bit multiplier without using packages in vhdl
Why, is it because you want someone else to do your homework for you? Can't see any other reason someone would want to design a multiplier with logic gates instead of the traditional way with * or with a IP multiplier.
Did you ever think that maybe the instructor wants to see if you know the material and not that you can get the answer from someone who does know the material?
- - - Updated - - -
It's obvious you haven't done even a basic search....
"gate level unsigned multiplier" in google produces a plethora of results, with some actual circuits.
-
16th June 2017, 16:20
-
16th June 2017, 18:17 #3
- Join Date
- Oct 2016
- Posts
- 11
- Helped
- 0 / 0
- Points
- 314
- Level
- 3
Re: 8-bit multiplier without using packages in vhdl
Firstly , we are here to help others . If we do not help them , we can be silent , and leave no comment.
Secondly , I know the traditional way of multiplying , it is just one line of code ; But as I mentioned I am not allowed ti use package.
Thirdly , I know the material , I have implemented several operators without using package , and have done a lot of search . Every body prefers to choose easy way , and use '*' operator , like you.
Fourthly , unsigned multiplying is a trivial part of a bigger project . I have 5 more projects , I have to work on them ,and do not have enough time .
-
16th June 2017, 18:17
-
16th June 2017, 21:44 #4
- Join Date
- Jun 2010
- Posts
- 6,567
- Helped
- 1914 / 1914
- Points
- 35,892
- Level
- 46
Re: 8-bit multiplier without using packages in vhdl
"*" is not just the easy way, but also the most compatible way. Building your own multiplier is unlikely to be the most efficient implementation (and unlikely to use the built in multipliers). Apart from learning basic logic design, it won't help you in the real world. The only time this ever gets done is as an exercise at university.
So why don't you have time? Did you not start soon enough? There are plenty of examples out there. Wikipedia even has links to different multiplication methods
https://en.m.wikipedia.org/wiki/Binary_multiplier
-
17th June 2017, 00:42 #5
- Join Date
- Sep 2013
- Location
- USA
- Posts
- 6,551
- Helped
- 1584 / 1584
- Points
- 28,611
- Level
- 41
Re: 8-bit multiplier without using packages in vhdl
Originally Posted by Majid_Vatan_Parast
Secondly
Thirdly , I know the material
Fourthly , unsigned multiplying is a trivial part of a bigger project . I have 5 more projects , I have to work on them ,and do not have enough time.
+ Post New Thread
Please login