Distributed Operation Layer: Efficient and Predictable KPN-Based Design Flow
Iuliana Bacivarov, Wolfgang Haid, Kai Huang, and Lothar Thiele ETH Zürich, Switzerland
Distributed Operation Layer: Efficient and Predictable KPN-Based - - PowerPoint PPT Presentation
Distributed Operation Layer: Efficient and Predictable KPN-Based Design Flow Iuliana Bacivarov, Wolfgang Haid, Kai Huang, and Lothar Thiele ETH Zrich, Switzerland Efficiency vs. Predictability? Efficiency is Predictability is
Iuliana Bacivarov, Wolfgang Haid, Kai Huang, and Lothar Thiele ETH Zürich, Switzerland
CASA, ESWEEK – DOL: Efficient and Predictable Design Flow Iuliana Bacivarov
2
CASA, ESWEEK – DOL: Efficient and Predictable Design Flow Iuliana Bacivarov 3
CASA, ESWEEK – DOL: Efficient and Predictable Design Flow Iuliana Bacivarov 4
abstract MoC (KPN) vs. BSP
system-level (formal) analysis
simulation
automated system-level exploration vs. trial-and-error
automated synthesis on various MPSoCs (possible due to formal MoC)
CASA, ESWEEK – DOL: Efficient and Predictable Design Flow Iuliana Bacivarov 5
CASA, ESWEEK – DOL: Efficient and Predictable Design Flow Iuliana Bacivarov 6
mapping specification (XML) application specification (XML & C) functional simulation generation simulation on workstation system synthesis (HdS generation) simulation on virtual platform evaluation on workstation architecture specification (XML) analysis model generation calibration data back-annotation performance data test & debug design space exploration
CASA, ESWEEK – DOL: Efficient and Predictable Design Flow Iuliana Bacivarov 7
mapping specification (XML) application specification (XML & C) functional simulation generation simulation on workstation system synthesis (HdS generation) simulation on virtual platform evaluation on workstation architecture specification (XML) analysis model generation calibration data back-annotation performance data test & debug design space exploration
CASA, ESWEEK – DOL: Efficient and Predictable Design Flow Iuliana Bacivarov 8
CASA, ESWEEK – DOL: Efficient and Predictable Design Flow Iuliana Bacivarov 9
01: <process name="src"> 02: <port type="output" name="out"/> 03: <source type="c" location="src.c"/> 04: </process> 01: <iterator variable="i" range="N"> 02: <process name="src"> 03: <append function="i"/> 04: <port type="output" name="out"/> 05: <source type="c" location="src.c"/> 06: </process> 07: </iterator>
CASA, ESWEEK – DOL: Efficient and Predictable Design Flow Iuliana Bacivarov 10
CASA, ESWEEK – DOL: Efficient and Predictable Design Flow Iuliana Bacivarov 11
CASA, ESWEEK – DOL: Efficient and Predictable Design Flow Iuliana Bacivarov 12
CASA, ESWEEK – DOL: Efficient and Predictable Design Flow Iuliana Bacivarov 13
mapping specification (XML) application specification (XML & C) functional simulation generation simulation on workstation system synthesis (HdS generation) simulation on virtual platform evaluation on workstation architecture specification (XML) analysis model generation calibration data back-annotation performance data test & debug design space exploration
CASA, ESWEEK – DOL: Efficient and Predictable Design Flow Iuliana Bacivarov
14
mapping specification (XML) application specification (XML & C) functional simulation generation simulation on workstation system synthesis (HdS generation) simulation on virtual platform evaluation on workstation architecture specification (XML) analysis model generation calibration data back-annotation performance data test & debug design space exploration
CASA, ESWEEK – DOL: Efficient and Predictable Design Flow Iuliana Bacivarov 15
sc thread sc channel sc channel
sc port sc port P2.fire()
sc thread
sc port P1.fire()
sc thread
sc port P3.fire()
scheduler
write() read()
CASA, ESWEEK – DOL: Efficient and Predictable Design Flow Iuliana Bacivarov 16
by NoC
connected by an AMBA bus; several tiles connected via NoC
connected via ring bus
Memory PPE MIC Main storage L2 Cache PPU L1 Cache SPU LS MFC SPU LS MFC SPU LS MFC SPU LS MFC SPU LS MFC SPU LS MFC SPU LS MFC SPU LS MFC SPE Element interconnect bus (EIB)
Legend: LS: Local Store MFC: Memory Flow Controller MIC: Memory Interface Controller PPE: Power Processor Element PPU: Power Processor Unit SPE: Synergistic Processor Elements SPU: Synergistic Processor Unit
ARM core SP x-bar DRAM ctrl NI
switch switch switch
16 CASA, ESWEEK – DOL: Efficient and Predictable Design Flow Iuliana Bacivarov
CASA, ESWEEK – DOL: Efficient and Predictable Design Flow Iuliana Bacivarov 17
architecture
too slow for design space exploration
mapping specification (XML) application specification (XML & C) functional simulation generation simulation on workstation system synthesis (HdS generation) simulation on virtual platform evaluation on workstation architecture specification (XML) analysis model generation calibration data back-annotation performance data test & debug design space exploration
CASA, ESWEEK – DOL: Efficient and Predictable Design Flow Iuliana Bacivarov 18
SPEA2 (Strength Pareto Evolutionary Algorithm) MPA (Modular Performance Analysis) http://www.mpa.ethz.ch
CASA, ESWEEK – DOL: Efficient and Predictable Design Flow Iuliana Bacivarov 19
2 4 6 8 1 0 1 2 1 4 1 6 1 8 2 4 6 8 1 1 2 1 4 1 6 1 8 20
CASA, ESWEEK – DOL: Efficient and Predictable Design Flow Iuliana Bacivarov 20
mapping specification (XML) application specification (XML & C) functional simulation generation simulation on workstation system synthesis (HdS generation) simulation on virtual platform evaluation on workstation architecture specification (XML) analysis model generation calibration data back-annotation performance data test & debug design space exploration
CASA, ESWEEK – DOL: Efficient and Predictable Design Flow Iuliana Bacivarov 21
http://www.mpa.ethz.ch
mapping specification (XML) application specification (XML & C) functional simulation generation simulation on workstation system synthesis (HdS generation) simulation on virtual platform evaluation on workstation architecture specification (XML) analysis model generation calibration data back-annotation performance data test & debug design space exploration mapping specification (XML) application specification (XML & C) functional simulation generation simulation on workstation system synthesis (HdS generation) simulation on virtual platform evaluation on workstation architecture specification (XML) MPA analysis model generation calibration data back-annotation performance data test & debug
#(events) Δ
design space exploration
#events
CASA, ESWEEK – DOL: Efficient and Predictable Design Flow Iuliana Bacivarov
22
bRISC bBUS bDSP
P1 FIFO1 P2
b’RISC b’DSP
FIFO2
b’BUS
P3
a’ a
CASA, ESWEEK – DOL: Efficient and Predictable Design Flow Iuliana Bacivarov
23
intra-processor communication inter-processor communication
process
complex computation modeling
CASA, ESWEEK – DOL: Efficient and Predictable Design Flow Iuliana Bacivarov 24
24 CASA, ESWEEK – DOL: Efficient and Predictable Design Flow Iuliana Bacivarov
CASA, ESWEEK – DOL: Efficient and Predictable Design Flow Iuliana Bacivarov 25
25 CASA, ESWEEK – DOL: Efficient and Predictable Design Flow Iuliana Bacivarov
CASA, ESWEEK – DOL: Efficient and Predictable Design Flow Iuliana Bacivarov 26
bus ARM tile N ARM tile 1 ARM core scratchpad memory DMA controller M M S ARM core scratchpad memory M M S DMA controller instruction and data memory instruction and data memory
*MPARM - virtual simulation platform of U. Bologna
(optimal) mapping
CASA, ESWEEK – DOL: Efficient and Predictable Design Flow Iuliana Bacivarov 27
1 proc. 3 procs. 4 procs. end-to-end delay cost 2 procs. current population
*EXPO - https://www.tik.ee.ethz.ch/expo *PISA - https://www.tik.ee.ethz.ch/pisa
CASA, ESWEEK – DOL: Efficient and Predictable Design Flow Iuliana Bacivarov 28
CASA, ESWEEK – DOL: Efficient and Predictable Design Flow Iuliana Bacivarov 29
cannot be included in the design space exploration loop
reasonable for design space exploration
CASA, ESWEEK – DOL: Efficient and Predictable Design Flow Iuliana Bacivarov 30
Observed (simulation) Estimated bounds (MPA)
CASA, ESWEEK – DOL: Efficient and Predictable Design Flow Iuliana Bacivarov 31
CASA, ESWEEK – DOL: Efficient and Predictable Design Flow Iuliana Bacivarov 32
CASA, ESWEEK – DOL: Efficient and Predictable Design Flow Iuliana Bacivarov 33