SlideShare a Scribd company logo
Generalized Isomorphism
between Synchronous Circuits
and State Machines
Shunji Nishimura
July 1, 2015 ITC-CSCC
2
Motivation
Category theory
Great successes in software science
ex. programming semantics
(modeling)
might be in hardware
object
object
object
3
Known isomorphism
f
D-FlipFlop synchronous circuit and state machine
Low LowHigh
D-FF
f
next
equaldiscrete
sampling
circuit
SM
4
(part of) Our isomorphism
D-Latch synchronous circuit and state machine
a0 a1 a2 a3
a0 a1 a2 a3
f
D-Latch
f
next
equal
circuit
SM
time structure
transformation
Agenda
(0) Modeling on category theory
(1) Evaluation operator
(2) Comprehensive Latches
(3) Transformation of time structure
(1)
(2)
(3)
6
Category:
signal as:
Modeling on category [1/3]
object
object
object
signal
value
signal
value
signal
value
time as:
time
point
time
point
time
point
7
A B
SS := functor A × S → B × SA circuit:
An evaluation pattern := functor time T → signal A
Modeling on category [2/3]
category A
functor
category B
Functor:
mapping between categories
Natural transformation:
mapping between functors
8
Modeling on category [3/3]
category
Natural
transformation
category
functor F
functor G
will be used for our transformation of time structure.
(Agenda)
(0) Modeling on category theory
(1) Evaluation operator
(2) Comprehensive Latches
(3) Transformation of time structure
(1)
(2)
(3)
10
Evaluation operator [1/3]
A
A×S
T B
B×S
a
f
a ▷ f
f
A B
SS
time
evaluation
result
Define operator ▷ which determines evaluation results.
evaluation
pattern
circuit
= a ▷ fviz.
a
Time (= category) for evaluation
Encountering problem
Intend to : (transit t0 → t1 → t2),
but in fact : (exists t0 → t2).
11
: non-deterministic branching
t0 t1 t2
t0 t1 t2
compositon
Evaluation operator [2/3]
: joining together
Consider time structure τ of time T as:
τ ⊂ { morphisms of T } a ▷ f
τ
12
τ τ
t0 t1
f s0
fs0
= f
next
= f
state machine
combinational
circuit
Evaluation operator [3/3]
Similar to the state machine evaluation
 To imitate logic simulation, iterative calculation
is described by identity morphism.
(Agenda)
(0) Modeling on category theory
(1) Evaluation operator
(2) Comprehensive Latches
(3) Transformation of time structure
(1)
(2)
(3)
14
?
Comprehensive Latches [1/2]
order reversal of
previous/current
signal
rejected accepted
aim to build the most general latches/FFs
rejected accepted
τ
redundant
(premised on )
corresponding to
enable state of
D-Latchs
corresponding to
disable state of
D-Latchs
15
C
A
A A
A
A
1 2 n
Comprehensive Latch : (C×A)×An → A×An
= C×An+1 → An+1
input state output state
Comprehensive Latches [2/2]
Definiton: serial connection of
(function to) the previous units
(Agenda)
(0) Modeling on category theory
(1) Evaluation operator
(2) Comprehensive Latches
(3) Transformation of time structure
(1)
(2)
(3)
17
Transformation of time structure [1/2]
C×Tn+1
T T
(clock) ck
ρ
id(identity)
C×T
Tn+1
ck×id ▷ ρ
τ
comprehensive
latch
τ: time structure
ρ:
T T
(Natural
transformation)
id
Renewed time structure is defined as:
18
t0
ck
τ
(Low enable)
=
ρ=
=
=
ex.
τ
=
t1 t2 t3 t4 t5 t6
t0 t0 t0 t3 t4 t4 t4
t0 t1 t2 t3 t4 t5 t6
D-Latch
throughkeep
=( id )
∴
Transformation of time structure [2/2]
ck×id ▷ρ
natural transformation
19
Theorem: isomorphism [1/2]
ρ synchronous circuit and state machine
(ρ: comprehensive latch)
f
f
next
equaltime structure
transformation
ρ
a0 a1 a2
τ
=
=
ck
pattern =
a0 a1 a2
=
=pattern
along
with
along
with
The two functors in the center
are the same.
20
C×A×Sn+1
T B
B×Sn+1
clock ck
fρ
a
A
A×S
B×S
=
evaluation
pattern
circuit f
f
ρ
C
A
S
Sn
B
S
Sn
ck×a ▷ fρ
τ
a ▷ fa
comprehensive latch
τ: time structure
ρ:
Theorem: isomorphism [2/2]
C×A
21
Conclusion
Generalized theory was acquired
using category theory.
A common modeling of circuits and
state machines is presented.
A generalized concept of latches/FFs
is also presented.
A state machine corresponding to a D-
Latch synchronous circuit is available.

