Nios® V/II Embedded Design Suite (EDS)
Support for Embedded Development Tools, Processors (SoCs and Nios® V/II processor), Embedded Development Suites (EDSs), Boot and Configuration, Operating Systems, C and C++
Announcements
FPGA community forums and blogs on community.intel.com are migrating to the new Altera Community and are read-only. For urgent support needs during this transition, please visit the FPGA Design Resources page or contact an Altera Authorized Distributor.

nios in stratix dsp board

Altera_Forum
Honored Contributor II
2,079 Views

hi,everyone: 

i need to run nios on the stratix dsp board,the flash on the board is am29lv320,and the sram is idt 71v 3578,they are not in the sopc builder component pool,i know i need to write user logic for them,whether i also need to write drivers for them? and how to write?or only modify the PTF file of the flash which is surported by the sopc builder,and how to modify?any suggestion is appreciate!!!
0 Kudos
8 Replies
Altera_Forum
Honored Contributor II
654 Views

nobody??

0 Kudos
Altera_Forum
Honored Contributor II
654 Views

I have managed to get the IDT SSRAM working on that board. I have a class.ptf and a VHDL or Verilog file that I can send you to get it up and running. 

 

Note that a PLL is needed to generate two separate clocks - One feeding the Nios II processor, the other is 180 degrees out of phase with the processor clock and feeds the SSRAM clocks (this helps to centre align clock with data). 

 

As for the Flash device. I haven't tried that, but I suspect you could use the CFI compliant device in SOPC builder and modify it to meet your Flash memory needs - such as number of address lines, and timing, etc. 

 

Send me an email and I will send you the ssram files. That should get you started. (I would post them here, but not too sure how) 

 

 

-Terry
0 Kudos
Altera_Forum
Honored Contributor II
654 Views

yesdingsheng, 

Which of the stratix dsp boards are you refering to STD 1s25 or pro 1s80?  

You may want to check http://www.niosforum.com/forum/index.php?a...=st&f=15&t=1405 (http://www.niosforum.com/forum/index.php?act=st&f=15&t=1405

 

Terry: 

To fully exploit the benefits of the user forum, please upload your code to the "post your own IP" section of nios forum. Its straight forward. 

 

regards
0 Kudos
Altera_Forum
Honored Contributor II
654 Views

thank tjd and larsen for your timely reply:> 

after these days read material about sram and flash,i know to use sram by nios we need not have driver but the flash really need,now i also dont know how to develop driver for flash after i read the nios software develop guide,i tried to use the CFI compliant device in SOPC builder and modified the number of address lines to 21,data lines to 8,but i failed,maybe only modify them is not enough, can you give me a hand,waiting for your reply,email:yedingsheng503@163.com
0 Kudos
Altera_Forum
Honored Contributor II
654 Views

hi:tjd 

thank you for your help! there are something i cant understand------- 

in the 1s25 dsp board schematic,the u34,u35,u36,u37 are all cy7c1325,but,on the board,i see the sram is idt71v3578,what's type the sram really is??? 

 

how to connect sram1a_wel_n,sram1b_wel_n,sram1a_weh_n,sram1b_weh_n,sram1a_bwe_n,sram1b_bwe_n to your core? 

 

data bus:your core only use 32bits,but the sram have 36bit,how to connect them?
0 Kudos
Altera_Forum
Honored Contributor II
654 Views

hi:lasen 

thank you for your help,your ip is the flash programer,what i cant deal with is how to develop the driver for the flash ,did you ever develop it? any suggestion is apprecicated!
0 Kudos
Altera_Forum
Honored Contributor II
654 Views

yesdingsheng, Please see the recent posting: 

 

stratix dsp kit std 1s25 example nios ii implementation (http://www.niosforum.com/forum/index.php?act=st&f=15&t=1581

 

I hope this can be of use to you as it holds the flash which you ask for plus SSRAM and a few other things.
0 Kudos
Altera_Forum
Honored Contributor II
654 Views

hi:laren, 

i get it!!it is really a wonderfull example,i will try it on my board,maybe i will have a good night tonight,thank you!
0 Kudos
Reply