Searched refs:speed (Results 1 - 25 of 78) sorted by relevance

1234

/gem5/src/systemc/tests/systemc/misc/v1.0/dash0/
H A Dpulse.cpp58 // Find the pulse period to produce speed.
61 gen_pulse_mod::find_period(int speed) argument
63 if (speed <= 0)
68 double dp = num / speed;
84 int speed = 120; local
94 AWAIT(find_period(speed));
98 AWAIT(find_period(speed));
H A Dspeed.cpp22 speed.cpp -- Definition of the speedometer.
38 // $Log: speed.cpp,v $
56 #include "speed.h"
64 // Compute speed.
70 double speed = 0.0; local
75 // consequently, speed. This function collects NUM_PULSES_FOR_SPEED
79 speed = DIST_BETWEEN_TWO_PULSES * PERIODS_PER_HOUR / elapsed_time;
84 cout << "Current speed displayed = "
85 << speed << " km/h @ " << sc_time_stamp() << endl;
87 << speed * MAX_ANGL
[all...]
H A Dpulse.h48 // Find the pulse period to produce speed.
49 int find_period(int speed);
/gem5/src/systemc/tests/systemc/misc/v1.0/dash1/
H A Dpulse.cpp54 // Find the pulse period to produce speed.
57 gen_pulse_mod::find_period(int speed) argument
59 if (speed <= 0)
64 double dp = num / speed;
90 AWAIT(find_period(speed));
94 AWAIT(find_period(speed));
H A Dpulse.h46 sc_in<int> speed; // Speed of the car set by the driver. local
50 // Find the pulse period to produce speed.
51 int find_period(int speed);
H A Dspeed.cpp22 speed.cpp -- Definition of the speedometer.
38 // $Log: speed.cpp,v $
52 #include "speed.h"
63 // Compute speed.
74 // consequently, speed. This function collects NUM_PULSES_FOR_SPEED
80 speed = tmp_speed;
84 speed = 0.0;
H A Ddriver.h45 sc_in<double> speed; local
66 sensitive << speed << angle << total << partial;
/gem5/src/systemc/tests/systemc/misc/v1.0/dash2/
H A Dpulse.cpp54 // Find the pulse period to produce speed.
57 gen_pulse_mod::find_period(int speed) argument
59 if (speed <= 0)
64 double dp = num / speed;
90 AWAIT(find_period(speed));
94 AWAIT(find_period(speed));
H A Dpulse.h46 sc_in<int> speed; // Speed of the car set by the driver. local
50 // Find the pulse period to produce speed.
51 int find_period(int speed);
H A Ddriver.h45 sc_in<double> speed; local
66 sensitive << speed << angle << total << partial;
H A Dspeed.cpp22 speed.cpp -- Definition of the speedometer.
38 // $Log: speed.cpp,v $
52 #include "speed.h"
63 // Compute speed.
72 // consequently, speed. This function collects NUM_PULSES_FOR_SPEED
86 // Filter speed.
101 speed = filtered_speed * 1.0;
105 speed = 0.0;
/gem5/src/systemc/tests/systemc/misc/v1.0/dash3/
H A Dpulse.cpp54 // Find the pulse period to produce speed.
57 gen_pulse_mod::find_period(int speed) argument
59 if (speed <= 0)
64 double dp = num / speed;
90 AWAIT(find_period(speed));
94 AWAIT(find_period(speed));
H A Dpulse.h46 sc_in<int> speed; // Speed of the car set by the driver. local
50 // Find the pulse period to produce speed.
51 int find_period(int speed);
/gem5/src/systemc/tests/systemc/misc/v1.0/dash4/
H A Dpulse.cpp54 // Find the pulse period to produce speed.
57 gen_pulse_mod::find_period(int speed) argument
59 if (speed <= 0)
64 double dp = num / speed;
90 AWAIT(find_period(speed));
94 AWAIT(find_period(speed));
H A Dpulse.h46 sc_in<int> speed; // Speed of the car set by the driver. local
50 // Find the pulse period to produce speed.
51 int find_period(int speed);
/gem5/src/systemc/tests/systemc/misc/v1.0/dash5/
H A Dpulse.cpp54 // Find the pulse period to produce speed.
57 gen_pulse_mod::find_period(int speed) argument
59 if (speed <= 0)
64 double dp = num / speed;
91 AWAIT(find_period(speed));
95 AWAIT(find_period(speed));
H A Dpulse.h46 sc_in<int> speed; // Speed of the car set by the driver. local
50 // Find the pulse period to produce speed.
51 int find_period(int speed);
/gem5/src/systemc/tests/systemc/misc/v1.0/dash6/
H A Dpulse.cpp54 // Find the pulse period to produce speed.
57 gen_pulse_mod::find_period(int speed) argument
59 if (speed <= 0)
64 double dp = num / speed;
93 AWAIT(find_period(speed));
97 AWAIT(find_period(speed));
H A Dpulse.h46 sc_in<int> speed; // Speed of the car set by the driver. local
50 // Find the pulse period to produce speed.
51 int find_period(int speed);
/gem5/src/systemc/tests/systemc/misc/v1.0/dash7/
H A Dpulse.cpp54 // Find the pulse period to produce speed.
57 gen_pulse_mod::find_period(int speed) argument
59 if (speed <= 0)
64 double dp = num / speed;
93 AWAIT(find_period(speed));
97 AWAIT(find_period(speed));
H A Dpulse.h46 sc_in<int> speed; // Speed of the car set by the driver. local
50 // Find the pulse period to produce speed.
51 int find_period(int speed);
/gem5/src/systemc/tests/systemc/misc/v1.0/dash8/
H A Dpulse.cpp54 // Find the pulse period to produce speed.
57 gen_pulse_mod::find_period(int speed) argument
59 if (speed <= 0)
64 double dp = num / speed;
93 AWAIT(find_period(speed));
97 AWAIT(find_period(speed));
H A Dpulse.h46 sc_in<int> speed; // Speed of the car set by the driver. local
50 // Find the pulse period to produce speed.
51 int find_period(int speed);
/gem5/src/systemc/tests/systemc/misc/v1.0/dash9/
H A Dpulse.cpp54 // Find the pulse period to produce speed.
57 gen_pulse_mod::find_period(int speed) argument
59 if (speed <= 0)
64 double dp = num / speed;
93 AWAIT(find_period(speed));
97 AWAIT(find_period(speed));
H A Dpulse.h46 sc_in<int> speed; // Speed of the car set by the driver. local
50 // Find the pulse period to produce speed.
51 int find_period(int speed);

Completed in 10 milliseconds

1234