Title: Design and Verification of CoreConnect IP Using Esterel
1Design and Verification of CoreConnect IP Using
Esterel
- Satnam Singh
- Xilinx Research Labs
2History
- Gerard Berrys invited talk at CHARME 2001
- Verification of Esterel designs using synchronous
observers. - Evaluation project at Xilinx.
- PSL/Sugar Evaluation at CHARME 2005?
3Evaluation Project
- Gentler introduction to assertions using safe
state machines (sync charts). - Esterel for design (OPB peripherals)
- Esterel for verification (OPB protocol violations)
4(No Transcript)
5ZBT SSRAM
SDRAM
ROM
DDRSDRAM
OPB
ZBT SSRAMController
SDRAMController
DDR SDRAMController
External BusController
OPB Bridge
On-ChipPeripheral
CoreConnect OPB(On-Chip Peripheral Bus)
CoreConnect Processor Local Bus (PLB) Arbiter
On-ChipPeripheral
405 PPC
I-Cache PLB
OPB Bridge
D-Cache PLB
High-SpeedPeripheral
6LocalLink (Point to Point)
7Aurora (Link Layer Protocol)
8TX of 10 Gigabit Ethernet MAC
9Verify RX Control Signals
10Single Specification for Hardware and Software
VHDL, Verilog -gt hardware implementation
HW/SW agnostic specification
void uart_device_driver () .....
uart.c
C -gt software implementation
11Configuration
12(No Transcript)
13FSM Specification
14Esterel Specification
15Esterel Studio
16Creating design
Via Safe State Machines
Via Esterel code
loop await A await B emit O each
R
17sender
18parallel to serial shift
19receive
20serial to parallel
21FIFO
22UART without bus interface
23Hardware UART XC2V1000
24OPB Protocol
25UART with OPB Interface
26Direct use in SoC
27Soft UART MicroBlaze XC2V1000
28Verification by simulation
29Verification with Observers
Inputs
Observed system
System model
Observer
BUG
Outputs
BUG is possibly emitted
BUG is always emitted
Verifier
BUG is never emitted
30Verification engines
- 2 proof engines available inside Esterel Studio
- Built-in verifier TiGer
- BDD technique
- Prover Plug-in
- SAT technique
31Formal verification
FIFO property only a read access can cause an
exit from the full state
Proven in less than 2 seconds
32Specification of master behavior ...
33 slave
34and arbiter
35OPB Protocol violations
e.g. Checking that RNW doesnt change during a
transaction
36Formal verification
Of the OPB slave interface proving that it
wont cause bus timeouts
Proven in less than 2 seconds
37Formal verification
Of the FIFO proving that only initialized data
is returned
Using an internal observer to access internal
signals No constraint on input signals
Proven in 30 seconds
38Conclusions
- Synchronous observers provide a plausible
additional verification technique to simulation,
assertion languages (PSL/Sugar and OpenVERA
etc.). - Esterel shows promising results for the synthesis
of control-based circuits. - More accessible to engineers than grammar based
techniques?
39Next Steps
- Comparison with PSL/Sugar and OVL
- Currently working on
- Xilinx Link Layer protocol (LocalLink, Aurora).
- TX portion of 10 gigabit ethernet MAC.
- Language enhancements to better support HW
design. - Compiling observers into HW.