More Related Content

What's hot

State space modeling_introduction
State space modeling_introductionState space modeling_introduction
State space modeling_introduction
Deva Karan
 
State space analysis, eign values and eign vectors
State space analysis, eign values and eign vectorsState space analysis, eign values and eign vectors
State space analysis, eign values and eign vectors
Shilpa Shukla
 
Matlab: Discrete Linear Systems
Matlab: Discrete Linear SystemsMatlab: Discrete Linear Systems
Matlab: Discrete Linear Systems
DataminingTools Inc
 
Discrete state space model 9th &10th lecture
Discrete  state space model   9th  &10th  lectureDiscrete  state space model   9th  &10th  lecture
Discrete state space model 9th &10th lecture
Khalaf Gaeid Alshammery
 
Block diagram
Block diagramBlock diagram
Block diagram
Sagar Kuntumal
 
Parallel searching
Parallel searchingParallel searching
Parallel searching
Md. Mahedi Mahfuj
 
Control chap3
Control chap3Control chap3
Control chap3
Mohd Ashraf Shabarshah
 
Signal Flow Graph Introduction
Signal Flow Graph IntroductionSignal Flow Graph Introduction
Signal Flow Graph Introduction
priyankabirlaa
 
Dsp i with_audio
Dsp i with_audioDsp i with_audio
Dsp i with_audio
Hardik gupta
 
Block diagrams and signal flow graphs
Block diagrams and signal flow graphsBlock diagrams and signal flow graphs
Block diagrams and signal flow graphs
Hussain K
 
Aa sort-v4
Aa sort-v4Aa sort-v4
130070119095_2151908
130070119095_2151908130070119095_2151908
130070119095_2151908
nilesh vishwani
 
State space
State spaceState space
Block diagram representation 3
Block diagram representation 3Block diagram representation 3
Block diagram representation 3
Syed Saeed
 
block diagram representation of control systems
block diagram representation of  control systemsblock diagram representation of  control systems
block diagram representation of control systems
Ahmed Elmorsy
 
Control systems
Control systemsControl systems
Control systems
DHEERAJ DHAKAR
 
Parallel sorting algorithm
Parallel sorting algorithmParallel sorting algorithm
Parallel sorting algorithm
Richa Kumari
 
State equations for physical systems
State equations for physical systemsState equations for physical systems
State equations for physical systems
Sarah Krystelle
 
Lecture 8-9 block-diagram_representation_of_control_systems
Lecture 8-9 block-diagram_representation_of_control_systemsLecture 8-9 block-diagram_representation_of_control_systems
Lecture 8-9 block-diagram_representation_of_control_systems
Saifullah Memon
 
Block diagram &_overall_transferfunction_of_a_multiloop_control_system
Block diagram &_overall_transferfunction_of_a_multiloop_control_systemBlock diagram &_overall_transferfunction_of_a_multiloop_control_system
Block diagram &_overall_transferfunction_of_a_multiloop_control_system
Prashant thakur
 

What's hot (20)

State space modeling_introduction
State space modeling_introductionState space modeling_introduction
State space modeling_introduction
 
State space analysis, eign values and eign vectors
State space analysis, eign values and eign vectorsState space analysis, eign values and eign vectors
State space analysis, eign values and eign vectors
 
Matlab: Discrete Linear Systems
Matlab: Discrete Linear SystemsMatlab: Discrete Linear Systems
Matlab: Discrete Linear Systems
 
Discrete state space model 9th &10th lecture
Discrete  state space model   9th  &10th  lectureDiscrete  state space model   9th  &10th  lecture
Discrete state space model 9th &10th lecture
 
Block diagram
Block diagramBlock diagram
Block diagram
 
Parallel searching
Parallel searchingParallel searching
Parallel searching
 
Control chap3
Control chap3Control chap3
Control chap3
 
Signal Flow Graph Introduction
Signal Flow Graph IntroductionSignal Flow Graph Introduction
Signal Flow Graph Introduction
 
Dsp i with_audio
Dsp i with_audioDsp i with_audio
Dsp i with_audio
 
Block diagrams and signal flow graphs
Block diagrams and signal flow graphsBlock diagrams and signal flow graphs
Block diagrams and signal flow graphs
 
Aa sort-v4
Aa sort-v4Aa sort-v4
Aa sort-v4
 
130070119095_2151908
130070119095_2151908130070119095_2151908
130070119095_2151908
 
State space
State spaceState space
State space
 
Block diagram representation 3
Block diagram representation 3Block diagram representation 3
Block diagram representation 3
 
block diagram representation of control systems
block diagram representation of  control systemsblock diagram representation of  control systems
block diagram representation of control systems
 
Control systems
Control systemsControl systems
Control systems
 
