8 Replies Latest reply on Mar 12, 2017 2:13 PM by user_228698340

    TRNG on PSoC5 (using verilog?)


      Hey there,


      I am currently playing around with the PSoC5 to create a true random number TRNG generator (not pseudo random, PRS).


      I found some snippets on stackoverflow:


      But I failed to implement them, as PSoC creator keeps on optimizing the circular structures and the "keep" attribute seems not to help.


      So... how can I force PSoC Creator to prevent optimization or you have some idea on how to generate true random numbers on the PSoC5 (no external pins shall be used to capture noise or similar).