Skip to content

Commit

Permalink
fix md5
Browse files Browse the repository at this point in the history
  • Loading branch information
zhouchuanrui committed Apr 22, 2018
1 parent a249a8d commit a390792
Showing 1 changed file with 28 additions and 0 deletions.
28 changes: 28 additions & 0 deletions test_factory/md5_test.svh
Original file line number Diff line number Diff line change
@@ -0,0 +1,28 @@
//
//File: md5_test.svh
//Device:
//Created: 2018-4-22 14:53:44
//Description: MD5 vectors
//Revisions:
//2018-4-22 14:53:52: created
//

`ifndef __MD5_TEST_SVH
`define __MD5_TEST_SVH

class md5_test extends TestPrototype;
`__register(md5_test)
function new();
endfunction

task test ();
hash_pkg::CoreMD5 md5;
md5 = new();
md5.setLogging();
void'(md5.getDigest());
void'(md5.procWhole({"a"}));
endtask: test
endclass: md5_test

`endif

0 comments on commit a390792

Please sign in to comment.