Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Help me find division of two numbers in std_logic (VHDL)

Status
Not open for further replies.

vinodkumar

Full Member level 5
Joined
Oct 5, 2006
Messages
251
Helped
12
Reputation
24
Reaction score
3
Trophy points
1,298
Location
hyderabad
Activity points
2,822
hi frns.need help to find division of two numbers in std_logic.iam very much thnkful if u help me.
 

Re: vhdl code

DIVISION IS IT A PART OF ONE OF THE OPERATION IN ALU ? OR IT IS JUST DISCRETE ONE INPUT A + INPUT B= > THEN PROCESSE => OUTPUT B .
 

Re: vhdl code

Well, the problem can be a pandora's box of sorts.

Here you have the problem of possibly having a remainder.

So you need to resolve a method of determining whether or not you have a remainder (modulo) or not. Then you need to store/concatenate your remainder.

Other than that you can do number conversions, for instance std_logic to integer and vice versa. This is actually a good practice for learning.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top