Skip to content

Commit

Permalink
fix for vcs compatible
Browse files Browse the repository at this point in the history
  • Loading branch information
zhouchuanrui committed May 8, 2018
1 parent a305fb0 commit e3e37b0
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test_factory/sha2_test.svh
Original file line number Diff line number Diff line change
Expand Up @@ -22,15 +22,15 @@ class sha2_test_template#(type T=hash_pkg::CoreSHA2S5) extends hash_string_wrapp
string vec = "abcd", msg="";
do begin
msg = {msg, vec};
foreach(vec[i]) vec[i]++;
foreach(vec[i]) vec[i] = byte'(vec[i])+1;
end while(vec[0] <= "n");
this.procWhole(msg);
end
begin
string vec = "abcdefgh", msg="";
do begin
msg = {msg, vec};
foreach(vec[i]) vec[i]++;
foreach(vec[i]) vec[i] = byte'(vec[i])+1;
end while(vec[0] <= "n");
this.procWhole(msg);
end
Expand Down

0 comments on commit e3e37b0

Please sign in to comment.