May 12, 2009 #1 B bbgil Full Member level 2 Joined Mar 11, 2006 Messages 135 Helped 13 Reputation 26 Reaction score 9 Trophy points 1,298 Activity points 2,321 I tried to use $random () function in Quartus II but it says not synthesizeable. if not, how to generate this ? I am using DE1. Any help is appreciated. thanx in advance.
I tried to use $random () function in Quartus II but it says not synthesizeable. if not, how to generate this ? I am using DE1. Any help is appreciated. thanx in advance.
May 12, 2009 #2 K kel8157 Full Member level 2 Joined Nov 14, 2007 Messages 131 Helped 5 Reputation 10 Reaction score 3 Trophy points 1,298 Activity points 2,017 No, no synthesizer will synthesize that. in verilog, anything starts with $ are simulator functions and can not be synthesized.
No, no synthesizer will synthesize that. in verilog, anything starts with $ are simulator functions and can not be synthesized.
May 12, 2009 #3 FvM Super Moderator Staff member Joined Jan 22, 2008 Messages 52,476 Helped 14,756 Reputation 29,794 Reaction score 14,119 Trophy points 1,393 Location Bochum, Germany Activity points 298,329 Read about LFSR and pseudo random generators. https://en.wikipedia.org/wiki/Linear_feedback_shift_register https://en.wikipedia.org/wiki/Pseudorandom_number_generator
Read about LFSR and pseudo random generators. https://en.wikipedia.org/wiki/Linear_feedback_shift_register https://en.wikipedia.org/wiki/Pseudorandom_number_generator