Altera_Forum
Honored Contributor
19 years agoNiosII/f fitting into UP3 and the leading zero tut
Could you help me anyone for these questions?
I have two question here Firstly, Currently, I am following NiosII custom instruction tutorial 'the leading zero' one. I am using UP3 board with EP1C6Q240C8 device and QuartusII software. When I run the application I've got below error. Does anybody know what problem is? Could you help me out here, please? **** Incremental build of configuration Release for project ci_tutorial_0_syslib **** make -s all Compiling alt_sys_init.c... system_description/alt_sys_init.c: In function `alt_sys_init': system_description/alt_sys_init.c:82: error: `SYS_CLK_TIMER_BASE' undeclared (first use in this function) system_description/alt_sys_init.c:82: error: (Each undeclared identifier is reported only once system_description/alt_sys_init.c:82: error: for each function it appears in.) system_description/alt_sys_init.c:82: error: `HIGH_RES_TIMER_BASE' undeclared (first use in this function) make: *** [obj/alt_sys_init.o] Error 1 Build completed And the error line is below where * is : void alt_sys_init( void ) { * ALTERA_AVALON_TIMER_INIT( TIMER_0, timer_0 ); ALTERA_AVALON_JTAG_UART_INIT( JTAG_UART_0, jtag_uart_0 ); } Hmm http://forum.niosforum.com/work2/style_emoticons/<#EMO_DIR#>/dry.gif another question is I was trying to generate NiosII/f system with the board that I've got. When I compile it from QuartusII software, I've got fitting problem below : Error: Selected device has 20 RAM location(s) of type M4K RAM. However, the current design needs more than 20 to successfully fit. Error: Can't fit design in device So I've looked up data sheet, and it says The Cyclone device consists of approximately 6000 Logic Element (exact number of LE : 5980) and it offer 20 of M4K RAM Blocks (128 x 36 bits), and Maximum 185 of User I/Os. Does this mean that I can't generate NiosII/f (Fast version) with the Cyclone device(EP1C6Q240C)? How many M4K RAM Blocks do we need for each of NiosII family(economic, standard, fast)? Anyone knows?