- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
Hi, I'm currently doing verification for an FPGA board through ModelSIM
For stimulating various test scenarios, I'm creating an array of all possible input values and testing the design by running it over a for loop, that selects the i-th input for i-th iteration. This test bench setup is not flexible, like if we want to add an input, the array declaration, dimension to be changed carefully which takes more time. To avoid that and also to program the inputs randomly, I found programming the stilmulus through an input file would help. Please help me on how to program an input value through an input file using a VHDL testbench(or any HDL). Thanks.Link copiado
2 Respostas
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
You need to use the std.textio library. There are many tutorials out there on the web. Get stuck into one of these, and you can post back here for any specific questions you have.
- Marcar como novo
- Marcador
- Subscrever
- Silenciar
- Subscrever fonte RSS
- Destacar
- Imprimir
- Denunciar conteúdo inapropriado
thanks Tricky

Responder
Opções do tópico
- Subscrever fonte RSS
- Marcar tópico como novo
- Marcar tópico como lido
- Flutuar este Tópico para o utilizador atual
- Marcador
- Subscrever
- Página amigável para impressora