Parallel sorting algorithm
Parallel sorting algorithmParallel sorting algorithm
Parallel sorting algorithm
 
State equations for physical systems
State equations for physical systemsState equations for physical systems
State equations for physical systems
 
Lecture 8-9 block-diagram_representation_of_control_systems
Lecture 8-9 block-diagram_representation_of_control_systemsLecture 8-9 block-diagram_representation_of_control_systems
Lecture 8-9 block-diagram_representation_of_control_systems
 
Block diagram &_overall_transferfunction_of_a_multiloop_control_system
Block diagram &_overall_transferfunction_of_a_multiloop_control_systemBlock diagram &_overall_transferfunction_of_a_multiloop_control_system
Block diagram &_overall_transferfunction_of_a_multiloop_control_system
 

Similar to Generalized Isomorphism between Synchronous Circuits and State Machines

5_2019_01_12!09_25_57_AM.ppt
5_2019_01_12!09_25_57_AM.ppt5_2019_01_12!09_25_57_AM.ppt
5_2019_01_12!09_25_57_AM.ppt
aboma2hawi
 
How to Develop Your Own Simulators for Discrete-Event Systems
How to Develop Your Own Simulators for Discrete-Event SystemsHow to Develop Your Own Simulators for Discrete-Event Systems
How to Develop Your Own Simulators for Discrete-Event Systems
Donghun Kang
 
Combinational logic circuit by umakant bhaskar gohatre
Combinational logic circuit by umakant bhaskar gohatreCombinational logic circuit by umakant bhaskar gohatre
Combinational logic circuit by umakant bhaskar gohatre
Smt. Indira Gandhi College of Engineering, Navi Mumbai, Mumbai
 
Feedback control of_dynamic_systems
Feedback control of_dynamic_systemsFeedback control of_dynamic_systems
Feedback control of_dynamic_systems
karina G
 
SLAM of Multi-Robot System Considering Its Network Topology
SLAM of Multi-Robot System Considering Its Network TopologySLAM of Multi-Robot System Considering Its Network Topology
SLAM of Multi-Robot System Considering Its Network Topology
toukaigi
 
Design of a novel controller to increase the frequency response of an aerospace
Design of a novel controller to increase the frequency response of an aerospaceDesign of a novel controller to increase the frequency response of an aerospace
Design of a novel controller to increase the frequency response of an aerospace
IAEME Publication
 
Article 1
Article 1Article 1
Article 1
badreisai
 
fcs-0202.pptx
fcs-0202.pptxfcs-0202.pptx
fcs-0202.pptx
samy1604
 
Block diagrams
Block diagramsBlock diagrams
Block diagrams
lecturer in M.I.T
 
Ch.02 modeling in frequency domain
Ch.02 modeling in frequency domainCh.02 modeling in frequency domain
Ch.02 modeling in frequency domain
Nguyen_Tan_Tien
 
Circuit Network Analysis - [Chapter5] Transfer function, frequency response, ...
Circuit Network Analysis - [Chapter5] Transfer function, frequency response, ...Circuit Network Analysis - [Chapter5] Transfer function, frequency response, ...
Circuit Network Analysis - [Chapter5] Transfer function, frequency response, ...
Simen Li
 
Stability Analysis of Discrete System
Stability Analysis of Discrete SystemStability Analysis of Discrete System
Stability Analysis of Discrete System
Khalaf Gaeid Alshammery
 
Control system introduction for different application
Control system introduction for different applicationControl system introduction for different application
Control system introduction for different application
AnoopCadlord1
 
MUMS: Agent-based Modeling Workshop - Practical Bayesian Optimization for Age...
MUMS: Agent-based Modeling Workshop - Practical Bayesian Optimization for Age...MUMS: Agent-based Modeling Workshop - Practical Bayesian Optimization for Age...
MUMS: Agent-based Modeling Workshop - Practical Bayesian Optimization for Age...
The Statistical and Applied Mathematical Sciences Institute
 
Clase 02-modelado-de-sistemas-de-control (1)
Clase 02-modelado-de-sistemas-de-control (1)Clase 02-modelado-de-sistemas-de-control (1)
Clase 02-modelado-de-sistemas-de-control (1)
ronald sanchez
 
Digital Signal Processing Tutorial:Chapt 1 signal and systems
Digital Signal Processing Tutorial:Chapt 1 signal and systemsDigital Signal Processing Tutorial:Chapt 1 signal and systems
Digital Signal Processing Tutorial:Chapt 1 signal and systems
Chandrashekhar Padole
 
M03 2 Behavioral Diagrams
M03 2 Behavioral DiagramsM03 2 Behavioral Diagrams
M03 2 Behavioral Diagrams
Dang Tuan
 
