Queue Copy() behaving undefined.
I maintainer di solito rispondono entro 1 giorno
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 4/5
- Tempo stimato
- 1-2 giorni
- Idoneità per principianti
- 52/100
- Tipo di issue
- Bug
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Attiva
- Ambito
- testing-qa
Direzione di ricerca
The report shows the failure in cplx_strm_packetiser_32b_tb.vhd around the queue copy and pop calls. Start by tracing how copy() handles this queue type and how its elements are represented, then reproduce the reported mismatch between the copied queue and CHECK_PACKET_QUEUE. Done when both queues return the same first state and transition values after copying.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
Is copy() known to have pointer alignment or tracking bugs? I expected to get identical values from both queues, but the "Bug" copy pops an incorrect state/trans (1/1 instead of 0/1).
The original CHECK_PACKET_QUEUE retains its correct length of 272 right after the bug queue is popped, so they aren't sharing a reference. However, the data inside the bug_queue duplicate seems to be shifted or misaligned immediately upon creation.
bug_queue := copy(CHECK_PACKET_QUEUE);
info("Bug Queue orig length is: "& to_string(length(bug_queue)));
v_input_slv := pop(bug_queue);
v_input := from_slv(v_input_slv);
info("Bug Queue pop length is: "& to_string(length(bug_queue)));
info("Bug State/Trans of "& to_string(v_input.nd.state) & "/" & to_string(v_input.nd.trans));
info("Good CHECK_PACKET_QUEUE orig length is: "& to_string(length(CHECK_PACKET_QUEUE)));
v_input_slv := pop(CHECK_PACKET_QUEUE);
v_input := from_slv(v_input_slv);
info("Good Queue pop length is: "& to_string(length(CHECK_PACKET_QUEUE)));
info("Good State/Trans of "& to_string(v_input.nd.state) & "/" & to_string(v_input.nd.trans));
# 470000 ps - default - INFO - Bug Queue orig length is: 272 (cplx_strm_packetiser_32b_tb.vhd:175)
# 470000 ps - default - INFO - Bug Queue pop length is: 204 (cplx_strm_packetiser_32b_tb.vhd:178)
# 470000 ps - default - INFO - Bug State/Trans of 1/1 (cplx_strm_packetiser_32b_tb.vhd:179)
# 470000 ps - default - INFO - Good CHECK_PACKET_QUEUE orig length is: 272 (cplx_strm_packetiser_32b_tb.vhd:181)
# 470000 ps - default - INFO - Good Queue pop length is: 204 (cplx_strm_packetiser_32b_tb.vhd:184)
# 470000 ps - default - INFO - Good State/Trans of 0/1 (cplx_strm_packetiser_32b_tb.vhd:185)
- 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 27 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à 2/5 1-3 ore Idoneità per principianti 67/100
AIssoufi/issoufi.fr#427 · 1 commento ·
I maintainer di solito rispondono entro 1 giorno
-
good first issue server
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
I maintainer di solito rispondono entro 1 giorno
-
bug priority: low
Difficoltà 2/5 1-3 ore Idoneità per principianti 82/100
TMHSDigital/Free-Game-Dev-Assets#138 ·
I maintainer di solito rispondono entro 1 giorno
-
area: ci type: test
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
schlessera/brain-kit#2769 ·
I maintainer di solito rispondono entro 1 giorno
-
type/test
Difficoltà 2/5 1-3 ore Idoneità per principianti 76/100
SaltedTan/virgil-language-server#218 ·
I maintainer di solito rispondono entro 1 giorno