[QUESTION] Why do component instantiations create dependencies on entity/module implementations?
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 3-5 giorni
- Idoneità per principianti
- 35/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Ambito
- build-system
Direzione di ricerca
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.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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!
- Lingua principale
- VHDL
- Stelle
- 850
- Fork
- 305
- Merge medio
- 2g 10h
- PR unite (30g)
- 7
Preparare l'ambiente
- Nessun Dockerfile né file Docker Compose
- Nessun modello di pull request
- Leggi la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di VUnit/vunit
-
KeyError in test scheduler when using TestBench.scan_tests_from_file()Forse già presa Una pull request collegata a questa issue è aperta o già unita. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
I maintainer di solito rispondono entro 1 giorno
-
GHDL: generics leak between configurations when `ghdl.sim_flags` is setForse già presa Una pull request collegata a questa issue è aperta o già unita. Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 78/100
VUnit/vunit#1223 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 5/5 Più di una settimana Idoneità per principianti 35/100
I maintainer di solito rispondono entro 1 giorno
-
AXI slave VCs have identical stalling behaviorForse già presa @Lay007 l’ha presa 26 giorni fa. Aperta
Difficoltà 4/5 3-5 giorni Idoneità per principianti 35/100
VUnit/vunit#1219 · 2 commenti ·
I maintainer di solito rispondono entro 1 giorno
Issue simili
-
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 91/100
I maintainer di solito rispondono entro 1 giorno
-
lazycodex
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
code-yeongyu/oh-my-openagent#10973 ·
I maintainer di solito rispondono entro 1 giorno
-
status: needs-triage v1-bug-bash
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
a2ui-project/a2ui#3442 ·
I maintainer di solito rispondono entro 1 giorno
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
objectionary/eo#9593 ·
I maintainer di solito rispondono entro 1 giorno
-
ci: workflow files drifted from upstream templatesForse già presa @jackgdsf l’ha presa oggi. Apertapdk pdk:ihp
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 86/100
gdsfactory/IHP#284 ·
I maintainer di solito rispondono entro 2 giorni