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.

floating point multiplier

Status
Not open for further replies.

shan14

Member level 3
Member level 3
Joined
Aug 18, 2014
Messages
61
Helped
0
Reputation
0
Reaction score
0
Trophy points
6
Visit site
Activity points
393
Hi

In floating point multiplication,
my significant is (27 downto 0) -----(it is aligned and padded with zeros)

Code:
SIGNIFICANT: out std_logic_vector (27 downto 0);
B_sig : in std_logic_vector (31 downto 0); 
A_sig : in std_logic_vector (31 downto 0); 

signal prod:  std_logic_vector (63 downto 0);

dtemp := (unsigned(A_SIG) * unsigned(B_SIG));
 
SIGNIFICANT<= prod(47 downto 20);

why prod is taken (47 downto 20) and not any other combination like (57 downto 30) etc
 
Last edited by a moderator:

The input numbers are probably padded so only (23 downto 0) contains information, but I can't explain why someone would design it like that.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top