LabVIEW

cancel
Showing results for 
Search instead for 
Did you mean: 

Boolean value control


@Terry_ALE wrote:

I think division is computed as many successive subtract functions.

 


There are many different algorithms.

 

(And if implemented wrong in silico, you might even get buggy output. Remember the Pentium FDIV bug where the SRT algorithm had a few entries missing in the lookup table.:D)

 

 

Message 11 of 16
(1,439 Views)

Of course if we are dealing with integer powers of two, there are plenty of ways to not use Q&R.

 

Here is one possibility (but there are plenty more!). 😄

 

(You can easily shift the "phase" by incrementing [i] by a small number.)

 

Message 12 of 16
(1,432 Views)

Hi crossrulz, 

Thanks for replying me about how to sample one point per 4 cycles. Now I still have question about how to synchronize the 'input valid' in the FPGA VI with update button in the host VI as I indicated above (IQ sampling). 

 

Thank you

0 Kudos
Message 13 of 16
(1,400 Views)

Could you clarify what you want the functionality of the update button to do and what you mean by having that button synchronized to the input valid? I am not sure I fully understand what you are looking for.

 

Thanks!

Madison T
0 Kudos
Message 14 of 16
(1,371 Views)

Hello mterz,

 

The sample points are (I,Q,-I,-Q). The synchronization means each time I click the update button on the host side, for the arctan(y/x) function in FPGA side, y should always be I, x always be Q. The phase calculated should always varies within a short range. Otherwise, (y,x) might be (Q,-I) or (-I,-Q). 

 

Thank you. 

0 Kudos
Message 15 of 16
(1,366 Views)

Where do the values come from?  Hardware inputs?  FIFO?

input valid should be true when there is valid data coming in

 

The latency from a button being pressed on the Host to when it is read in the FPGA is certainly going to keep things out of sync and will not guarantee that input valid and actual valid data are synchronized.


Certified LabVIEW Architect, Certified Professional Instructor
ALE Consultants

Introduction to LabVIEW FPGA for RF, Radar, and Electronic Warfare Applications
0 Kudos
Message 16 of 16
(1,347 Views)