I am stuck with a design problem where I want to generate a random number and than based on user added min-max range it should produce an output in verilog. For generation of random number, I am using LFSR which generates psuedo random number but I am not able to modify it so that it goes inside the min-max range. Can you provide me some suggestion on how to modify such random number so that it generates a new random number inside the desired range.
Aucun commentaire:
Enregistrer un commentaire