Basics Of Kalman Filter And Position Estimation Of Front Wheel Automatic Stee...
Basics Of Kalman Filter And Position Estimation Of Front Wheel Automatic Stee...Basics Of Kalman Filter And Position Estimation Of Front Wheel Automatic Stee...
Basics Of Kalman Filter And Position Estimation Of Front Wheel Automatic Stee...
International Journal of Latest Research in Engineering and Technology
 
Efficient Model Partitioning for Distributed Model Transformations
Efficient Model Partitioning for Distributed Model TransformationsEfficient Model Partitioning for Distributed Model Transformations
Efficient Model Partitioning for Distributed Model Transformations
Amine Benelallam
 
Modal Analysis Basic Theory
Modal Analysis Basic TheoryModal Analysis Basic Theory
Modal Analysis Basic Theory
YuanCheng38
 

Similar to Generalized Isomorphism between Synchronous Circuits and State Machines (20)

5_2019_01_12!09_25_57_AM.ppt
5_2019_01_12!09_25_57_AM.ppt5_2019_01_12!09_25_57_AM.ppt
5_2019_01_12!09_25_57_AM.ppt
 
How to Develop Your Own Simulators for Discrete-Event Systems
How to Develop Your Own Simulators for Discrete-Event SystemsHow to Develop Your Own Simulators for Discrete-Event Systems
How to Develop Your Own Simulators for Discrete-Event Systems
 
Combinational logic circuit by umakant bhaskar gohatre
Combinational logic circuit by umakant bhaskar gohatreCombinational logic circuit by umakant bhaskar gohatre
Combinational logic circuit by umakant bhaskar gohatre
 
Feedback control of_dynamic_systems
Feedback control of_dynamic_systemsFeedback control of_dynamic_systems
Feedback control of_dynamic_systems
 
SLAM of Multi-Robot System Considering Its Network Topology
SLAM of Multi-Robot System Considering Its Network TopologySLAM of Multi-Robot System Considering Its Network Topology
SLAM of Multi-Robot System Considering Its Network Topology
 
Design of a novel controller to increase the frequency response of an aerospace
Design of a novel controller to increase the frequency response of an aerospaceDesign of a novel controller to increase the frequency response of an aerospace
Design of a novel controller to increase the frequency response of an aerospace
 
Article 1
Article 1Article 1
Article 1
 
fcs-0202.pptx
fcs-0202.pptxfcs-0202.pptx
fcs-0202.pptx
 
Block diagrams
Block diagramsBlock diagrams
Block diagrams
 
Ch.02 modeling in frequency domain
Ch.02 modeling in frequency domainCh.02 modeling in frequency domain
Ch.02 modeling in frequency domain
 
Circuit Network Analysis - [Chapter5] Transfer function, frequency response, ...
Circuit Network Analysis - [Chapter5] Transfer function, frequency response, ...Circuit Network Analysis - [Chapter5] Transfer function, frequency response, ...
Circuit Network Analysis - [Chapter5] Transfer function, frequency response, ...
 
Stability Analysis of Discrete System
Stability Analysis of Discrete SystemStability Analysis of Discrete System
Stability Analysis of Discrete System
 
Control system introduction for different application
Control system introduction for different applicationControl system introduction for different application
Control system introduction for different application
 
MUMS: Agent-based Modeling Workshop - Practical Bayesian Optimization for Age...
MUMS: Agent-based Modeling Workshop - Practical Bayesian Optimization for Age...MUMS: Agent-based Modeling Workshop - Practical Bayesian Optimization for Age...
MUMS: Agent-based Modeling Workshop - Practical Bayesian Optimization for Age...
 
Clase 02-modelado-de-sistemas-de-control (1)
Clase 02-modelado-de-sistemas-de-control (1)Clase 02-modelado-de-sistemas-de-control (1)
Clase 02-modelado-de-sistemas-de-control (1)
 
Digital Signal Processing Tutorial:Chapt 1 signal and systems
Digital Signal Processing Tutorial:Chapt 1 signal and systemsDigital Signal Processing Tutorial:Chapt 1 signal and systems
Digital Signal Processing Tutorial:Chapt 1 signal and systems
 
M03 2 Behavioral Diagrams
M03 2 Behavioral DiagramsM03 2 Behavioral Diagrams
M03 2 Behavioral Diagrams
 
Basics Of Kalman Filter And Position Estimation Of Front Wheel Automatic Stee...
Basics Of Kalman Filter And Position Estimation Of Front Wheel Automatic Stee...Basics Of Kalman Filter And Position Estimation Of Front Wheel Automatic Stee...
Basics Of Kalman Filter And Position Estimation Of Front Wheel Automatic Stee...
 
Efficient Model Partitioning for Distributed Model Transformations
Efficient Model Partitioning for Distributed Model TransformationsEfficient Model Partitioning for Distributed Model Transformations
Efficient Model Partitioning for Distributed Model Transformations
 
