7 Replies Latest reply on Nov 16, 2015 9:56 AM by michael.rubinstein

    Formal parameter to initialize D1 with UDB Editor

    michael.rubinstein

      I added a formal parameter, of type int8.  I set it's type to "hardware".

         

      The parameter was added to the verilog:

         

       parameter HiCmp = 127;

         

      I tried to paste my symbol into the UDB Editor's "Configure Datapath Registers" dialog and got:

         

      Unexpected value: "HiCmp". Expected standard decimal or verilog-style integer literal, e.g. 8'b11001010

         

      I'm new at this, so I might be missing something obvious.

         

      Is there a way to use the parameter to set the initial value?

         

      Thanks