From dfe8749d1894feff0a539fb8801eb118cc9c64a7 Mon Sep 17 00:00:00 2001 From: Slawomir Siluk Date: Mon, 23 Jul 2018 12:33:26 +0200 Subject: [PATCH] Support 'X' values on inputs --- vunit/vhdl/verification_components/src/avalon_slave.vhd | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/vunit/vhdl/verification_components/src/avalon_slave.vhd b/vunit/vhdl/verification_components/src/avalon_slave.vhd index 10c9dca0f..21ebb22ac 100644 --- a/vunit/vhdl/verification_components/src/avalon_slave.vhd +++ b/vunit/vhdl/verification_components/src/avalon_slave.vhd @@ -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