24.04.2013 Views

Verification of Parameterised FPGA Circuit Descriptions with Layout ...

Verification of Parameterised FPGA Circuit Descriptions with Layout ...

Verification of Parameterised FPGA Circuit Descriptions with Layout ...

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

CHAPTER 2. BACKGROUND AND RELATED WORK 15<br />

block addthree ((wire a, wire b), wire c) ∼ (wire d) {<br />

wire t.<br />

(a,b) ; add ; t.<br />

(c, t) ; add ; d.<br />

}<br />

2.3 Quartz<br />

Figure 2.3: A Quartz block which adds together three numbers<br />

Quartz [62, 65] is a declarative block composition language intended for describing digital<br />

circuits. A Quartz description is composed <strong>of</strong> a series <strong>of</strong> blocks which are defined by their<br />

name, interface type, local definitions and body statements. A block’s interface is divided,<br />

in a relational style, into a domain and a range. Primitive blocks represent hardware or<br />

simulation primitives and control the function <strong>of</strong> the circuit, while composite blocks control<br />

the structure and inter-connections <strong>of</strong> the primitives.<br />

Blocks can be visualised geometrically, typically as four-sided tiles that can be placed on a<br />

two dimensional surface in some inter-connected manner. An abstract additional dimension<br />

allows for the connection <strong>of</strong> additional signals such as a clock or static parameter values<br />

<strong>with</strong>out disturbing the underlying geometry. Figure 2.3 illustrates the Quartz description and<br />

visual representation for a block which adds together three values, the dotted line indicates<br />

the division between the block’s domain and range. It is common to reason about and<br />

refine Quartz and Ruby designs using pictures and tools have been developed for Ruby to<br />

produce design diagrams automatically [25]. This pictorial interpretation is a useful aid to<br />

implementation, since interconnection is <strong>of</strong>ten minimised by careful placement <strong>of</strong> components.<br />

Quartz differs from existing relational and functional languages by allowing designers to<br />

mix VHDL-like and relational styles in a single design as appropriate. The language is a<br />

development <strong>of</strong> work on Pebble [46] and the Ruby [31] relational calculus.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!