gem5 v24.0.0.0
Loading...
Searching...
No Matches
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.


Generated on Tue Jun 18 2024 16:24:08 for gem5 by doxygen 1.11.0