electronics forum

Rules | Recent posts | topic RSS | Search | Register  | Log in

How to design 1 to 8 multiplier


Post new topic  Reply to topic    EDAboard.com Forum Index -> ASIC Design Methodologies & Tools (Digital) -> How to design 1 to 8 multiplier
Author Message
kunal1514



Joined: 13 Dec 2006
Posts: 90


Post04 Nov 2009 10:03   

How to design 1 to 8 multiplier


Hi all,

How to design 1 to 8 multiplier
Back to top
ebuddy



Joined: 15 May 2007
Posts: 28
Helped: 1


Post05 Nov 2009 2:03   

Re: How to design 1 to 8 multiplier


Manually, you can either write the boolean table and design the logic, or you can design 1 to 2 mux and cascade them together. Of course, an HDL approach is most effecient.
Back to top
Google
AdSense
Google Adsense




Post05 Nov 2009 2:03   

Ads




Back to top
cherin



Joined: 18 May 2008
Posts: 8


Post05 Nov 2009 19:09   

Re: How to design 1 to 8 multiplier


module mux_8to1(sel,out,inp1,inp2,inp3,inp4,inp5,inp6,inp7,inp8);

input [2:0] sel;
input inp1,inp2,inp3,inp4,inp5,inp6,inp7,inp8;
output out;

assign out=(sel[2]?(sel[1]?(sel[0]?inp8:inp7):(sel[0]?inp6:inp5)):(sel[1]?(sel[0]?inp4:inp3):(sel[0]?inp2:inp1)));

endmodule


this is the verilog module for an 8 is to 1 mux
As already mentioned, an alternative is to use 7 2:1 muxes in a binary tree structure to make up an 8 is to 1 mux.
Hope this is useful, Cheers!
Back to top
Arabic versionBulgarian versionCatalan versionCzech versionDanish versionGerman versionGreek versionEnglish versionSpanish versionFinnish versionFrench versionHindi versionCroatian versionIndonesian versionItalian versionHebrew versionJapanese versionKorean versionLithuanian versionLatvian versionDutch versionNorwegian versionPolish versionPortuguese versionRomanian versionRussian versionSlovak versionSlovenian versionSerbian versionSwedish versionTagalog versionUkrainian versionVietnamese versionChinese version
Post new topic  Reply to topic    EDAboard.com Forum Index -> ASIC Design Methodologies & Tools (Digital) -> How to design 1 to 8 multiplier
Page 1 of 1 All times are GMT + 1 Hour
Similar topics:
how to design multiplier? (1)
How to design low-frequency multiplier (1)
How to design a floating point multiplier? (5)
how to design a clock multiplier in verilog (6)
DESIGN OF ANALOG MULTIPLIER (7)
multiplier design [hlp] (2)
design procedure of CMOS Multiplier (2)
current mode analog multiplier design (5)
how to implement a frequence multiplier? (3)
cmos multiplier, How it goes? (1)


Abuse || Administrator || Moderators || Support us || sitemap
topic RSS