Modal Analysis Basic Theory
Modal Analysis Basic TheoryModal Analysis Basic Theory
Modal Analysis Basic Theory
 

More from Shunji Nishimura

Approximate-At-Most-k Encoding of SAT for Soft Constraints
Approximate-At-Most-k Encoding of SAT for Soft ConstraintsApproximate-At-Most-k Encoding of SAT for Soft Constraints
Approximate-At-Most-k Encoding of SAT for Soft Constraints
Shunji Nishimura
 
Classification of Sequential Circuits as Causal Functions
Classification of Sequential Circuits as Causal FunctionsClassification of Sequential Circuits as Causal Functions
Classification of Sequential Circuits as Causal Functions
Shunji Nishimura
 
Typing during Lectures as an Alternative for Blackboard Writing
Typing during Lectures as an Alternative for Blackboard WritingTyping during Lectures as an Alternative for Blackboard Writing
Typing during Lectures as an Alternative for Blackboard Writing
Shunji Nishimura
 
LINE Messaging APIを用いた授業中のクイズ形式問題演習
LINE Messaging APIを用いた授業中のクイズ形式問題演習LINE Messaging APIを用いた授業中のクイズ形式問題演習
LINE Messaging APIを用いた授業中のクイズ形式問題演習
Shunji Nishimura
 
Stateless Circuit Model toward a Theorem-proving Hardware Description Language
Stateless Circuit Model toward a Theorem-proving Hardware Description LanguageStateless Circuit Model toward a Theorem-proving Hardware Description Language
Stateless Circuit Model toward a Theorem-proving Hardware Description Language
Shunji Nishimura
 
Broad-sense Synchronous Circuits on Partially Ordered Time
Broad-sense Synchronous Circuits on Partially Ordered TimeBroad-sense Synchronous Circuits on Partially Ordered Time
Broad-sense Synchronous Circuits on Partially Ordered Time
Shunji Nishimura
 
同期回路の機能的定義による同期概念の形式化
同期回路の機能的定義による同期概念の形式化同期回路の機能的定義による同期概念の形式化
同期回路の機能的定義による同期概念の形式化
Shunji Nishimura
 
Theorem-proving Verification of Multi-clock Synchronous Circuits on Multimoda...
Theorem-proving Verification of Multi-clock Synchronous Circuits on Multimoda...Theorem-proving Verification of Multi-clock Synchronous Circuits on Multimoda...
Theorem-proving Verification of Multi-clock Synchronous Circuits on Multimoda...
Shunji Nishimura
 
多重様相論理による遅延依存非同期回路の形式検証体系
多重様相論理による遅延依存非同期回路の形式検証体系多重様相論理による遅延依存非同期回路の形式検証体系
多重様相論理による遅延依存非同期回路の形式検証体系
Shunji Nishimura
 
定理証明言語によるハードウェア検証
定理証明言語によるハードウェア検証定理証明言語によるハードウェア検証
定理証明言語によるハードウェア検証
Shunji Nishimura
 
タイミング制約を含んだ回路記述方式とその意味論
タイミング制約を含んだ回路記述方式とその意味論タイミング制約を含んだ回路記述方式とその意味論
タイミング制約を含んだ回路記述方式とその意味論
Shunji Nishimura
 
様相論理によるマルチクロック同期回路の形式検証体系
様相論理によるマルチクロック同期回路の形式検証体系様相論理によるマルチクロック同期回路の形式検証体系
様相論理によるマルチクロック同期回路の形式検証体系
Shunji Nishimura
 
同期回路-ステート・マシン対応の一般化
同期回路-ステート・マシン対応の一般化同期回路-ステート・マシン対応の一般化
同期回路-ステート・マシン対応の一般化
Shunji Nishimura
 
関数型言語と定理証明
関数型言語と定理証明関数型言語と定理証明
関数型言語と定理証明
Shunji Nishimura
 
Agdaで回路設計(をしたい)
Agdaで回路設計(をしたい)Agdaで回路設計(をしたい)
Agdaで回路設計(をしたい)
Shunji Nishimura
 

More from Shunji Nishimura (15)

Approximate-At-Most-k Encoding of SAT for Soft Constraints
Approximate-At-Most-k Encoding of SAT for Soft ConstraintsApproximate-At-Most-k Encoding of SAT for Soft Constraints
Approximate-At-Most-k Encoding of SAT for Soft Constraints
 
Classification of Sequential Circuits as Causal Functions
Classification of Sequential Circuits as Causal FunctionsClassification of Sequential Circuits as Causal Functions
Classification of Sequential Circuits as Causal Functions
 
