Programmable Devices
CPLDs, FPGAs, SoC FPGAs, Configuration, and Transceivers
20775 ディスカッション

Problems with SRAM

Altera_Forum
名誉コントリビューター II
1,257件の閲覧回数

I`have downloaded and installed Altera`s University program IP`s which are made for DE1 and DE2 boards. I`am using the Cyclone II FPGA Starter board, which is same as DE1 board (as I saw), and I have made one simple design with SOPC builder which is suposed to use SRAM as Instruction/Stack/HEap memory and with NIOS II processor and PIO port connected to diodes.  

 

The program I made didn`t manage to load in SRAM, but when I changed memory in SOPC builder from SRAM to On-Chip memmory, thus using 73 percent of Cyclone II M4k blocks, program was working perfectly. 

 

I presume the problem is in the constraints for SRAM which I didn`t use. 

 

If anyone can help me to get this SRAM working I would appreciate it very much!
0 件の賞賛
3 返答(返信)
Altera_Forum
名誉コントリビューター II
518件の閲覧回数

Hi Stanislav, 

 

how do you connect to the SRAM? You probably need to use a tristate bridge. 

The SOPC Builder should also feature an SOPC component for your SRAM, which has to be connected to the tristate bridge. So you probably have to adapt the SRAM settings from the DE1 boards to your board. 

Probably it's best to have a look into the examples that are available for you starter kit, which you can download from the Altera webpage. 

 

Cheers, Alex
Altera_Forum
名誉コントリビューター II
518件の閲覧回数

Well, the SRAM works now fine, the error was due to one or both of the following reason. 

 

The core I used was described in class.ptf format, and when I converted it into . _hw.tcl format, made a new design and assigned pins (lot`s of them, really boring, the second probable reason of mistake), everything worked fine.  

 

Thanks Alex!
Altera_Forum
名誉コントリビューター II
518件の閲覧回数

You can get extra information about cisco memory from my website, if you can not find your point than give me reply i will help you more.

返信