Skip to content

Commit bdff628

Browse files
Qinghao ShiQinghao Shi
authored andcommitted
FASTMODEL: add a comment for TRNG simulation
1 parent 5089d9d commit bdff628

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

targets/TARGET_ARM_FM/TARGET_FVP_MPS2/trng_api.c

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,9 @@
1919
#include "device.h"
2020
#include <stdlib.h>
2121

22-
22+
/** NOTE: FastModel are software models not contain any TRNG peripheral
23+
* So C library srand() and rand() are used to simulate TRNG device
24+
*/
2325

2426
void trng_init(trng_t *obj)
2527
{

0 commit comments

Comments
 (0)