gem5  v22.0.0.2
Macros | Variables
const.h File Reference

Go to the source code of this file.

Macros

#define AWAIT(N)
 

Variables

const int MAX_SPEED = 130
 
const int MAX_ANGLE = 270
 
const double DIST_BETWEEN_TWO_PULSES = 0.00066 / 2
 
const double DIST_INCR = 0.01
 
const int NUM_PULSES_FOR_SPEED = 2
 
const int NUM_PULSES_FOR_DIST_INCR = 61
 
const int SLOW_CLOCK_PERIOD0 = 10000
 
const int FAST_CLOCK_PERIOD1 = 50
 
const int ONE_HOUR = 36000000
 
const int PERIODS_PER_HOUR = ONE_HOUR / FAST_CLOCK_PERIOD1
 

Macro Definition Documentation

◆ AWAIT

#define AWAIT (   N)
Value:
for (register int i = 0; i < N; ++i) \
wait();

Definition at line 58 of file const.h.

Variable Documentation

◆ DIST_BETWEEN_TWO_PULSES

const double DIST_BETWEEN_TWO_PULSES = 0.00066 / 2

Definition at line 44 of file const.h.

◆ DIST_INCR

const double DIST_INCR = 0.01

Definition at line 45 of file const.h.

◆ FAST_CLOCK_PERIOD1

const int FAST_CLOCK_PERIOD1 = 50

Definition at line 54 of file const.h.

◆ MAX_ANGLE

const int MAX_ANGLE = 270

Definition at line 42 of file const.h.

◆ MAX_SPEED

const int MAX_SPEED = 130

Definition at line 41 of file const.h.

◆ NUM_PULSES_FOR_DIST_INCR

const int NUM_PULSES_FOR_DIST_INCR = 61

Definition at line 51 of file const.h.

◆ NUM_PULSES_FOR_SPEED

const int NUM_PULSES_FOR_SPEED = 2

Definition at line 48 of file const.h.

◆ ONE_HOUR

const int ONE_HOUR = 36000000

Definition at line 55 of file const.h.

◆ PERIODS_PER_HOUR

const int PERIODS_PER_HOUR = ONE_HOUR / FAST_CLOCK_PERIOD1

Definition at line 56 of file const.h.

◆ SLOW_CLOCK_PERIOD0

const int SLOW_CLOCK_PERIOD0 = 10000

Definition at line 53 of file const.h.

gem5::ArmISA::i
Bitfield< 7 > i
Definition: misc_types.hh:67
sc_core::wait
void wait()
Definition: sc_module.cc:653

Generated on Thu Jul 28 2022 13:32:53 for gem5 by doxygen 1.8.17