Tdd

On Interfaces and Dependent Types

In this post we will consider the interplay between dependently typed data structures and interfaces.

This post is a literate Idris file so there will be some cruft related to Idris that will remain until I get round to 1 improving Idris’ literate mode support.

module Main

First we need to hide a few things from the default…

%hide List
%default total

Consider the following interface that defines equality for a provided type:

LightClick---A Linear Typed Orchestration Language for System-On-A-Chip Designs

On Tuesday 05 November 2019, I gave a talk at my alma matter on some recent results.

The abstract is:

Two important aspects in hardware design are the safe routing of signals between modules, and ensuring that ports are correctly connected. Well-known hardware description languages such as SystemVerilog, provide nominal checking over these aspects. Thus, leaving correctness checks over module orchestration to be performed post-design-time using static analyses, testing, and during synthesis.

Revisiting Type-Driven Design of Communicating Systems

I am giving a talk today about implementing global session types as an EDSL within Idris.

The abstract is:

Communication protocols are a cornerstone of modern system design. However, there is a disconnect between the tooling used to design, implement and reason about these protocols and their implementations. Session Types offer a typing discipline that helps resolve this difference by allowing protocol specifications to be used during type-checking, ensuring that implementations adhere to a given specification. Session Type implementations are, however, limited in their expressiveness in protocol design and implementation.

Handling Side-Effects using Resource Dependent Algebraic Effects

I am giving a talk today about some work on reasoning about program side effects in Idris.

The abstract is:

Dependent types provide an expressive environment in which one can specify, and reason about, the properties of our software programs.

In this talk I will introduce dependent types and examine how we can reason about program behaviour using finite state machines and type-level modelling.

Slides are not available.

Type-Driven Development of SoC Architectures.

I am giving a talk about my work on the Border Patrol Project at the local Systems Seminar.

This talk is a repeat of my SPLS talk from earlier this year.

The protocols that describe the interactions between IP Cores on System-on-a-Chip (SoC) architectures are well-documented, describing not only the structural properties of the physical interfaces but also the behaviour of the emanating signals. However, there is a disconnect between the design of SoC architectures, their formal description, and the verification of their implementation in known hardware description languages.

Type-Driven Development of SoC Architectures.

I am giving a talk about my work on the Border Patrol Project at SPLS Oct ‘18 at the University of Strathclyde. This event is being hosted by the MSP Group of the School of Computer and Information Sciences.

This talk extends upon early talks to the MSP Group, FP-StAnd Group, and PL Interest groups, with an even more complete picture of the language and how it is used. Sadly, this talk won’t be Chalk&Talk, and a more conventional slidedeck will be used.

Type-Systems for Describing System-on-a-Chip Architectures.

I am giving a talk about my work on the Border Patrol Project at the University of Edinburgh, School of Informatics, PL-Interest Group.

This extends upon my talk from March to the FP-Group at St Andrews with a more complete picture of the language and how it is used. Sadly, this talk won’t be Chalk&Talk, and a more conventional slidedeck will be used. If tempted, I may do live programming.

The protocols that describe the interactions between IP Cores on System-on-a-Chip (SoC) architectures are well-documented. Describing not only the structural properties of the physical interfaces but also the behaviour of the emanating signals. However, there is a disconnect between the design of SoC architectures, their formal description, and the verification of their implementation in known hardware description languages.

A Type-System for describing System-on-a-Chip Architectures.

I am giving a talk about my work on the Border Patrol at the University of St Andrews, School of Computer Science, Functional Programming Group.

This extends upon my talk from February to the MSP Group at Strathclyde with a more complete picture of the language and how it is used. Sadly, this talk won’t be Chalk&Talk, and a more conventional slidedeck will be used. If tempted, I may do live programming.

The protocols that describe the interactions between IP Cores on System-on-a-Chip (SoC) architectures are well-documented. These protocols described not only the structural properties of the physical interfaces but also the behaviour of the emanating signals. However, there is a disconnect between the design of SoC architectures, their formal description, and the verification of their implementation in known hardware description languages.

A Type-System for describing the Structural Topology of System-on-a-Chip Architectures.

In February, I gave a talk about my work on the Border Patrol at the University of Strathclyde’s, School of Computing and Information Sciences MSP 101.

This was a fun talk to prepare and deliver as the MSP101 talks are traditionally Chalk&Talk. Hopefully, I was able to convince the group that I was working on something interesting.

The protocols that describe the interactions between IP Cores on System-on-a-Chip architectures are well-documented. These protocols described not only the structural properties of the physical interfaces but also the behaviour of the emanating signals. However, there is a disconnect between the design of SoC architectures, their formal description, and the verification of their implementation in known hardware description languages.

Designing Hardware using Session Types and Dependent Types---A First Look

This week, I gave a talk about my work on the Border Patrol at the Autumn 2017 session of SPLS.

The Border Patrol Project seeks to investigate how state-of-the-art advances in programming language theory can provide better guarantees towards System-On-Chip (SoC) design and execution. Specifically we are interested in extending existing work on structural type systems for SoC with that of Multi-Party Session Types and Dependent Types.

In this talk I will: briefly discuss the goals of the Border Patrol Project; outline some of the design challenges we have encountered so far when looking to adapt multi-party session types for describing hardware; and demonstrate how dependent types help reason about the structure of SoC architectures.

← Previous 1 2