![]() | ![]() | ![]() |
| | |||||||
| General Electronics Chat This forum is for general chat about electronics, eg: Dont know what a part does? Dont know how to read a circuit? Want to get an opinion? |
| | LinkBack | Thread Tools | Display Modes |
| | (permalink) |
| Hello all, Does anyone know how to construct a multiplier circuit using just logic gates?? Say an 4x4 bit or an 8x8 bit multiplier? Thanks | |
| |
| | (permalink) |
| What kind of speed do you need? I imagine it would be pretty complex to do using discrete logic gates, it might make more sense to use a micro controller
__________________ "Because I be what I be. I would tell you what you want to know if I could, mum, but I be a cat, and no cat anywhere ever gave anyone a straight answer, har har." | |
| |
| | (permalink) |
| I agree, using a controller would be alot easier, but that is not an option in my case. The speed is not of great concern, any decent speed would suffice. Thanks. | |
| |
| | (permalink) |
| Well, think about how you would do multiplication on paper. I've been trying for about 20 minutes to explain this with words but I just can't, so perhaps an example will suffice: Code: 1010 x 0101 1010 0000 1010 0000 0110010 If you've got a clock and want to save some parts (or you want to add one just to save some parts) then you can do that sequentially with n AND gates (for an nxn multiplier), an n-bit adder, a 2n-bit shift register to store one of the operands and the result, and an n-bit shift register to store the other operand. The clocked circuit also requires some control logic, which (obviously) varies based on the number of bits involved. I don't have anything I can draw something with right now, but I'll try to get back to this thread tonight (assuming I can get my computer running) to explain better or draw something. | |
| |
| | (permalink) |
| In normal way,You must construct a truth table,An 4*4 bit multiplier need eight-bit outputs,Construct equations for each out bit,Simplify the equations.Then you can build the circuit only with logic gates. There is an easy way to build the circuit,An 4*4 bit multiplier has two four-bit inputs and eight-bit outputs,You can use a 256*8 bit ROM to do this,high four-bit of address and low four-bit address are inputs,DATA of the ROM is outputs of the multiplier. | |
| |
| | (permalink) |
| Sounds like school work to me. If it's not, provide some freegin details. When someone asks you what kind of speed you need and you respond with 'decent speed' you've provided ZERO information. If you just need a 'decent speed' use a 'decent micro controller' or explain why your design isn't able to incorporate them because no real world application would have that pre-requisite.
__________________ "Because I be what I be. I would tell you what you want to know if I could, mum, but I be a cat, and no cat anywhere ever gave anyone a straight answer, har har." | |
| |
| | (permalink) | |
| Quote:
Of course it is school work!!! The majority of the posts on this site are from students requesting information regarding school projects, homework, lectures etc. And yes, a real world application WOULD have that pre-requisite, its called VLSI design!! | ||
| |
| | (permalink) |
| Try googling "Wallace Trees" | |
| |
| Bookmarks |
| Thread Tools | |
| Display Modes | |
| |
| | ||||
| Title | Starter | Forum | Replies | Latest |
| The Oscilloscope | ElectroMaster | Electronic Theory | 12 | 3rd February 2008 02:45 PM |
| Digital Weight Scale Design Ideas | Johnson777717 | Electronic Projects Design/Ideas/Reviews | 12 | 18th August 2007 05:40 PM |
| I hate Digital Electronics | Frosty_47 | General Electronics Chat | 23 | 11th August 2007 06:19 PM |
| Digital control of a LM350/333 | dwurmfeld | Electronic Projects Design/Ideas/Reviews | 2 | 8th September 2006 04:13 PM |
| Digital Troubleshooting and testing | walters | General Electronics Chat | 38 | 24th August 2005 09:21 AM |