mirror of
https://github.com/tillitis/tillitis-key1.git
synced 2025-02-22 15:49:55 -05:00
Add test1: Read out name and version
Signed-off-by: Joachim Strömbergson <joachim@assured.se>
This commit is contained in:
parent
49eac9d101
commit
6d9890d050
@ -294,17 +294,18 @@ module tb_tk1();
|
||||
|
||||
//----------------------------------------------------------------
|
||||
// test1()
|
||||
// Read out name and version.
|
||||
//----------------------------------------------------------------
|
||||
task test1;
|
||||
begin
|
||||
tc_ctr = tc_ctr + 1;
|
||||
tb_monitor = 1;
|
||||
|
||||
$display("");
|
||||
$display("--- test1: started.");
|
||||
$display("--- test1: Read out name and version started.");
|
||||
|
||||
#(100 * CLK_PERIOD);
|
||||
tb_monitor = 0;
|
||||
read_word(ADDR_NAME0, 32'h746B3120);
|
||||
read_word(ADDR_NAME1, 32'h6d6b6466);
|
||||
read_word(ADDR_VERSION, 32'h00000005);
|
||||
|
||||
$display("--- test1: completed.");
|
||||
$display("");
|
||||
|
Loading…
x
Reference in New Issue
Block a user