cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC 5, 3 & 1 MCU

New Contributor

at this time I wrote a DP verilog implementation and need to set A1 with a value != 0. If I check the Sim in Modelsim it is always 0. Can someone confirm this? My lines are shown here :

   

  ...

   

   cy_psoc3_dp8 #(
                  .a0_init_a(TRESHOLD_ZERO),
                  .a1_init_a(8'd8/*TRESHOLD_POS_ON*/),
                  .d0_init_a(TRESHOLD_NEG_OFF),
                  .d1_init_a(TRESHOLD_POS_OFF),
                  .cy_dpconfig_a(dpconfig0))
   DP8 (  ...

   

 

   

If it realy a bug, how fast will it be fixed and distributed with the next update. Or even is there a work arround?

0 Likes
Reply
4 Replies
New Contributor

maybe important:

   

   localparam TRESHOLD_NEG_ON  = 8'd0; 
   localparam TRESHOLD_NEG_OFF = 8'd2;
   localparam TRESHOLD_ZERO    = 8'd4;
   localparam TRESHOLD_POS_OFF = 8'd6;
   localparam TRESHOLD_POS_ON  = 8'd8;
 

0 Likes
Reply
New Contributor

oh, it seems that a0_init_a seems to have the same problem!

0 Likes
Reply
New Contributor

well, same here:

   

   cy_psoc3_dp #(
                 .a0_init(8'd3/*TRESHOLD_ZERO*/),
                 .a1_init(8'd8/*TRESHOLD_POS_ON*/),
                 .d0_init(TRESHOLD_NEG_OFF),
                 .d1_init(TRESHOLD_POS_OFF),
                 .cy_dpconfig(dpconfig0))
   DP (                 
 

0 Likes
Reply
New Contributor

is this behavior intentionally? Where is the bug list of known (bugzilla e.g.)?

0 Likes
Reply