abs-tudelft / abs-tudelft/tydi

Union semantics and variant enumeration order for tag bits

Abierto
#163 1 comentario 0 reacciones 0 asignados Ver en GitHub
🐬 specification
Lenguaje dominante
Rust
Estrellas
15
Forks
5
Métricas de merge de PR
Sin PR fusionados en 30 d

Descripción

Currently, the spec says:

https://abs-tudelft.github.io/tydi/specification/logical.html#union-semantics

```
The "tag" field is used to represent which variant is being represented, by means of a zero-based index encoded as an unsigned binary number.
```

Do we want to allow custom tag enumeration of union variants?
If yes, we should add this to the spec.
If no, we should make explicit that the current text refers to the field index in the union declaration.
In the example, the tag enumeration is done by order of variant appearance in the union declaration, which seems most logical and straightforward, and it is similar to what most programming languages do as far as I am aware.

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Línea de trabajo

Read the union semantics section in the specification at the provided URL. Understand how union variants and tag bits are currently defined. Examine the existing spec text and examples to see if custom tag enumeration is allowed. Determine whether to clarify the current rule or add support for custom enumeration, then propose a spec update.

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

Evaluación

Stack tecnológico
rust
Área
documentation
Tipo de issue
Documentación
Dificultad
3/5
Tiempo estimado
1-2 días
Estado de actividad
Estancado
Claridad
Bien especificado
Aptitud para principiantes
45/100

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.