Survey of Domain- Specific Languages for FPGA Computing
Nachiket Kapre nachiket@ieee.org
Survey of Domain- Specific Languages for FPGA Computing Nachiket - - PowerPoint PPT Presentation
Survey of Domain- Specific Languages for FPGA Computing Nachiket Kapre nachiket@ieee.org Some goodness metric Expressiveness (Freedom) 2 Some goodness metric Trumps attack on judge Expressiveness (Freedom) 3 Singapores contempt
Nachiket Kapre nachiket@ieee.org
Expressiveness (Freedom) Some goodness metric
2
Expressiveness (Freedom) Some goodness metric Trump’s attack on judge
3
Expressiveness (Freedom) Some goodness metric Singapore’s contempt of court bill Trump’s attack on judge
4
Expressiveness (Freedom) Some goodness metric Singapore’s contempt of court bill Trump’s attack on judge
Singapore: Contempt of court bill is a threat to freedom of expression
Donald Trump's hate-filled rhetoric & bigoted scapegoating flies in the face of equality & MUST be rejected. https://twitter.com/amnesty/status/674053786520915969
https://www.amnesty.org/en/latest/news/2016/08/singapore-contempt-of-court-law/
5
Expressiveness (Freedom) Some goodness metric Classic HDLs
6
Expressiveness (Freedom) Some goodness metric Classic HDLs DSLs
7
8
— Where we stand? — Need for DSLs
9
— Where we stand? — Need for DSLs
10
complex
Verilog code
compile (adds insult to injury)
feedback cycles.
11
12
13
code smaller?
— registers, wires, number of bits
14
15
16
sharing) —> sacrifice freedom for speed
— Overheads due to implicit assumptions — more area, slower design, not fully optimised — Only really addresses time-to-compilation — still need to do synth + P&R
17
— Where we stand? — Need for DSLs
18
— finance, HPC, radio, multimedia, networking, databases, security.
19
— focus on end-user of FPGA technology
— analogous to Berkeley’s Ptolemy classification
— behind-the-scenes tinkerers, library developers, system builders, academics
20
— focus on end-user of FPGA technology
— analogous to Berkeley’s Ptolemy classification
— behind-the-scenes tinkerers, library developers, system builders, academics
21
22
23
24
P4
25
P4
26
P4 Lua/Torch
27
28
29
30
— Where we stand? — Need for DSLs
31
32
33
34
35
36
37
— Where we stand? — Need for DSLs
38
— Class of 2014-15 — ~25-30 students
ax2+bx+c mapping example
39
40
Compiler modified
41
Vendor HLS
42
Limited to arith expr
43
Tool config tough
44
Dated EDIFs
45
Hardware students disliked
46
47
— Vast space of DSLs — Various states of rot — unmaintained projects
— First attempt: Does HLS/OpenCL work for you — Next try: Well-supported tools such as Matlab HDLCoder, Tabview FPGA, Maxeler Dataflow — Finally: Check amongst the DSLs, or write your own
48