Hacktoberfest 2026: những issue maintainer đã đánh dấu cho tháng Mười, đang mở và phù hợp người mới. Xem issue Hacktoberfest

AXI slave VCs have identical stalling behavior

Đang mở
#1,219 2 bình luận 0 reaction 0 người được giao Xem trên GitHub

Maintainer thường phản hồi trong vòng 1 ngày

@Lay007 đang làm issue này rồi.

Từ ngày 26/9/2026.

  • #1227 của @Lay007 — đang mở

Đánh giá

Độ khó
4/5
Thời gian dự kiến
3-5 ngày
Mức phù hợp với người mới
35/100
Loại issue
Lỗi
Độ rõ ràng
Khá rõ ràng
Mức độ hoạt động
Đình trệ
Lĩnh vực
testing-qa

Hướng nghiên cứu

Start with vunit/vhdl/verification_components/src/axi_slave_private_pkg.vhd and its init() procedure, then review axi_slave_t in axi_slave_pkg.vhd and the open pull request #1227. Determine how instance seeding should preserve the desired stall probabilities and backwards compatibility. Done means multiple AXI slave VCs can have independent cycle-by-cycle stalling behavior under the agreed default or configuration.

Do mô hình lập chỉ mục viết ra từ nội dung của issue.

Mô tả

In axi_slave_private_pkg.vhd, p_rnd is never seeded, so every axi_read_slave/axi_write_slave instance uses the same default OSVVM seed.

In testbenches with multiple AXI slave VCs, we may want equal stall probabilities, but usually we don't want cycle-by-cycle identical behavior.

As a quick workaround, adding this line to the init() procedure causes the instances to be seeded differently:

p_rnd.InitSeed(name(axi_slave.p_actor));

(not forgetting to first use work.com_pkg.name;).

IMO that would be reasonable default behavior, but for backwards-compatibility maybe a better solution would be to add a boolean element to axi_slave_t so InitSeed() is only called if enabled?

Ngôn ngữ chính
VHDL
Star
850
Fork
305
Merge trung bình
2 ngày 10 giờ
Pull request đã merge (30 ngày)
7

Chuẩn bị môi trường

Bắt đầu từ đâu

  1. Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
  2. Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
  3. Fork repository và làm thay đổi trên một nhánh.
  4. Mở pull request có tham chiếu số hiệu của issue.

Issue khác của VUnit/vunit

Tất cả issue của VUnit/vunit

Issue tương tự

Thêm issue về Testing & QA

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.