Full abstraction for digital circuits

01/25/2022
by   Dan R. Ghica, et al.
0

This paper refines the existing axiomatic semantics of digital circuits with delay and feedback, in which circuits are constructed as morphisms in a freely generated cartesian traced (dataflow) category. First, we give a cleaner presentation, making a clearer distinction between syntax and semantics, including a full formalisation of the semantics as stream functions. As part of this effort, we refocus the categorical framework through the lens of string diagrams, which not only makes reading equations more intuitive but removes bureaucracy such as associativity from proofs. We also extend the existing framework with a new axiom, inspired by the Kleene fixed-point theorem, which allows circuits with non-delay-guarded feedback, typically handled poorly by traditional methodologies, to be replaced with a series of finitely iterated circuits. This eliminates the possibility of infinitely unfolding a circuit; instead, one can always reduce a circuit to some (possibly undefined) value. To fully characterise the stream functions that correspond to digital circuits, we examine how the behaviour of the latter can be modelled using Mealy machines. By establishing that the translation between sequential circuits and Mealy machines preserves their behaviour, one can observe that circuits always implement monotone stream functions with finite stream derivatives.

READ FULL TEXT

page 1

page 2

page 3

page 4

research
02/19/2023

Rewriting modulo traced comonoid structure

In this paper we adapt previous work on rewriting string diagrams using ...
research
06/14/2021

String Diagrammatic Electrical Circuit Theory

We develop a comprehensive string diagrammatic treatment of electrical c...
research
07/18/2018

Circuits via topoi

Leveraging topos theory a semantics can be given to sequential circuits ...
research
03/17/2021

An Overflow/Underflow-Free Fixed-Point Bit-Width Optimization Method for OS-ELM Digital Circuit

Currently there has been increasing demand for real-time training on res...
research
05/04/2018

Interacting Hopf Algebras: the theory of linear systems

As first main contribution, this thesis characterises the PROP SVk of li...
research
05/24/2023

Classification of Sequential Circuits as Causal Functions

In sequential circuits, the current output may depend on both past and c...
research
06/15/2020

The Metastable Behavior of a Schmitt-Trigger

Schmitt-Trigger circuits are the method of choice for converting general...

Please sign up or login with your details

Forgot password? Click here to reset