Browse Source

add reset value for s_miso in SpiMasterE unit test

pull/1/head
T. Meissner 10 years ago
parent
commit
b038131ccf
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      test/SpiT.vhd

+ 1
- 0
test/SpiT.vhd View File

@ -240,6 +240,7 @@ begin
variable v_random : RandomPType; variable v_random : RandomPType;
begin begin
v_random.InitSeed(v_random'instance_name); v_random.InitSeed(v_random'instance_name);
s_miso <= 'Z';
wait until s_reset_n = '1'; wait until s_reset_n = '1';
for i in 0 to integer'(2**C_DATA_WIDTH-1) loop for i in 0 to integer'(2**C_DATA_WIDTH-1) loop
v_send_data := v_random.RandSlv(C_DATA_WIDTH); v_send_data := v_random.RandSlv(C_DATA_WIDTH);


Loading…
Cancel
Save