- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
Hi,
I am trying to use a parameter with $readmemh, for example:
parameter rom_file = "data.txt"
...
$readmemh(rom_file, rom);
Which gives the error: Error (10853): Verilog HDL error at rom_single.v(31): argument 0 to $readmemh must be a string literal I would like to be instantiate the same ROM module multiple times with different files, so are there any suitable work arounds or solutions to the issue? I have seen this issue raised before, but no suitable workaround has been suggested Thanks, Matt
- Etiquetas:
- Intel® Quartus® Prime Software
Enlace copiado
1 Responder
- Marcar como nuevo
- Favorito
- Suscribir
- Silenciar
- Suscribirse a un feed RSS
- Resaltar
- Imprimir
- Informe de contenido inapropiado
Never mind, its been fixed in V11

Responder
Opciones de temas
- Suscribirse a un feed RSS
- Marcar tema como nuevo
- Marcar tema como leído
- Flotar este Tema para el usuario actual
- Favorito
- Suscribir
- Página de impresión sencilla