URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 304 |
Rev 338 |
package sync1 is
|
package sync1 is
|
type Chopstick_Type is synchronized interface;
|
type Chopstick_Type is synchronized interface;
|
|
|
type Chopstick is synchronized new Chopstick_Type with private;
|
type Chopstick is synchronized new Chopstick_Type with private;
|
private
|
private
|
protected type Chopstick is new Chopstick_Type with
|
protected type Chopstick is new Chopstick_Type with
|
entry Pick_Up;
|
entry Pick_Up;
|
procedure Put_Down;
|
procedure Put_Down;
|
private
|
private
|
Busy : Boolean := False;
|
Busy : Boolean := False;
|
end Chopstick;
|
end Chopstick;
|
end sync1;
|
end sync1;
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.