Forum Discussion
Altera_Forum
Honored Contributor
21 years agonipu_n,
<div class='quotetop'>QUOTE </div> --- Quote Start --- *how can i store some data into on-chip ROM?[/b] --- Quote End --- When you create your software with Nios II IDE and use somewhere in your programme that on-chip ROM, the compiler creates a 'rom-name.hex' file in your fpga directory, containing the data you've defined ( e.g. as 'const int rom_data[]' ). SOPC-Builder now adds your data to FPGA configuration data in its next compilation step. ROM, created with 'MegaWizard Plug-In Manager' can be initialized by using 'Tools->In-System Memory Content Editor' <div class='quotetop'>QUOTE </div> --- Quote Start --- * how it is possible to count the number of LEs used by different on-chip components?[/b] --- Quote End --- I don't know if there is a feature to estimate the amount of LEs, but after compiling you can see it in the hierachy window or in 'Compilation Report->Fitter->Resource Section'. The amount of LEs depends on your specific settings for the compilation process. Mike