URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
Go to most recent revision |
Only display areas with differences |
Details |
Blame |
View Log
Rev 304 |
Rev 384 |
-- { dg-do compile }
|
-- { dg-do compile }
|
-- { dg-options "-gnatws" }
|
-- { dg-options "-gnatws" }
|
|
|
package body Slice8_Pkg3 is
|
package body Slice8_Pkg3 is
|
|
|
Current : Str.Lines (Str.Line_Count);
|
Current : Str.Lines (Str.Line_Count);
|
Last : Natural := 0;
|
Last : Natural := 0;
|
|
|
function Get return Str.Paragraph is
|
function Get return Str.Paragraph is
|
Result : constant Str.Paragraph := (Size => Last,
|
Result : constant Str.Paragraph := (Size => Last,
|
Data => Current (1..Last));
|
Data => Current (1..Last));
|
begin
|
begin
|
Last := 0;
|
Last := 0;
|
return Result;
|
return Result;
|
end Get;
|
end Get;
|
|
|
end Slice8_Pkg3;
|
end Slice8_Pkg3;
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.