development of a pipeline development of a pipeline camac
play

Development of a Pipeline Development of a Pipeline CAMAC cont - PowerPoint PPT Presentation

Development of a Pipeline Development of a Pipeline CAMAC cont roller CAMAC cont roller wit h PC104plus single wit h PC104plus single board comput er board comput er March 2003 Y.Yasu Proj ect t eam Yoshij i Yasu(1), Eij i I noue(1),


  1. Development of a Pipeline Development of a Pipeline CAMAC cont roller CAMAC cont roller wit h PC104plus single wit h PC104plus single board comput er board comput er March 2003 Y.Yasu

  2. Proj ect t eam Yoshij i Yasu(1), Eij i I noue(1), Hirof umi Fuj ii(1), Youichi I garashi(1), Masahiro I keno(1), Manobu Tanaka(1), Kazuo Nakayoshi(1), Hideyo Kodama(1), Shuichi Harada(2) and Haruyuki Kyoo(3) (1) High Energy Accelerat or Research Organizat ion ( KEK ) (2) TOYO Corporat ion (3) Fird, Co. March 2003 Y.Yasu

  3. Cont ent s • Archit ect ure of Pipeline CAMAC Cont roller • Overview of t he CAMAC cont roller • CAMAC/ DAQ Frame f ormat • PCI operat ion • Perf ormance measurement • Current st at us and plan March 2003 Y.Yasu

  4. Archit ect ure of Archit ect ure of Pipeline CAMAC Pipeline CAMAC Cont roller Cont roller March 2003 Y.Yasu

  5. Pipeline CAMAC Cont roller CAMAC reply frames CAMAC command frames Pipeline CAMAC Controller TX RX The controller gets a command frame from RX via CAMAC command FIFO, executes the frame in a 1 usec. and puts a reply frame to TX via CAMAC reply FIFO. The command frame and the reply frame contain CAMAC N, A, F, Status (Q,X) and 24-bit data. March 2003 Y.Yasu

  6. Pipeline Obj ect Cont roller Pipeline Object RX Controller TX Object command Point to Point link Object reply DST SRC Object command N x M network DST SRC Object reply Examples of configuration N PC FADC E CAMAC PC T FADC PC W FADC O CAMAC FPGA R K March 2003 Y.Yasu

  7. Overview of t he Overview of t he CAMAC cont roller CAMAC cont roller March 2003 Y.Yasu

  8. Pipeline CAMAC Cont roller Fast Ethernet PC104plus PC board computer PCM-9370's Crusoe TM5400 , Memory, Flash Disk, Ethernet, USB, … ALTERA FPGA for PCI ALTERA FPGA for CAMAC March 2003 Y.Yasu

  9. CAMAC/ DAQ f unct ions • Basic CAMAC operat ion • LAM int errupt f unct ion • Trigger I nput and Busy Out wit h Event count er • Trigger I nt errupt f unct ion March 2003 Y.Yasu

  10. PCI regist ers f or CAMAC Registers 2 32-bit TX/RX data registers TX/RX Control and Status registers TX/RX Memory Address registers TX/RX Preset Transfer counters TX/RX Actual Transfer counters TX/RX FIFO count registers Operation modes Programmed I/O Block transfer March 2003 Y.Yasu

  11. PCI logic Alt era FPGA TX TX PCI FIFO Engine CAMAC/ PCI PCI DAQ MUX logic RX RX PCI FIFO Engine PCI logic March 2003 Y.Yasu

  12. CAMAC/ DAQ logic Alt era FPGA CAMAC C executor A CMD M Packet control CAMAC A FIFO C Interrupt PCI logic REPLY DAQ FIFO D executor A Q DAQ Interrupt March 2003 Y.Yasu

  13. CAMAC/ DAQ CAMAC/ DAQ Frame f ormat Frame f ormat March 2003 Y.Yasu

  14. Frame f ormat 64-bit fixed-length Basic CAMAC operation TX cmd N A F 24-bit DATA RX rply 24-bit DATA N A F ST N:station, A:sub-address, F:function, ST:status(Q,X,...) Read : data(tx) has no meaning. Write : data(rx) has no meaning. NDT : data(tx) and data(rx) have no meaning. LAM(interrupt) CAMAC operation RX rply 24-bit LAM information March 2003 Y.Yasu

  15. Frame f ormat (cont .) 64-bit fixed-length DAQ function( read event counter) TX cmd RX rply 32-bit Event Counter DAQ function( Trigger Interrupt) RX rply 32-bit Event Counter March 2003 Y.Yasu

  16. PCI operat ion PCI operat ion Y.Yasu March 2003

  17. PCI operat ion Programmed I/O : Generate CAMAC codes for CAMAC write/read/NDT; check whether TX FIFO is available; for(i=0;i<N;i++) { write data to TX data1/2 registers; } check whether RX FIFO is available; for(i=0;i<N;i++) { read data from RX data1/2 registers; } Extract CAMAC data and the status; March 2003 Y.Yasu

  18. PCI operat ion (cont .) Block transfer : Generate CAMAC code for CAMAC write/read/NDT; check whether TX FIFO is available; start reading data with non-blocking; write data with blocking. wait for the completion interrupt of the read operation; Extract CAMAC data and the status; This algorithm makes CAMAC write and the read operate concurrently. March 2003 Y.Yasu

  19. Perf ormance Perf ormance Measurement Measurement March 2003 Y.Yasu

  20. CAMAC t iming Y.Yasu March 2003 Busy S1

  21. CAMAC t iming (cont .) Y.Yasu March 2003 Busy S1

  22. Current st at us and Plan Current st at us and Plan March 2003 Y.Yasu

  23. Current st at us and Plan • CAMAC/ DAQ f unct ions basically worked on t he prot ot ype of Pipeline CAMAC cont roller • The prot ot ype f or mass product ion will be checked soon. • USB int erf ace f or t he CAMAC cont roller wit hout board comput er will be developed. March 2003 Y.Yasu

  24. Relat ed URLs • ht t p:/ / www-online.kek.j p/ ~yasu/ Parallel-CAMAC/ • ht t p:/ / www-online.kek.j p/ ~inoue/ March 2003 Y.Yasu

Recommend


More recommend