URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 304 |
Rev 384 |
-- { dg-do compile }
|
-- { dg-do compile }
|
-- { dg-final { scan-assembler-not "elabs" } }
|
-- { dg-final { scan-assembler-not "elabs" } }
|
|
|
package body OCONST5 is
|
package body OCONST5 is
|
|
|
procedure Check (Arg : R; Bit : U1) is
|
procedure Check (Arg : R; Bit : U1) is
|
begin
|
begin
|
if Arg.Bit /= Bit
|
if Arg.Bit /= Bit
|
or else Arg.Agg.A /= 3
|
or else Arg.Agg.A /= 3
|
or else Arg.Agg.B /= 7
|
or else Arg.Agg.B /= 7
|
then
|
then
|
raise Program_Error;
|
raise Program_Error;
|
end if;
|
end if;
|
end;
|
end;
|
end;
|
end;
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.