Altera_Forum
Honored Contributor
15 years agoSimulating Nios II in ModelSim - problems with memtest
Folks,
I've managed to get the Nios II simulating in ModelSim per AN 351 with the Hello World example app. Now I'm trying to get the example memory test app to run and I'm running into problems. First, the interactive terminal doesn't accept user input from the keyboard. Anybody run into that? I created a new function in memtest.c that removes the user input and just attempts to run the tests on the external flash.strcpy(flashname, EXT_FLASH_NAME);
fd = alt_flash_open_dev(flashname); However, the alt_flash_open_dev() function returns an error: ERROR: Could not open /dev/ext_flash I'm not sure what I'm missing here. Anyone have any pointers? I'm using Quartus II v.10.1, Nios2EDS v.10.1. Thanks.