How to implement Random function

  • Thread starter Karthikeyan Subramaniyam
  • Start date
K

Karthikeyan Subramaniyam

Hi all,
I'm trying to port Verilog code to VHDL. In that I've $random system
task in verilog code. Can anyone support me to implement in VHDL
simplest way.

----
reg seq;
always
begin
#10 seq = $random;
end
----

like,

signal seq : std_logic;
.....

Thanks & Regards,
Karthik
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,769
Messages
2,569,581
Members
45,056
Latest member
GlycogenSupporthealth

Latest Threads

Top