



































Study with the several resources on Docsity
Earn points by helping other students or get them with a premium plan
This page cannot be seen from the preview
Don't miss anything!




































- Research Overview • PyMTL Framework Pydgin Framework PyMTL/Pydgin in Practice
Transistors (Thousands)
Frequency (MHz)
Typical Power (W)
MIPS R2K
Intel P DEC Alpha 21264
Data collected by M. Horowitz, F. Labonte, O. Shacham, K. Olukotun, L. Hammond, C. Batten
1975 1980 1985 1990 1995 2000 2005 2010 2015
10
0
10 1
10
2
10
3
10 4
10
5
10
6
SPECint Performance
10 7
Number of Cores
Intel 48-Core Prototype AMD 4-Core Opteron
Data-Parallelism via GPGPUs and Vector
Hardware Specialization
Fine-Grain Task- Level Parallelism Instruction Set Specialization Subgraph Specialization Application-Specific Accelerators Domain-Specific Accelerators Coarse-Grain Reconfig Arrays Field-Programmable Gate Arrays
- Research Overview • PyMTL Framework Pydgin Framework PyMTL/Pydgin in Practice
Cross Compiler
Functional Simulator
Binary
Applications
Functional-Level Model
Cycle-Level Simulator
Cycle-Level Model
Layout
Register-Transfer-Level Model
RTL Simulator
Gate-Level Model
Gate-Level Simulator
Switching Activity
Power Analysis
Synthesis Place&Route
Key Metrics: Cycle Count, Cycle Time, Area, Energy
- Research Overview • PyMTL Framework Pydgin Framework PyMTL/Pydgin in Practice
PL
ISA
uArch
RTL
VLSI
Circuits
Tech
Compiler
Apps
Algos
GPGPU Architecture [ISCA'13] (AFOSR)
[MICRO'14a]
Integrated Voltage Regulation [MICRO'14b] [ISCA'16]
XLOOPS Explicit Loop Specialization [MICRO'14c] (DARPA,NSF)
Polymorphic Hardware Specialization
(NSF)
[DAC'16]
Accelerating Dynamic Prog Langs (NSF)
PyMTL/Pydgin Frameworks [MICRO'14d]
(NSF)
[ISPASS'16]
[ISPASS'15]
PyMTL/Pydgin Frameworks [MICRO'14d]
(NSF)
[ISPASS'16]
[ISPASS'15]
Great(Ideas(From(Prior(Work(
PyMTL:'A'Unified'Framework'for'Ver8cally'Integrated' Computer'Architecture'Research' 10'/'100''
Consistent'interfaces'across'abstracGons' ' ' Unified'design'environment'for'FL,'CL,'RTL' ' ' ProducGve'RTL'design'space'exploraGon' ' ' ProducGve'RTL'validaGon'and'cosimulaGon' ' ' Component'and'test'bench'reuse'
What(is(PyMTL?(
12'/'39'
'
PyMTL:'A'Unified'Framework'for'Ver8cally'Integrated' Computer'Architecture'Research'
API'
SimulaGon' Tool'
TranslaGon' Tool'
Model'DSEL'
TesGng'Framework'
What(Does(PyMTL(Enable?(
15'/'39'
FL' Model'
CL' Model'
RTL' Model'
PyMTL:'A'Unified'Framework'for'Ver8cally'Integrated' Computer'Architecture'Research'
What(Does(PyMTL(Enable?(
16'/'39'
Verilog' RTL' Model'
PyMTL:'A'Unified'Framework'for'Ver8cally'Integrated' Computer'Architecture'Research'
The(PyMTL(DSEL(
21'/'39'
def sorter_network( input ):!
return sorted( input )!
!
class SorterNetworkFL( Model )!
def init( s, nbits, nports ):! !
s.in_ = InPort nports! s.out = OutPortnports!
!
!
@s.tick_fl! def logic():! for i, v in enumerate( sorted( s.in_ ) ):! s.out[i].next = v'
PyMTL:'A'Unified'Framework'for'Ver8cally'Integrated' Computer'Architecture'Research'
f(x)'
['3,'1,'2,'0']' (^) f(x)' ['0,'1,'2,'3']'
The(PyMTL(DSEL(
22'/'39'
def sorter_network( input ):!
return sorted( input )!
!
class SorterNetworkCL( Model )!
def init( s, nbits, nports, delay=3 ):! !
s.in_ = InPort nports! s.out = OutPortnports! s.pipe = Pipeline( delay )!
!
@s.tick_cl! def logic():! s.pipe.xtick()! s.pipe.push( sorted( s.in_ ) )!
!
if s.pipe.ready():! for i, v in enumerate( s.pipe.pop() ):! s.out[i].next = v! !
'
PyMTL:'A'Unified'Framework'for'Ver8cally'Integrated' Computer'Architecture'Research'
f(x)'
['3,'1,'2,'0']' (^) f(x)' ['0,'1,'2,'3']'
The(PyMTL(DSEL(
24'/'39'
class MinMaxRTL( Model )!
def init( s, nbits ):! s.in_ = InPort 2! s.out = OutPort2! @s.combinational! def logic():! swap = s.in_[0] > s.in_[1]! s.out[0].value = s.in[1] if swap else s.in[0]! s.out[1].value = s.in[0] if swap else s.in[1]!
!
class RegRTL( Model )! def init( s, nbits ):! s.in_ = InPort (nbits)! s.out = OutPort(nbits)! @s.tick_rtl! def logic():! s.out.next = s.in_! ' PyMTL:'A'Unified'Framework'for'Ver8cally'Integrated' Computer'Architecture'Research'
I (^) Python-Wrapped C/C++ Libraries
I (^) Numerical Just-In-Time Compilers
I (^) Just-In-Time Compiled Interpreters
I (^) Selective Embedded Just-In-Time Specialization