- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
The altera 1c20 kits use two 16bits data width as a 32bits data width SRAM chip, i want to know is it possible to run niosii-32 in one 16bits data width SRAM chip?
Thanks.Link Copied
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
of couse, it can.
Please see "avalon bus specification"- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You could even run it from an 8 bit RAM chip. Bear in mind that performance will suffer, since the Avalon bus will have to make several RAM accesses to get each 32-bit instruction word.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have made a test program using 32bits on-chip memory to run simple printf("hello world") include in the main() function, it works fine, then only change 32bits on-chip memory to 16bits on-chip memory, others are not changed, it can not work, why?
so i think that 32bits niosii-cpu can not run on the 16bits ram, is it right?- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
There's nothing that should prevent you from using a memory that has a data width narrower or wider than 32 bits. Be sure, however, to pass the byte enables out to the memory, since this is how Avalon will control which bytes of the data are relevant.
- slacker
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page