Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rng_generic

Generic random number generator abstraction layer for bare-metal Ada applications.

Overview

rng_generic provides a hardware-independent RNG interface for embedded systems. It abstracts hardware RNG peripherals through generic instantiation.

API

RNG_Types

package RNG_Types is
   type Random_Value is new UInt32;
end RNG_Types;

RNG_Interface

generic
   with procedure Driver_Initialize;
   with function  Driver_Is_Initialized return Boolean;
   with function  Driver_Random return RNG_Types.Random_Value;

package RNG_Interface is
   procedure Initialize;
   function Random return RNG_Types.Random_Value;
end RNG_Interface;

Integration

[[depends-on]]
rng_generic = "^0.1.0"

License

MIT OR Apache-2.0 WITH LLVM-exception

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

Packages

Contributors

Languages