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:
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.
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.
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.
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.
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.
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.
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.
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.
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.