Quick questions of FPGA: Broadband Division vs Multiplication implementation (rounded)?

Hi all

I'm trying to implement a simple routine where I divide a FXP by number 7 to the FPGA. I wanted to use the broadband division, but it seems only to round to the nearest integer even if the output is capable of representing fractions. Otherwise, I can multiply my number by 1/7 using the proliferation of broadband and I get what I want. I'm not too familiar with arithmetic FXP. At least without understanding the problem, I have a solution that is to use the multiplication. I just want to know a little more. Can someone please shine an idea on why the division rounds even if he can manipulate fractions?

Thanks for your help

Somehow your obtained initial indicator set 0-digit precision for display formatting. This means that the data are indeed correct and there, but the text format of the on-screen display rounded to the whole number.

Any ideas how this parameter has changed?

Tags: NI Software

Similar Questions

  • Just a quick question about the appearance of the cluster

    Hello, this is Matthew, just a quick question about the appearance of the cluster

    Is there anyway to rearrange the order of the elements? I know cutting automatic resizing, I could move the items by hand. But if I use the cluster somewhere else, I have to move the items again...

    What I want is of the order of "Mx My Mz Ax Ay Az Temp voltage CS".

    Is there a quicker way to deal with?

    THz so much!

    You can right-click the border of the cluster and choose "arrange control cluster...". "The user interface is not as intuitive as it could be, but it will allow you to reorder items. If you use the cluster in several places, you should make the cluster in a type definition and replace all current uses of the latter with the type definition, so that they all match. They will also update automatically when you make changes to the type definition. Otherwise, you could have a situation where you have multiple groups with the same data types, but with elements in a different order, and your data will be getting a new denominated, when wire you the whole clusters. The data will be in the same order, but given that the item labels are in a different order, you can't get the data you want, when ungroup you by name.

  • 2 really quick questions

    Hey everyone, I got 2 really quick questions on ESX 3.5:

    We have a small group of 2 lovely R900s, about 50 people running and when I restore updates, one machine is usually powerful enough to run all the guests by itself. Because virtual machines are migrated from one to another, after the update, all or most machines tend to stay on one of the hosts. Is there a way to tell the DRS automatically re - balance resources (i.e. migrate about half of the load to the other server)?

    Also, what would be the cause of Manager update being impossible to apply all updates during the reclamation? Often, I have to make multiple passes to get the servers completely up to date. Is this normal?

    Thank you!

    cecjr

    Just let DRS do its thing, it can take a long time to make a decision. If you want a quicker response you can assign it aggressive or moderately aggressive.

    It is normal that some Update Manager passes, depending on what patches are installed and dependencies.

    If you have found this question to be good, or useful, don't forget to award points.

    Dennis Procopio - VCP

  • Two quick questions (hopefully) - right way to dynamically change the CSS class and put of Splash screen implemented

    Couple of quick questions have left me speechless!

    So, it seems obvious that many JavaFX applications want to dynamically change the CSS styles.  Is the best way to do it through la.getStyleClass () .add ("classname") < node >?  The underlying data structure is a list of observable.  So let's say we have 5 styles that simply to change the fill color of a circle of 5 different colors, respectively.  So if I have a condition in which I want to dynamically apply 1 of these 5 styles, as I do now it's by setting all 5 styles as a string in a list by using a static initializer, then I call < node > .getStyleClass () .removeAll (list), then getStyleClass () .add ("classname").  I do this to avoid adding again and still the same style and inflate the underlying list.  What is the right way to manage dynamic CSS styles?

    Finally a very simple I think.  So I know there's a little differently to implement a splash screen.  My app has certainly got bigger in the last few months of development and I noticed there are about a 5 second delay between when I run the application when I see the main stage.  I was thinking what a splash screen would be nice to fill that time.  I had no time to prototype using a Preloader and I fear that using another, early stage start-up again would be too long of a delay.  "I actually thought that using the Nice and simple JVM argument" - splash: image name > "would be simple, easy and effective.  Unfortunately when I try to do, the splash screen appears but never goes away.  Anyone know what is happening with this?

    Your mechanism to manage the css style classes is a good approach; I've used several times. I wonder why the style classes have been implemented as a list, instead of a game, but there may be cases of good use for the use of a list.

    In some cases you can also consider using CSS PsuedoClasses, which were presented in JavaFX 8. Here is a little easier to use, especially if you have two options. But a use case might look like:

    public class Message {
        public enum Status { NORMAL, WARNING, CRITICAL }
    
        private final ObjectProperty status = new SimpleObjectProperty<>(Status.NORMAL);
        private final StringProperty message = new SimpleStringProperty();
    
        // constructor, getters, setters, and property accessors....
    }
    
    public Label createLabel(Message message) {
        PseudoClass warning = PseudoClass.getPseudoClass("warning");
        PseudoClass critical = PseudoClass.getPseudoClass("critical");
    
        Label label = new Label();
        label.textProperty().bind(message.messageProperty());
        message.statusProperty().addListener((obs, oldStatus, newStatus) -> {
            label.pseudoClassStateChanged(warning, newStatus == Message.Status.WARNING);
            label.pseudoClassStateChanged(critical, newStatus == Message.Status.CRITICAL);
        }
        return label ;
    }
    

    And then your css looks like

    .label:warning {
        -fx-text-fill: orange ;
    }
    .label:critical {
        -fx-text-fill: red ;
    }
    
  • Quick question on installing RUEI, RUEI 12 c Release 4 (12.1.0.5)


    Hi people,

    I have started the installation procedure, downloaded RUEI 12 c Release 4 (12.1.0.5).

    I had a quick question.

    I decided using the following installation option:

    Installation and configuration, journalist and collector of component on the same server (Red Hat
    Enterprise Linux 5)

    Use the distance journalist Oracle db, GR 11, 2 on a separate server (Suse 11, x 86-64)

    This configuration should work, the Oracle db running on Suse 11, but the RUEI
    components are run on RHEL 5?

    Thank you

    Ashish

    Hi Ashish, this should be no problem at all. In fact, it is a common facility.

  • Am about to buy DW.  2 quick questions before proceeding.  (1) can I associate a DW created an EXTERNAL SQL Express database for the read/write site?  Can be made safe?  (2) am plans to use Contribute to allow non-technical users to end dry change

    Am about to buy DW.  2 quick questions before proceeding.  (1) can I associate a DW created an EXTERNAL SQL Express database for the read/write site?  Can be made safe?  (2) am plans to use Contribute to allow non-technical end users EASILY change the sections of the web site.  Can this work?  Thank you.

    I would like some ideas.

    A CMS is the standard solution in the industry today. The most common environment is LAMP (LINUX, Apache, MySQL, PHP).

    Some of us to write custom CMS systems for a living. I concentrate on CMS for retirement centers. There are all kinds of solutions CMS available ranging from generalist, off-the-shelf CMS like WordPress, completely custom, with a lot of opportunities in the meantime.

  • I have 2 quick questions on the Adobe Creative Cloud membership. I currently have 2 children in high school.  (1) is the license for 1 or can it covers 2 users? (2) can they access it from PC or MacBook this year? Thanks for your help.

    Adobe community, I have 2 quick questions on Adobe Creative Cloud membership. I am considering the Adobe Creative Cloud 'Plan of the student' for 2 children currently in high school.  (1) is the license for 1 or can it covers 2 users? (2) can they access it from PC or MacBook this year? Thanks for your help.

    each single-user license, it's just that, for a single user and can not (legally) be shared between two different users.

    programs of CC can be installed on pc or mac.  each user can install on an unlimited number of computers, but can only connect to, at most, two computers at a time.  These 2 computers can be 2 pcs, 2 macs, or one of each.

  • quick question on vcenter license

    quick question - Little confussion here on the version of vcenter.  Is there a version of vcenter company?  Or just vcenter license as 'standard vcenter' which then manages your esxi host with essential/standard/enterprise or company more licenses?

    There are a few versions. standard, Foundation and essentials.

    http://www.VMware.com/products/vCenter-Server/buy.html

  • Quick question: migration cold are still the way to go in a P2V?

    Quick question: are cold migration always the way to go during the P2V conversion on the server than SQL databases?  I am looking for a quick answer/explanation & link possible for literature... well and other assistance you can provide.  Thank you.

    The latest VMware vCenter Converter BootCD is part of the module and VMware vCenter Server 4.0 update 3. I'm not sure whether this is included/available with for example the assessment of vSphere

    André

  • Quick question Concept...

    Hello

    I'm a designer based in Bozeman, Montana and had a quick question for you guys.

    I was recently invited to be part of a new online magazine design team.  I was curious as to whether or not it would be possible to publish this magazine using the Flash.  The layout and design will be completed in InDesign.  A friend of mine (also a designer) thought it might be possible and told me to post about it here.

    It would be ideal that the magazine could be put across to adapt automatically to the player screen.  Navigation buttons, including links to archive forward, backward, and so on would be as important.  Page flip animation is not necessary.  Resolution and clarity are essential, both for text and photos.

    What do you think guys?  Is it possible in Flash, and if not how can I make it work?

    Thank you.

    I did not much/all this. But it could be a useful starting point.

    http://TV.Adobe.com/?TrackingID=EAWSV#VI+f15383v1024

    You do not have a John Bozeman pork chop? mmmm, pork chop "sandwich"...

  • Just a quick question-canvas opening trigger?

    Hi guys, sorry, just another quick question. I created the code that works fine at 100%. I placed this code in the trigger a time new form instance, but it is only ever really used when the user navigates to one new canvas (another page) on the same form. I feel as this is the case, that the code should be placed so it only triggers the opening of the page/canvas in need. IS that correct and if so where should I look to put this code?

    When I opened the new canvas, I do it using go_item and then navigate to a point relative to the new canvas, perhaps the code would be better placed within a piece of text pre trigger?

    Just curious what would be practical stand / recommended.

    Thank you

    Hello
    If the two paintings are on different windows then the code below should work fine on the level called form WHEN-WINDWOW-ACTIVATED trigger...

    IF :SYSTEM.EVENT_WINDOW='SECOND_CANVAS_WINDOW' THEN
      -- here do something...
    END IF;
    

    Or if there is a separate block on the second canvas, which you access by integrated go_item and then use your level trigger logical block called a TIMES-NEWS-BLOCK-INSTANCE on the second block.

    -Clément

  • quick question on the boxes:

    Hello

    Real quick question. In a form, is the uncheckedness or the checkedness of a box out like, 'true' and 'false '? Or what it output? Thank you

    Hi nonybd,

    Yes, it's exactly what he does. Also user standard Flash UI components
    have a property 'data' associated so that you can recover some
    associated information. For example, a checkbox that says, 'I accept' can
    have the data property set to "agreedfull". A secondary check may be
    "I agree, but only on part 1" and this may have data "adoptees1".
    Generally you should never check the Boolean property, but these data
    value is specified to make it just that much more useful.

    Kind regards
    Patrick
    BNM

    nonybd wrote:
    > Hi,.
    >
    > Real quick question. In a form, is the uncheckedness or the checkedness of a box out like, 'true' and 'false '? Or what it output? Thank you

  • question pxi_trig FPGA with multiple cards

    I'm trying to get several cards to control and drive the same pxi_trig line.  The goal is to have all the cards to follow the same trigger line.  When a card is said to occur, other cards should detect it.  I found a similar problem discussed here, http://forums.ni.com/t5/PXI/pxi-trig-problem/m-p/1013201, but I try to avoid having a master / slave relationship.  Again I want any card capable of steering the trigger.  If I understand that the problem has been resolved with the method "Set exit help", I don't see the expected behavior.

    Any help would be greatly appreciated.

    Hi Thatguy,

    It seems that what you're doing should work.  As long as you reference the same trigger, they will all use the same physical wire from the PXI backplane.

    I don't follow the logic of sense, though, but I guess what you're trying to do is to determine if this card tries to lead the line, while the value"Set out".

    One thing to note when the line is not used, it is drawn up.  I don't know if this could be what you see or not.

    What behavior do you see?

    Dave T.

  • Questions about math broadband features

    Hello

    I'm just trying to understand what advandages High Troughput Math Funtions have. I so ask a few Questions.

    I always talk about beeing inside a SCTL.

    1. in the Image you can see four functions to add. One with U32 who must use more resources than with the U16Datatype that uses mor than the U8. But my broadband Math FXP uses fewer resources than the U8 Version?

    2. who this four functions add will take less time for execution?

    3. If I add two 32 bit a number with the normal add-in and the other with broadband Add. Which functions uses less resources and who will be fastest?

    4. How would it bee if I had a Multiplication instead? When I understand the concept of a Multiplication on the right it will be done with a DSP48E. This logical block is able to multiply a little 25 number with a number of 18 bits. So the U32 multiply will use 2 DSP48Es and the other three functions would use a DSP48E.

    I guess that the U32 Version will be slower enforcement?

    Whats on the other three will be their equal execution speed, or Versions with smaller data types will be faster?

    With greetings

    Westgate

    @JLewis: thank you for your answer it helped a lot to understand functions HT!

  • Question of FPGA on speed

    I have as part of the much bigger problem simply multiply the elements of the two tables and summarize the terms to give a single output constant.

    There may be 100 terms mean in the table, but this test that I attach only uses 6 numbers and the same table twice for simplicity. I'm so calculate the scalar product of two vectors of surface where ' is transposed.

    It has been suggested that I shared the calculation in two so that I have summarized the first 3, i.e. 0,1,2 and 3 last, IE the 3,4,5 in parallel (as in the program). Of course, I get the same end result. Would this double FPGA execution speed because it's doen in parallel?

    The reason why I ask this question which is probably if I used a power of 2 amount of data I could divide it again and still a bit like a FFT,.

    Does make sense? or is the FPGA "unpack" the loop FOR in any case is not worth?

    the program displays the original and the split method.

    Thank you

    The side is an FPGA will give you gains of speed whenever you parallelize computation.  The downside is that you still have to do most of it.  No shipping FPGA course OR product made optimizations such as loop place (although the standard LabVIEW).  This is a dangerous operation that could increase the size of the code and FPGA programmers tend to be picky about these things.

    If you can get speed gains each time you parallelize, but you will have to do it manually.  Note If your parallel loops that access a shared resource (memory, state variables, etc.), the claim on this resource will reduce the overall speed, so you get.  Also, if you can integrate calculations in a single-cycle timed loop, you will get there, effectiveness as well.

    Good luck and have fun!

Maybe you are looking for