Typing during Lectures as an Alternative for Blackboard Writing
Typing during Lectures as an Alternative for Blackboard WritingTyping during Lectures as an Alternative for Blackboard Writing
Typing during Lectures as an Alternative for Blackboard Writing
 
LINE Messaging APIを用いた授業中のクイズ形式問題演習
LINE Messaging APIを用いた授業中のクイズ形式問題演習LINE Messaging APIを用いた授業中のクイズ形式問題演習
LINE Messaging APIを用いた授業中のクイズ形式問題演習
 
Stateless Circuit Model toward a Theorem-proving Hardware Description Language
Stateless Circuit Model toward a Theorem-proving Hardware Description LanguageStateless Circuit Model toward a Theorem-proving Hardware Description Language
Stateless Circuit Model toward a Theorem-proving Hardware Description Language
 
Broad-sense Synchronous Circuits on Partially Ordered Time
Broad-sense Synchronous Circuits on Partially Ordered TimeBroad-sense Synchronous Circuits on Partially Ordered Time
Broad-sense Synchronous Circuits on Partially Ordered Time
 
同期回路の機能的定義による同期概念の形式化
同期回路の機能的定義による同期概念の形式化同期回路の機能的定義による同期概念の形式化
同期回路の機能的定義による同期概念の形式化
 
Theorem-proving Verification of Multi-clock Synchronous Circuits on Multimoda...
Theorem-proving Verification of Multi-clock Synchronous Circuits on Multimoda...Theorem-proving Verification of Multi-clock Synchronous Circuits on Multimoda...
Theorem-proving Verification of Multi-clock Synchronous Circuits on Multimoda...
 
多重様相論理による遅延依存非同期回路の形式検証体系
多重様相論理による遅延依存非同期回路の形式検証体系多重様相論理による遅延依存非同期回路の形式検証体系
多重様相論理による遅延依存非同期回路の形式検証体系
 
定理証明言語によるハードウェア検証
定理証明言語によるハードウェア検証定理証明言語によるハードウェア検証
定理証明言語によるハードウェア検証
 
タイミング制約を含んだ回路記述方式とその意味論
タイミング制約を含んだ回路記述方式とその意味論タイミング制約を含んだ回路記述方式とその意味論
タイミング制約を含んだ回路記述方式とその意味論
 
様相論理によるマルチクロック同期回路の形式検証体系
様相論理によるマルチクロック同期回路の形式検証体系様相論理によるマルチクロック同期回路の形式検証体系
様相論理によるマルチクロック同期回路の形式検証体系
 
同期回路-ステート・マシン対応の一般化
同期回路-ステート・マシン対応の一般化同期回路-ステート・マシン対応の一般化
同期回路-ステート・マシン対応の一般化
 
関数型言語と定理証明
関数型言語と定理証明関数型言語と定理証明
関数型言語と定理証明
 
Agdaで回路設計(をしたい)
Agdaで回路設計(をしたい)Agdaで回路設計(をしたい)
Agdaで回路設計(をしたい)
 

Recently uploaded

Properties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptxProperties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptx
MDSABBIROJJAMANPAYEL
 
Casting-Defect-inSlab continuous casting.pdf
Casting-Defect-inSlab continuous casting.pdfCasting-Defect-inSlab continuous casting.pdf
Casting-Defect-inSlab continuous casting.pdf
zubairahmad848137
 
132/33KV substation case study Presentation
132/33KV substation case study Presentation132/33KV substation case study Presentation
132/33KV substation case study Presentation
kandramariana6
 
International Conference on NLP, Artificial Intelligence, Machine Learning an...
International Conference on NLP, Artificial Intelligence, Machine Learning an...International Conference on NLP, Artificial Intelligence, Machine Learning an...
International Conference on NLP, Artificial Intelligence, Machine Learning an...
gerogepatton
 
Generative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of contentGenerative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of content
Hitesh Mohapatra
 
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdfBPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
MIGUELANGEL966976
 
Comparative analysis between traditional aquaponics and reconstructed aquapon...
Comparative analysis between traditional aquaponics and reconstructed aquapon...Comparative analysis between traditional aquaponics and reconstructed aquapon...
Comparative analysis between traditional aquaponics and reconstructed aquapon...
bijceesjournal
 
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECTCHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
jpsjournal1
 
ISPM 15 Heat Treated Wood Stamps and why your shipping must have one
ISPM 15 Heat Treated Wood Stamps and why your shipping must have oneISPM 15 Heat Treated Wood Stamps and why your shipping must have one
ISPM 15 Heat Treated Wood Stamps and why your shipping must have one
Las Vegas Warehouse
 
Manufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptxManufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptx
Madan Karki
 
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
IJECEIAES
 
Iron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdf
Iron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdfIron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdf
Iron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdf
RadiNasr
 
