AXI slave VCs have identical stalling behavior

Abierto
#1,219 2 comentarios 0 reacciones 0 asignados Ver en GitHub

Los mantenedores suelen responder en 1 día

@Lay007 ya está trabajando en esto.

Desde el 26/9/2026.

  • #1227 de @Lay007 — abierto

Evaluación

Dificultad
4/5
Tiempo estimado
3-5 días
Aptitud para principiantes
35/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Estancado
Área
testing-qa

Línea de trabajo

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.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

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?

Lenguaje dominante
VHDL
Estrellas
850
Forks
305
Merge medio
2 d 13 min
PR fusionados (30 d)
9

Preparar el entorno

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de VUnit/vunit

Todos los issues de VUnit/vunit

Issues similares

Más issues de Testing & QA

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.