1
0
mirror of https://github.com/antonblanchard/microwatt.git synced 2026-01-11 23:43:15 +00:00
antonblanchard.microwatt/glibc_random_helpers.vhdl
Anton Blanchard 06392e7eaa Reformat glibc_random
Signed-off-by: Anton Blanchard <anton@linux.ibm.com>
2019-09-19 20:33:58 +10:00

20 lines
532 B
VHDL

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;