Skip to content

Commit afd65d8

Browse files
committed
Updated verification codes.
1 parent 54c0320 commit afd65d8

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

tests/extension/types_/axi_/slave_readwrite_lite_simultaneous/test_types_axi_slave_readwrite_lite_simultaneous.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -272,10 +272,10 @@
272272
if(__axi_cond_5_1) begin
273273
_axi_wvalid <= 0;
274274
end
275-
if(_axi_awvalid && _axi_awready && !(_axi_bvalid && _axi_bready)) begin
275+
if(_axi_wvalid && _axi_wready && !(_axi_bvalid && _axi_bready)) begin
276276
outstanding_wreq_count_0 <= outstanding_wreq_count_0 + 1;
277277
end
278-
if(!(_axi_awvalid && _axi_awready) && (_axi_bvalid && _axi_bready) && (outstanding_wreq_count_0 > 0)) begin
278+
if(!(_axi_wvalid && _axi_wready) && (_axi_bvalid && _axi_bready) && (outstanding_wreq_count_0 > 0)) begin
279279
outstanding_wreq_count_0 <= outstanding_wreq_count_0 - 1;
280280
end
281281
if((read_fsm == 0) && (_axi_arready || !_axi_arvalid)) begin

tests/extension/types_/axi_/slave_readwrite_simultaneous/test_types_axi_slave_readwrite_simultaneous.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -444,10 +444,10 @@
444444
_axi_wlast <= 0;
445445
last_32 <= 0;
446446
end
447-
if(_axi_awvalid && _axi_awready && !(_axi_bvalid && _axi_bready)) begin
447+
if(_axi_wlast && _axi_wvalid && _axi_wready && !(_axi_bvalid && _axi_bready)) begin
448448
outstanding_wreq_count_0 <= outstanding_wreq_count_0 + 1;
449449
end
450-
if(!(_axi_awvalid && _axi_awready) && (_axi_bvalid && _axi_bready) && (outstanding_wreq_count_0 > 0)) begin
450+
if(!(_axi_wlast && _axi_wvalid && _axi_wready) && (_axi_bvalid && _axi_bready) && (outstanding_wreq_count_0 > 0)) begin
451451
outstanding_wreq_count_0 <= outstanding_wreq_count_0 - 1;
452452
end
453453
if((read_fsm == 0) && ((_axi_arready || !_axi_arvalid) && (counter_27 == 0))) begin

0 commit comments

Comments
 (0)