Computational Engineering IITH Presentation
Computational Engineering IITH PresentationComputational Engineering IITH Presentation
Computational Engineering IITH Presentation
co23btech11018
 
Eric Nizeyimana's document 2006 from gicumbi to ttc nyamata handball play
Eric Nizeyimana's document 2006 from gicumbi to ttc nyamata handball playEric Nizeyimana's document 2006 from gicumbi to ttc nyamata handball play
Eric Nizeyimana's document 2006 from gicumbi to ttc nyamata handball play
enizeyimana36
 
官方认证美国密歇根州立大学毕业证学位证书原版一模一样
官方认证美国密歇根州立大学毕业证学位证书原版一模一样官方认证美国密歇根州立大学毕业证学位证书原版一模一样
官方认证美国密歇根州立大学毕业证学位证书原版一模一样
171ticu
 
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student MemberIEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
VICTOR MAESTRE RAMIREZ
 
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
Yasser Mahgoub
 
Understanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine LearningUnderstanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine Learning
SUTEJAS
 
Recycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part IIIRecycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part III
Aditya Rajan Patra
 
Modelagem de um CSTR com reação endotermica.pdf
Modelagem de um CSTR com reação endotermica.pdfModelagem de um CSTR com reação endotermica.pdf
Modelagem de um CSTR com reação endotermica.pdf
camseq
 

Recently uploaded (20)

Properties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptxProperties Railway Sleepers and Test.pptx
Properties Railway Sleepers and Test.pptx
 
Casting-Defect-inSlab continuous casting.pdf
Casting-Defect-inSlab continuous casting.pdfCasting-Defect-inSlab continuous casting.pdf
Casting-Defect-inSlab continuous casting.pdf
 
132/33KV substation case study Presentation
132/33KV substation case study Presentation132/33KV substation case study Presentation
132/33KV substation case study Presentation
 
International Conference on NLP, Artificial Intelligence, Machine Learning an...
International Conference on NLP, Artificial Intelligence, Machine Learning an...International Conference on NLP, Artificial Intelligence, Machine Learning an...
International Conference on NLP, Artificial Intelligence, Machine Learning an...
 
Generative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of contentGenerative AI leverages algorithms to create various forms of content
Generative AI leverages algorithms to create various forms of content
 
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdfBPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
BPV-GUI-01-Guide-for-ASME-Review-Teams-(General)-10-10-2023.pdf
 
Comparative analysis between traditional aquaponics and reconstructed aquapon...
Comparative analysis between traditional aquaponics and reconstructed aquapon...Comparative analysis between traditional aquaponics and reconstructed aquapon...
Comparative analysis between traditional aquaponics and reconstructed aquapon...
 
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECTCHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
CHINA’S GEO-ECONOMIC OUTREACH IN CENTRAL ASIAN COUNTRIES AND FUTURE PROSPECT
 
ISPM 15 Heat Treated Wood Stamps and why your shipping must have one
ISPM 15 Heat Treated Wood Stamps and why your shipping must have oneISPM 15 Heat Treated Wood Stamps and why your shipping must have one
ISPM 15 Heat Treated Wood Stamps and why your shipping must have one
 
Manufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptxManufacturing Process of molasses based distillery ppt.pptx
Manufacturing Process of molasses based distillery ppt.pptx
 
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
Electric vehicle and photovoltaic advanced roles in enhancing the financial p...
 
Iron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdf
Iron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdfIron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdf
Iron and Steel Technology Roadmap - Towards more sustainable steelmaking.pdf
 
Computational Engineering IITH Presentation
Computational Engineering IITH PresentationComputational Engineering IITH Presentation
Computational Engineering IITH Presentation
 
Eric Nizeyimana's document 2006 from gicumbi to ttc nyamata handball play
Eric Nizeyimana's document 2006 from gicumbi to ttc nyamata handball playEric Nizeyimana's document 2006 from gicumbi to ttc nyamata handball play
Eric Nizeyimana's document 2006 from gicumbi to ttc nyamata handball play
 
官方认证美国密歇根州立大学毕业证学位证书原版一模一样
官方认证美国密歇根州立大学毕业证学位证书原版一模一样官方认证美国密歇根州立大学毕业证学位证书原版一模一样
官方认证美国密歇根州立大学毕业证学位证书原版一模一样
 
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student MemberIEEE Aerospace and Electronic Systems Society as a Graduate Student Member
IEEE Aerospace and Electronic Systems Society as a Graduate Student Member
 
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
2008 BUILDING CONSTRUCTION Illustrated - Ching Chapter 02 The Building.pdf
 
Understanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine LearningUnderstanding Inductive Bias in Machine Learning
Understanding Inductive Bias in Machine Learning
 
Recycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part IIIRecycled Concrete Aggregate in Construction Part III
Recycled Concrete Aggregate in Construction Part III
 
