verilog_data-2 / antonblanchard_microwatt /glibc_random_helpers.vhdl
SAIFIINDUSTRIES's picture
Add Batch 2 with 10 repos
198fb2a verified
Raw
History Blame
532 Bytes
package glibc_random_helpers is
procedure srand (v : integer);
attribute foreign of srand : procedure is "VHPIDIRECT srand";
function random return integer;
attribute foreign of random : function is "VHPIDIRECT random";
end glibc_random_helpers;
package body glibc_random_helpers is
procedure srand (v : integer) is
begin
assert false severity failure;
end srand;
function random return integer is
begin
assert false severity failure;
end random;
end glibc_random_helpers;