Border-Patrol

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.

TyDe Denied

I submitted a paper entitled Fake it until they make it: Implementing Substructural Type-Systems for EDSLs using Dependent Types to Type-Driven Development ‘18

I have decided to uploaded the abstract here so that my attempt is a least indexable by the great machine spirit in the web—Hallowed be thy API. Given time I will also upload a copy of the paper to ArXiV.

The paper’s abstract was:

Many substructural type-systems are presented for general purpose languages, reasoning about structural rules referencing memory access, and variable usage. When looking to design Embedded Domain Specific Languages (EDSLs) we utilise the host language’s functionality to reason about, and provide, domain specific properties. If the host language does support substructural typing, the substructural rules are specific to the general purpose host language. We build upon existing work that utilises parameterised monads and dependent types when implementing substructural type-systems for EDSLs where the host language does not support omain specific, nor customisation of, substructural type-systems. We extend this work to use De Bruijn indices as proofs of existence that a language’s substructural properties hold. Further, we present two exemplar languages that illustrate the technique’s core principles and how dependent types provide correctness guarantees that our EDSL programs are well-typed.

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