URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Go to most recent revision |
Only display areas with differences |
Details |
Blame |
View Log
Rev 304 |
Rev 384 |
package volatile1 is
|
package volatile1 is
|
|
|
type Command is (Nothing, Get);
|
type Command is (Nothing, Get);
|
|
|
type Data is
|
type Data is
|
record
|
record
|
Time : Duration;
|
Time : Duration;
|
end record;
|
end record;
|
|
|
type Data_Array is array (Integer range <>) of Data;
|
type Data_Array is array (Integer range <>) of Data;
|
|
|
type Command_Data (Kind : Command; Length : Integer) is
|
type Command_Data (Kind : Command; Length : Integer) is
|
record
|
record
|
case Kind is
|
case Kind is
|
when Nothing =>
|
when Nothing =>
|
null;
|
null;
|
when Get =>
|
when Get =>
|
Data : Data_Array (1 .. Length);
|
Data : Data_Array (1 .. Length);
|
end case;
|
end case;
|
end record;
|
end record;
|
|
|
end;
|
end;
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.