Forum Discussion
Altera_Forum
Honored Contributor
18 years ago --- Quote Start --- spooky .... int x =0; int main(void) { x = x+1; } --- Quote End --- I got 156 bytes following the hello_world_small example. --- Quote Start --- SOPC builder 7.2 has a serious bug ! if you instantiate an avalon master and click 'generate', the master port is not brought to the outside world. you can not connect to it ! I have a bunch of things that connect to an avalon master port... whoops .... there goes the design. ( DPRAM sits in SOPC builder. the second port comes out through an avalon master port. ) --- Quote End --- Are you exporting the signals that you want to see at the top-level of your SoPC Builder design? ===== Many people find SoPC Builder and Nios II highly useful. Wart and "foible" free: No. Useful: Yes. You might be correct that it won't suit your needs for this particular application, but to write it off completely is being short-sighted, at best. From what I know (very little) of your application, I'd advise you to: 1. Follow the hello_world_small example for code size reduction. - Alternately, you could look at the hello_alt_main or hello_led examples, which circumvent the HAL layer entirely, though I wouldn't advise doing it until you really know your way around a Nios II based system. 2. Utilize the Interrupt Vector custom instruction. 3. Look at re-designing your hardware to better suit the way in which Nios II/Avalon function. Good luck!