6.175: Constructive Computer Architecture Tutorial 1 ...
9/30/16
6.175: Constructive Computer Architecture
Tutorial 1
Bluespec SystemVerilog (BSV)
Quan Nguyen
(Only crashed PowerPoint three times)
Sep 30, 2016
T01-1
What's Bluespec?
? "A synthesizable subset of SystemVerilog" ? Rule-based execution ? Formal semantics, type safety, object-oriented
programming, higher-order functions
? A way for you to express hardware designs
n But you still have to know the syntax
Sep 30, 2016
T01-2
1
9/30/16
BSV Lineage
?C/C++
?(1972; 1983)
?"Bluespec is pretty much a port of Haskell" ?-- anonymous grad student
?Verilog
?(1984)
?Lisp
?(1958)
?ML
?(1973)
?SystemVerilog
?(2002)
?Haskell
?(1990)
Sep 30, 2016
?Bluespec
?(2003)
T01-3
Outline
? Standard types ? User-defined types ? Modules, interfaces, and methods ? Writing and debugging BSV
Sep 30, 2016
T01-4
2
Standard Types
9/30/16
Sep 30, 2016
T01-5
Bit#(numeric type n)
? Literal values:
n Decimal: 0, 1, 2, ... (each has type Bit#(n)) n Binary: 5'b01101, 2'b11 n Hex: 5'hD, 2'h3, 16'h1FF0
? Common functions:
n Bitwise Logic: |, &, ^, ~, etc. n Arithmetic: +, -, *, %, etc. n Indexing: a[i], a[3:1] n Concatenation: {a, b} n truncate(), truncateLSB() n zeroExtend(), signExtend()
Sep 30, 2016
T01-6
3
Bool
? Literal values: True, False
? Boolean Logic: ||, &&, !, ==, !=, etc.
? All comparison operators (==, !=, >, =, , =, ................
................
In order to avoid copyright disputes, this page is only a partial summary.
To fulfill the demand for quickly locating and searching documents.
It is intelligent file search solution for home and business.
Related download
- fx documentation
- llvm and clang advancing compiler technology
- haskell types university of arizona
- 6 175 constructive computer architecture tutorial 1
- provablycorrectdevelopmentof reconfigurablehardwaredesigns
- whyp a c based version of ouforth for the motorola 68hc11
- solutions to exercises
- hust ctf 2010 write up
- high level views on low level representations
- csc 520 principles of programming languages 11 haskell
Related searches
- computer networks tutorial pdf
- emerging computer architecture technology
- computer network tutorial pdf download
- computer architecture tutorial pdf
- computer architecture pdf
- computer architecture and design pdf
- fundamentals of computer architecture pdf
- william stallings computer architecture pdf
- computer architecture textbook pdf
- computer architecture tutorial for beginners
- computer architecture and organization pdf
- computer architecture lecture notes