1 / 29

OCP-IP

OCP-IP. Sérgio Jeferson Rafael Ordine RA: 921298 E-mail: sjordine@yahoo.com.br. OCP-IP. Introdução Descrição Motivação Visão Geral Teoria de Operação Sinais Configuração Protocolo. Introdução. O pen C ore P rotocol Versão 2.1 Interfaceamento de unidades funcionais

jui
Download Presentation

OCP-IP

An Image/Link below is provided (as is) to download presentation Download Policy: Content on the Website is provided to you AS IS for your information and personal use and may not be sold / licensed / shared on other websites without getting consent from its author. Content is provided to you AS IS for your information and personal use only. Download presentation by click this link. While downloading, if for some reason you are not able to download a presentation, the publisher may have deleted the file from their server. During download, if you can't get a presentation, the file might be deleted by the publisher.

E N D

Presentation Transcript


  1. OCP-IP Sérgio Jeferson Rafael Ordine RA: 921298 E-mail: sjordine@yahoo.com.br

  2. OCP-IP • Introdução • Descrição • Motivação • Visão Geral • Teoria de Operação • Sinais • Configuração • Protocolo

  3. Introdução • Open Core Protocol • Versão 2.1 • Interfaceamento de unidades funcionais • Intellectual Property (IP) cores • System-on-chip - SOC

  4. IP – Intellectual Properties • Componentes • Reutilização em novas implementações • Integração • Comunicação?

  5. ComponenteA ComponenteB barramento Motivação

  6. ComponenteA ComponenteB barramento Motivação

  7. ComponenteB ComponenteA barramento barramento Motivação

  8. OCP – Alguns membros • Alcatel • Mentor Graphics • NEC • nVIDIA • Nokia • Phillips Semicondutors • Siemens • Texas Instruments • Toshiba • Yamaha

  9. Visão Geral • Derivado do VCI (Virtual Component Interface) • Dados, controle, teste • IP cores  Bus wrappers • Master / Slave

  10. Master Master Master Slave Slave Slave Bus Target Bus Initiator/ Target Bus Initiator Visão Geral System Initiator/ Target Target System Initiator IPs Master Slave OCP Bus Wrapper Barramento On-chip

  11. Bus Master IP Master IP Slave Bus Slave Visão Geral Comando, controle, dados Transmissão no Barramento Comando, controle, dados Resposta Transmissão no Barramento Resposta

  12. Teoria de Operação • Síncrona – Ponto a Ponto • Independência do Barramento • Comandos • Endereçamento/ Dados • Pipelining • Requisição/Resposta • Burst • In-band Information

  13. Teoria de Operação • Tags • Threads • Interrupções, Erros e Sinais de Controle

  14. Mandatórios Sinais • Fluxo de Dados • Básicos • Extensões Simples • Extensões de Burst • Extensões de Tags • Extensões de Thread • Controle • Testes

  15. Sinais - Básicos • Clk – Sinal de clock (1 bit) • MAddr – Endereço alvo da transferência(config.) • MCmd – Comando de transferência (3 bits) • MData – Dado escrito (config.) • MDataValid – Dado de Mdata válido (1 bit) • MRespAccept – Resposta aceita pelo mestre (1 bit) • SCmdAccept – Comando aceito pelo escravo (1 bit) • SData – Dado lido (config.) • SDataAccept – Dado no barramento aceito (1 bit) • SResp – Status da resposta (2 bits)

  16. Configuração • Garantir generalidade • 3 arquivos: • RTL Core Configuration • Interfaces • Core Synthesis

  17. Configuração • Interfaces • Grupos de sinais (bundles) • Pré-definido para OCP • <budle-name>_intfc.conf • RTL Core • Descrição do “core” e suas interfaces • <corename>_rtl.conf

  18. Configuração – RTL Core • Core Synthesis • Restrições de temporização do core • Port • Max delay • False path

  19. Exemplo - RTL Core version2.5 moduleflashctrl { core_id0xBBBB0x0010x1“Flash/Rom Controller” icon“vista.ppm” addr_region“FLASHCTRL0” { addr_base0x0 addr_size0x100000 } interfacetpbundleocp2revision1 { interface_typeslave param mreset 1 param byteen 1 ... paramsflag 1 {width1} param mdata 1{width64} ...

  20. Exemplo - RTL Core prefixtp ... portReset_ninetMReset_n portClk_inetClk portTMCmd_inetMCmd ... portTCError_onetSflag subnet SFlag 0access_error location n 50 } interfaceemembundleflash { interface_typecontroller portAddr_onetaddr portData_bnetdata ...

  21. Exemplo - Interfaces bundle"sram16" { interface_typescontroller memory net"Address" { direction output input width14 } .... net"RData" { directioninput output width16 } ... net"Reset" { directionoutput input typereset } }

  22. Exemplo – Síntese RTL version1.3 ... port“MData_i” { drivingcellpin{$mediumgatedrivepin} setuptime {[expr $clockperiod * .5]} } port“SResp_o” { loadcellpin {$defaultloadcellpin} loads {$defaultloads} wireloaddelay {$mediumnetdelay} c2qtime {[expr $clockperiod * .8]} } maxdelay { delay2fromport“MData_i”toport“SResp_o” } falsepath { fromport“MData_i”toport“SData_o” }

  23. WR1 IDLE RD2 IDLE IDLE A1 A2 D1 NULL DVA2 NULL D2 Leitura/Escrita Simples Clk MCmd MAddr MData SCmdAccept SResp SData

  24. IDLE WR3 WR1 WR2 IDLE A1 A2 A3 D2 D1 D3 NULL Handshake de Requisição Clk MCmd MAddr MData SCmdAccept SResp SData

  25. IDLE RD1 RD2 IDLE IDLE RD3 A2 A1 A3 NULL DVA3 DVA2 DVA1 NULL NULL NULL D1 D2 D3 Requisição/Resposta com Pipeline Clk MCmd MAddr MData SCmdAccept SResp SData

  26. WR2 IDLE WR1 WR3 WR4 IDLE 0xC4 0x01 0x42 0x83 D1 D3 D4 D2 4 4 4 4 INCR INCR INCR INCR Escrita em Burst Clk MCmd MAddr MData MBurstLength MBurstSeq MBurstPrecise MRequestLast SCmdAccept

  27. Referências • “Open Core Protocol Specification” OCP International Partnership,Release 2.1,2005 • “OCP-IP, Introductory Presentation” Mackintosh,I.R,2004 • Site oficial OCP-IP http://www.ocpip.org/home

  28. Questões?

  29. Obrigado!

More Related