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 |
-- { dg-do compile }
|
-- { dg-do compile }
|
|
|
package body itypes is
|
package body itypes is
|
Size : constant := 10;
|
Size : constant := 10;
|
type Arr is array (1 .. size) of Integer;
|
type Arr is array (1 .. size) of Integer;
|
|
|
type Rec is record
|
type Rec is record
|
Field1 : Arr := (others => 0);
|
Field1 : Arr := (others => 0);
|
Field2 : Arr := (others => 0);
|
Field2 : Arr := (others => 0);
|
Field3 : Arr := (others => 0);
|
Field3 : Arr := (others => 0);
|
Field4 : Arr := (others => 0);
|
Field4 : Arr := (others => 0);
|
Field5 : Arr := (others => 0);
|
Field5 : Arr := (others => 0);
|
Field6 : Arr := (others => 0);
|
Field6 : Arr := (others => 0);
|
Field7 : Arr := (others => 0);
|
Field7 : Arr := (others => 0);
|
end record;
|
end record;
|
|
|
procedure Proc is
|
procedure Proc is
|
Temp1 : Rec;
|
Temp1 : Rec;
|
begin
|
begin
|
null;
|
null;
|
end;
|
end;
|
end;
|
end;
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.