[QUESTION] Why do component instantiations create dependencies on entity/module implementations?
Maintainer thường phản hồi trong vòng 1 ngày
Chưa có ai nhận issue này.
Đá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
- Tính năng
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Lĩnh vực
- build-system
Hướng nghiên cứu
Start by reading the dependency resolution and file ordering code for VHDL component instantiations; the issue does not name specific files or tests. Reproduce the circular dependency with entities A and B, each instantiating the other as a component, and compare the result with --test-prio=ordered. Done means establishing whether component matching should affect dependency ordering and, if so, defining a change that allows this case to compile.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
Hi VUnit team!
I've got a question regarding how VUnit resolves dependencies in the presence of component instantiations in VHDL.
Let's say I have two entities A and B.
A instantiates a component B.
B instantiates a component A.
This circular dependency should not necessarily be problematic if the component declarations are properly defined in packages or in architecture declaration regions. However during compilation, it seems that component instantiations create circular dependencies due to the actual component/entity matching implementation.
From my understanding this implies that VUnit tries to resolve the instantiation by locating a matching entity, which can affect the topological sort of the files. I am curious about the rationale behind this behavior since it prevents me from compiling my source code (in fact I found a way to compile without changing source code with --test-prio=ordered).
If this behavior is something that can or should be adjusted, I would be happy to look into it and possibly contribute a PR.
Thank you!
- 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
- Không có Dockerfile hay tệp Docker Compose
- Không có mẫu pull request
- Đọc hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- 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.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của VUnit/vunit
-
KeyError in test scheduler when using TestBench.scan_tests_from_file()Có thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 82/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
Maintainer thường phản hồi trong vòng 1 ngày
-
GHDL: generics leak between configurations when `ghdl.sim_flags` is setCó thể đã có người làm Có pull request liên kết đang mở hoặc đã được merge. Đang mở
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
VUnit/vunit#1223 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 35/100
Maintainer thường phản hồi trong vòng 1 ngày
-
AXI slave VCs have identical stalling behaviorCó thể đã có người làm @Lay007 đã nhận 27 ngày trước. Đang mở
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 35/100
VUnit/vunit#1219 · 2 bình luận ·
Maintainer thường phản hồi trong vòng 1 ngày
Issue tương tự
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
Maintainer thường phản hồi trong vòng 3 ngày
-
ci enhancement good first issue
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 88/100
Maintainer thường phản hồi trong vòng 1 ngày
-
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
spudly/design-system#110 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
enhancement
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 83/100
Maintainer thường phản hồi trong vòng 1 ngày
-
docker
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 85/100
traPtitech/traQ_S-UI#5439 ·
Maintainer thường phản hồi trong vòng 1 ngày