Altera_Forum
Honored Contributor
12 years agoAltera Generic Tri-state Controller optimization for ZBT SRAM
Hello, i'm using EP4CGX150DF31 on custom PCB with dual Cypress NoBL (= Zero Bus Turnaround) SSRAM CY7C1463AV33.
Theoretical Bandwidth 32 bits x 65 MHZ (memclk speed) = 2080 Mbit/s QSYS SRAM ios: .sram_tcm_address_out 21 of 23 hight bits connected to SRAM Address bus .sram_tcm_byteenable_n_out all 4 bits connected to SRAM BWx pins .sram_tcm_read_n_out connected to SRAM OE pin .sram_tcm_write_n_out connected to SRAM WE pin .sram_tcm_data_out connected to SRAM DATA bus .sram_tcm_chipselect_n_out connected to CE1, CE2, CE3 according it's polaritys I used NIOS II EDS Standart memory test program and achieved stable work using the following Generic Tri-state controller parameters: (see GTC_params PNGs in attachment) Read wait time: 1 Wite wait time: 0 Setup time: 0 Data Hold Time: 1 Maximum pending data transactions: 64 Turnaround time: 0 Timing units: Cycles Read latency: 2 Chipselect through read latency is checked But when i try to use this memory in Video proccessing (all standart Altera Cores): PAL Video ADC -> CVI -> frame buffer -> CVO -> PAL Video DAC Clocked Video Output Underflow and my ext monitor lost video synchronization very often PAL video uses total 54 MBit/s maximum bandwith for read and write operation. I try to analyze behavior of Generic Tri-State Controller with SignalTap LA and got this (stap PNGs in attachment) and saw that reading/writing 1 word use 3-5 clock cycles -> my bandwith is too slow 1) Does this Altera Core support ZBT/NoBL SRAM? 2) Have you any ideas, how to properly setup Generic Tri-State controller for this NoBL SRAM? 3) Does Altera provide any tool for measure external SRAM efficiency/bandwith on Cyclone IV FPGA? P.S. Sorry for my English, it's not my native language.