ni.com is currently undergoing scheduled maintenance.

Some services may be unavailable at this time. Please contact us for help or try again later.

LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

floating-point addition unit

Hello All,
 
I am very new to NI and I am looking for an example of floating-point addition unit. Basically, I am looking for some example to perform addition of two floating point number (single or double precision). -- just how to create floating-point addition unit using logical gates model (i.e. AND, OR, XOR, etc)
 
Thank you!
 
Leo

Message Edited by smuStudent on 12-05-2005 11:51 PM

0 Kudos
Message 1 of 9
(3,842 Views)
Do u mean add something like
 
 
   1.23
   2.2 = 3.43
Message 2 of 9
(3,827 Views)

U mean add something like

 1.23

+

0 Kudos
Message 3 of 9
(3,826 Views)

U mean add something like

  1.23

+

0 Kudos
Message 4 of 9
(3,826 Views)

U mean add something like

   1.23

+

0 Kudos
Message 5 of 9
(3,826 Views)

Sorry my keyboard seems to be spooked! 😉

So all those repeated posts. 😞

I put it again,

Ok do you mean add something like 1.23+ 1.2= 2.43??

Plz ignore my previous posts.

Regards

 

 

 

Message 6 of 9
(3,825 Views)

Four single stars????Smiley Sad

for a keyboard malfunction????Smiley Surprised

woah, does it add up to a single four stars???? Smiley Wink Smiley Very Happy

0 Kudos
Message 7 of 9
(3,808 Views)
Thank you for your reply to my post. Yes, I am looking for a design I can do with NI and build a IEEE Floating-Point Addition "unit" and when it works take it to the next level for FPGA. I can wait with FPGA at the moment, as I need to understand and learn more about how to build in for just regular IEEE (either single or double precision formats).
Yes, essentially it is something like:
1.23 + 2.34
But, I want to learn or see (if there is an example) how I can build it with logical gates (AND, OR, XOR , etc)

Thank you!
Message 8 of 9
(3,777 Views)
Most (if not all) of us, when we want to do floating point math just put the Add function onto the block diagram.Smiley Wink I would suggest you google for floating point gates or something similar. You can create subVIs that make up the basic functions such as a full adder and then link them together as needed.
Message 9 of 9
(3,736 Views)