Physics - PowerPoint PPT Presentation

About This Presentation
Title:

Physics

Description:

Firmware structured in blocks similar to the old PLD sub-divisions. ... JTAG programmable PROMs used (Xilinx 18V) FPGAs use Master Serial Mode for loading ... – PowerPoint PPT presentation

Number of Views:63
Avg rating:3.0/5.0
Slides: 10
Provided by: matthew212
Category:
Tags: physics

less

Transcript and Presenter's Notes

Title: Physics


1
Physics AstronomyHEP Electronics
TIM Firmware
ATLAS SCT TIM FDR/PRR 28 June 2004
Matthew WarrenJohn Lane, Martin Postranecky
2
General
  • Firmware written in VHDL
  • Maintainable.
  • Support by almost all hardware.
  • Used by other collaborators.
  • Tools
  • Mentor Graphics FPGA Advantage 5.4
  • Xilinx ISE 5.2i
  • Firmware structured in blocks similar to the old
    PLD sub-divisions.
  • Synchronous design principles followed.

3
FPGA/Code Structure
  • FPGA1 is the Manager
  • VME Interface
  • Controls access to local bus
  • Manages resets
  • Can re-configure FPGA2s PROM
  • Provides status information on FPGA2 etc.
  • FPGA2 is the TIM Function
  • Front Panel Signals
  • J3 Backplane Signals
  • Sequencer RAM, ID FIFOs are internal

4
TIM-3 Functional Layout
Debug Header
Debug LEDs
Debug Header
Debug LEDs
8
8
16
16
FPGA1 VME Interface Board Manager
clk
JTAG
Config EEPROM FPGA1
Config EEPROM FPGA2
Clocks Clk Control
FPGA2 TIM Function
jtagx_en
TTCrx
fpga2_reset
vme_select
ROD Busy
16
vme_read
Base Addr. Preset Switches
vme_write
ROD Busy LEDs
16
fpga2_ok
FP and PO Resets
Internal Trig, FER, ECR
Board ID
8
8
Trigger Window
Debug Mode Select Switch
4
4
VME I/O
Front-Panel Signals
VME Control
16
spare_bus
Back-Plane Signals
31
32
Address Bus
15
Addr(311)
Front-Panel LEDs
Data Bus
32
Data(310)
MRMW v1.1 01-06-04
5
TIM Hardware for Firmware
  • JTAG programmable PROMs used (Xilinx 18V)
  • FPGAs use Master Serial Mode for loading
  • Lower VME Address Bus (151) on both FPGAs
  • Allows local address decoding
  • Entire VME data-bus available to both FPGAs.
  • 32 bit registers if needed
  • Debug Hardware (see next slide)

6
Debug/Expansion Features
  • 16 line dedicated spare lines between FPGAs.
  • 16 line dedicated debug lines per FPGA
  • Connected to header logic-analyser access
  • 8 debug lines/FPGA connected to SMD LEDs
  • Mode/Debug hex-switch connected to both FPGAs
  • minor changes in operation without downloading
    new code (e.g. LEDs map).
  • ROD Busy LEDs on front-panel available to code.
  • PCB version ID readable by FPGAs
  • Enough resources to add extra functions
  • e.g. Fixed Frequency Veto (more later)

7
FPGA Resource Utilisation
  • From Xilinx ISE Place Route Report
  • FPGA1
  • Number of External GCLKIOBs 1 out of 4
    25
  • Number of External IOBs 161 out of 285
    56
  • Number of BLOCKRAMs 4 out of 14
    28
  • Number of SLICEs 280 out of 2352
    11
  • Number of DLLs 1 out of 4
    25
  • Number of GCLKs 1 out of 4
    25
  • Number of TBUFs 128 out of 2464
    5
  • FPGA2
  • Number of External GCLKIOBs 2 out of 4
    50
  • Number of External IOBs 244 out of 325
    75
  • Number of BLOCKRAMs 64 out of 72
    88
  • Number of SLICEs 1843 out of 6912
    26
  • Number of DLLs 1 out of 4
    25
  • Number of GCLKs 1 out of 4
    25
  • Number of TBUFs 160 out of 7104
    2

8
Outstanding code
  • I2C interface to TTCrx
  • Works on TIM-2, so low priority
  • System for re-configuring FPGA2 from software
  • Firmware very dumb software will do the work.
  • Finalise Fixed Frequency Trigger Veto System
  • No big changes just need iterate over best
    style of operation with community.

9
Simulation
  • Components Simulated using ModelSim
  • Most simulation fast enough to be carried out on
    the whole FPGA level
  • The VME interface was tested across both FPGAs
    including models of the external
    bus-transceivers.
  • Simulations are controlled via the bus interface.
  • Procedures have were written to do bus-like
    reads/writes. These allowed routines similar to
    those in the test software to be used.
Write a Comment
User Comments (0)
About PowerShow.com