Skip to content

Commit

Permalink
Support 'X' values on inputs
Browse files Browse the repository at this point in the history
  • Loading branch information
slaweksiluk committed Jul 23, 2018
1 parent cc673d6 commit dfe8749
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion vunit/vhdl/verification_components/src/avalon_slave.vhd
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,8 @@ begin
variable wr_request_msg : msg_t;
variable rd_request_msg : msg_t;
begin
wait until (write xor read) = '1' and waitrequest = '0' and rising_edge(clk);
wait until (write or read) = '1' and waitrequest = '0' and rising_edge(clk);
check_false(write = '1' and read = '1');
if write = '1' then
wr_request_msg := new_msg(slave_write_msg, avalon_slave.p_actor);
-- For write, address and data are passed to ack proc
Expand Down

0 comments on commit dfe8749

Please sign in to comment.