Modelagem de um CSTR com reação endotermica.pdf
Modelagem de um CSTR com reação endotermica.pdfModelagem de um CSTR com reação endotermica.pdf
Modelagem de um CSTR com reação endotermica.pdf
 

Generalized Isomorphism between Synchronous Circuits and State Machines

  • 1. Generalized Isomorphism between Synchronous Circuits and State Machines Shunji Nishimura July 1, 2015 ITC-CSCC
  • 2. 2 Motivation Category theory Great successes in software science ex. programming semantics (modeling) might be in hardware object object object
  • 3. 3 Known isomorphism f D-FlipFlop synchronous circuit and state machine Low LowHigh D-FF f next equaldiscrete sampling circuit SM
  • 4. 4 (part of) Our isomorphism D-Latch synchronous circuit and state machine a0 a1 a2 a3 a0 a1 a2 a3 f D-Latch f next equal circuit SM time structure transformation
  • 5. Agenda (0) Modeling on category theory (1) Evaluation operator (2) Comprehensive Latches (3) Transformation of time structure (1) (2) (3)
  • 6. 6 Category: signal as: Modeling on category [1/3] object object object signal value signal value signal value time as: time point time point time point
  • 7. 7 A B SS := functor A × S → B × SA circuit: An evaluation pattern := functor time T → signal A Modeling on category [2/3] category A functor category B Functor: mapping between categories
  • 8. Natural transformation: mapping between functors 8 Modeling on category [3/3] category Natural transformation category functor F functor G will be used for our transformation of time structure.
  • 9. (Agenda) (0) Modeling on category theory (1) Evaluation operator (2) Comprehensive Latches (3) Transformation of time structure (1) (2) (3)
  • 10. 10 Evaluation operator [1/3] A A×S T B B×S a f a ▷ f f A B SS time evaluation result Define operator ▷ which determines evaluation results. evaluation pattern circuit = a ▷ fviz. a
  • 11. Time (= category) for evaluation Encountering problem Intend to : (transit t0 → t1 → t2), but in fact : (exists t0 → t2). 11 : non-deterministic branching t0 t1 t2 t0 t1 t2 compositon Evaluation operator [2/3] : joining together Consider time structure τ of time T as: τ ⊂ { morphisms of T } a ▷ f τ
  • 12. 12 τ τ t0 t1 f s0 fs0 = f next = f state machine combinational circuit Evaluation operator [3/3] Similar to the state machine evaluation  To imitate logic simulation, iterative calculation is described by identity morphism.
  • 13. (Agenda) (0) Modeling on category theory (1) Evaluation operator (2) Comprehensive Latches (3) Transformation of time structure (1) (2) (3)
  • 14. 14 ? Comprehensive Latches [1/2] order reversal of previous/current signal rejected accepted aim to build the most general latches/FFs rejected accepted τ redundant (premised on ) corresponding to enable state of D-Latchs corresponding to disable state of D-Latchs
  • 15. 15 C A A A A A 1 2 n Comprehensive Latch : (C×A)×An → A×An = C×An+1 → An+1 input state output state Comprehensive Latches [2/2] Definiton: serial connection of (function to) the previous units
  • 16. (Agenda) (0) Modeling on category theory (1) Evaluation operator (2) Comprehensive Latches (3) Transformation of time structure (1) (2) (3)
  • 17. 17 Transformation of time structure [1/2] C×Tn+1 T T (clock) ck ρ id(identity) C×T Tn+1 ck×id ▷ ρ τ comprehensive latch τ: time structure ρ: T T (Natural transformation) id Renewed time structure is defined as:
  • 18. 18 t0 ck τ (Low enable) = ρ= = = ex. τ = t1 t2 t3 t4 t5 t6 t0 t0 t0 t3 t4 t4 t4 t0 t1 t2 t3 t4 t5 t6 D-Latch throughkeep =( id ) ∴ Transformation of time structure [2/2] ck×id ▷ρ natural transformation
  • 19. 19 Theorem: isomorphism [1/2] ρ synchronous circuit and state machine (ρ: comprehensive latch) f f next equaltime structure transformation ρ a0 a1 a2 τ = = ck pattern = a0 a1 a2 = =pattern along with along with
  • 20. The two functors in the center are the same. 20 C×A×Sn+1 T B B×Sn+1 clock ck fρ a A A×S B×S = evaluation pattern circuit f f ρ C A S Sn B S Sn ck×a ▷ fρ τ a ▷ fa comprehensive latch τ: time structure ρ: Theorem: isomorphism [2/2] C×A
  • 21. 21 Conclusion Generalized theory was acquired using category theory. A common modeling of circuits and state machines is presented. A generalized concept of latches/FFs is also presented. A state machine corresponding to a D- Latch synchronous circuit is available.