@@ -9,48 +9,51 @@ parent: Functions & Validation Rules
9
9
10
10
## Is Valid
11
11
12
- - isValid: system $ \rightarrow$ Bool
12
+ - $$ \text{ isValid}: \text{ system} \rightarrow \text{ Bool} $$
13
13
14
14
## Is Directed
15
15
16
- - isDirected: system $ \rightarrow$ Bool
16
+ - $$ \text{ isDirected}: \text{ system} \rightarrow \text{ Bool} $$
17
17
18
18
## Is Connected
19
19
20
- - isConnected: system $ \rightarrow$ Bool
20
+ - $$ \text{ isConnected}: \text{ system} \rightarrow \text{ Bool} $$
21
21
22
22
## Is Dynamical
23
23
24
- - isDynamical: system $ \rightarrow$ Bool
24
+ - $$ \text{ isDynamical}: \text{ system} \rightarrow \text{ Bool} $$
25
25
26
26
## Get Open Ports
27
27
28
- - getOpenPorts: system $ \rightarrow$ List[ Terminal] = List[ \{ Processor, Index, Type\} ]
28
+ - $$ \text{ getOpenPorts}: \text{ system} \rightarrow \text{ List[Terminal]} = \text{ List} [\{\text{ Processor, Index, Type} \}]$$
29
29
30
30
## Get Available Terminals
31
31
32
- - getAvailableTerminals: system $ \rightarrow$ List[ Terminal] = List[ \{ Processor, Index, Type\} ]
32
+ - $$ \text{ getAvailableTerminals}: \text{ system} \rightarrow \text{ List[Terminal]} = \text{ List} [\{\text{ Processor, Index, Type} \}]$$
33
33
34
34
## Get Connected Components
35
35
36
- - getConnectedComponents: $$ \text{system} \rightarrow \text{List[System]} $$
36
+ - $$ \text{ getConnectedComponents}: \text{system} \rightarrow \text{List[System]}$$
37
37
38
38
## Get Subsystems
39
39
40
- - getSubsystems: system $\rightarrow$ List[ Processor] (subset of the processor list which isSubsystem)
40
+ - $$ \text{getSubsystems}: \text{system} \rightarrow \text{List[Processor]} $$
41
+ (subset of the processor list which isSubsystem)
41
42
42
43
## Get Hierarchy
43
44
44
- - getHierarchy: system $\rightarrow$ NestedDict (primitive processors are leaves in this tree)
45
+ - $$ \text{getHierarchy}: \text{system} \rightarrow \text{NestedDict} $$
46
+ (primitive processors are leaves in this tree)
45
47
46
48
## Get Spaces
47
49
48
- - getSpaces: system $ \rightarrow$ List[ Space]
50
+ - $$ \text{ getSpaces}: \text{ system} \rightarrow \text{ List[Space]} $$
49
51
50
52
## Make Processor
51
53
52
- - makeProcessor: system x block x List[ wires] $ \rightarrow$ Processor
54
+ - $$ \text{ makeProcessor}: \text{ system} \times \text{ block} \times \text{ List[wires]} \rightarrow \text{ Processor} $$
53
55
54
56
## Lazy Make Processor
55
57
56
- - Imp: system $\rightarrow$ Processor (aka "lazy make processor)
58
+ - $$ \text{Imp}: \text{system} \rightarrow \text{Processor} $$
59
+ (aka "lazy make processor")
0 commit comments