Skip to content

Commit 570ce79

Browse files
committed
Added procedure BlankLine(count : integer := 1) ;
1 parent 9644078 commit 570ce79

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

TranscriptPkg.vhd

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,9 @@ package TranscriptPkg is
7171
-- Write to TranscriptFile when open. Write to OUTPUT when not open or IsTranscriptMirrored
7272
procedure WriteLine(buf : inout line) ;
7373
procedure Print(s : string) ;
74+
75+
-- Create "count" number of blank lines
76+
procedure BlankLine (count : integer := 1) ;
7477

7578
end TranscriptPkg ;
7679

@@ -183,5 +186,14 @@ package body TranscriptPkg is
183186
write(buf, s) ;
184187
WriteLine(buf) ;
185188
end procedure Print ;
189+
190+
------------------------------------------------------------
191+
procedure BlankLine (count : integer := 1) is
192+
------------------------------------------------------------
193+
begin
194+
for i in 1 to count loop
195+
print(" ") ;
196+
end loop ;
197+
end procedure Blankline ;
186198

187199
end package body TranscriptPkg ;

0 commit comments

Comments
 (0)