URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 304 |
Rev 384 |
|
|
package body Nested_Subtype_Byref is
|
package body Nested_Subtype_Byref is
|
|
|
type Data (Stamped : Boolean) is record
|
type Data (Stamped : Boolean) is record
|
case Stamped is
|
case Stamped is
|
when True => Valid : Boolean;
|
when True => Valid : Boolean;
|
when others => null;
|
when others => null;
|
end case;
|
end case;
|
end record;
|
end record;
|
|
|
type Message is record
|
type Message is record
|
F : Integer := 1;
|
F : Integer := 1;
|
D : Data (Stamped => True);
|
D : Data (Stamped => True);
|
end record;
|
end record;
|
|
|
procedure Check is
|
procedure Check is
|
M : Message;
|
M : Message;
|
begin
|
begin
|
M.D.Valid := True;
|
M.D.Valid := True;
|
end;
|
end;
|
|
|
end;
|
end;
|
|
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.