3 Replies Latest reply on Oct 12, 2017 4:17 PM by stevewald_1982846

    Custom User Modules



      The use of  " User modules" in "Designer" is comfortable. Unfortunately, these modules do not allow to use all the features of the material.
      Example 1: "Timer16" does not allow to use the mode "multi-shot".
      Example 2: "SwitchCapConfig" does not allow to configure the entry "Analog Modulator Interface ( Mod Bits)"

      What is the best way of adding these configuration?


      "Custom User Modules" seems planned for it but I do not find documentation or example of use.

        • 1. Re: Custom User Modules

          Some customization can be achieved -








          There was a period where actual user module customization was being discussed,


          see attached. I have not seen open discussion on this for several years, so beware


          it may not be usable in recent Designer Releases. Consider experimenting with it.




          Regards, Dana.

          • 2. Re: Custom User Modules

            Hello Joel,




            I know this post is a little outdated, but still thought it would be better to provide more insight on User Module Customization.




            With PD 5.3 release a lot of things with respect to Custom user modules have been simplified. For minor changes and one-time custom use, you can follow the below steps;




            1. Place the user module you want to edit.


            2. Set the parameters, name etc in the UM parameters/Wizard.


            3. Generate the project by pressing F6.


            4. After generation is complete without any errors, Right-Click on your UM in workspace explorer and then click 'LOCK'


            5. Now you can edit the user module files available under "lib -> Library Source files" in the workspace explorer. These changes will not be over written by designer when generating the project again.




            For creating a complete custom user module out of an existing UM, you can find details in the help section of PD 5.3. See attached image. You can simply press F1 in designer and then search for 'Custom user module', you should find details on how to do them.







            • 3. Re: Custom User Modules

              Any help for 'custom user module' has been deleted or cannot be found in the help system in PD 5.4. Is it possible to place a custom high speed gate-level state-machine based user module? I can synthesize the FSM with other tools, but only if I have a model of the underlying hardware and switching choices to feed the synthesis, and a way of merging my output into the bitstream generator (a troubling prospect).


              Example 1: Generating an RFID signal with digital modulation techniques.

              Example 2: A custom high speed timer without all the kruft of a general purpose timer.