PROLEAD
A Probing-Based Leakage Detection Tool for Hardware and Software
Loading...
Searching...
No Matches
Namespaces | Macros | Typedefs
types.h File Reference
#include <inttypes.h>

Go to the source code of this file.

Namespaces

namespace  mulator
 

Macros

#define UNUSED(x)   (void)(x);
 
#define _1BIT(x)   ((x) & 0x1)
 
#define _2BIT(x)   ((x) & 0x3)
 
#define _3BIT(x)   ((x) & 0x7)
 
#define _4BIT(x)   ((x) & 0xF)
 
#define _5BIT(x)   ((x) & 0x1F)
 
#define _6BIT(x)   ((x) & 0x3F)
 
#define _7BIT(x)   ((x) & 0x7F)
 
#define _8BIT(x)   ((x) & 0xFF)
 
#define _9BIT(x)   ((x) & 0x1FF)
 
#define _10BIT(x)   ((x) & 0x3FF)
 
#define _11BIT(x)   ((x) & 0x7FF)
 
#define _12BIT(x)   ((x) & 0xFFF)
 
#define _13BIT(x)   ((x) & 0x1FFF)
 
#define _14BIT(x)   ((x) & 0x3FFF)
 
#define _15BIT(x)   ((x) & 0x7FFF)
 

Typedefs

using mulator::u8 = uint8_t
 
using mulator::u16 = uint16_t
 
using mulator::u32 = uint32_t
 
using mulator::u64 = uint64_t
 
using mulator::i8 = int8_t
 
using mulator::i16 = int16_t
 
using mulator::i32 = int32_t
 
using mulator::i64 = int64_t
 

Macro Definition Documentation

◆ _10BIT

#define _10BIT (   x)    ((x) & 0x3FF)

Definition at line 29 of file types.h.

◆ _11BIT

#define _11BIT (   x)    ((x) & 0x7FF)

Definition at line 30 of file types.h.

◆ _12BIT

#define _12BIT (   x)    ((x) & 0xFFF)

Definition at line 31 of file types.h.

◆ _13BIT

#define _13BIT (   x)    ((x) & 0x1FFF)

Definition at line 32 of file types.h.

◆ _14BIT

#define _14BIT (   x)    ((x) & 0x3FFF)

Definition at line 33 of file types.h.

◆ _15BIT

#define _15BIT (   x)    ((x) & 0x7FFF)

Definition at line 34 of file types.h.

◆ _1BIT

#define _1BIT (   x)    ((x) & 0x1)

Definition at line 20 of file types.h.

◆ _2BIT

#define _2BIT (   x)    ((x) & 0x3)

Definition at line 21 of file types.h.

◆ _3BIT

#define _3BIT (   x)    ((x) & 0x7)

Definition at line 22 of file types.h.

◆ _4BIT

#define _4BIT (   x)    ((x) & 0xF)

Definition at line 23 of file types.h.

◆ _5BIT

#define _5BIT (   x)    ((x) & 0x1F)

Definition at line 24 of file types.h.

◆ _6BIT

#define _6BIT (   x)    ((x) & 0x3F)

Definition at line 25 of file types.h.

◆ _7BIT

#define _7BIT (   x)    ((x) & 0x7F)

Definition at line 26 of file types.h.

◆ _8BIT

#define _8BIT (   x)    ((x) & 0xFF)

Definition at line 27 of file types.h.

◆ _9BIT

#define _9BIT (   x)    ((x) & 0x1FF)

Definition at line 28 of file types.h.

◆ UNUSED

#define UNUSED (   x)    (void)(x);

Definition at line 8 of file types.h.