Skip to content

Commit 7b72ee6

Browse files
committed
Add new pathsim blocks: Divider, logic ops, Atan2, Rescale, Alias
1 parent 5db1ce8 commit 7b72ee6

6 files changed

Lines changed: 196 additions & 6 deletions

File tree

scripts/config/pathsim/blocks.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@
4646
"Algebraic": [
4747
"Adder",
4848
"Multiplier",
49+
"Divider",
4950
"Amplifier",
5051
"Function",
5152
"Sin",
@@ -60,11 +61,23 @@
6061
"Mod",
6162
"Clip",
6263
"Pow",
64+
"Atan2",
65+
"Rescale",
66+
"Alias",
6367
"Switch",
6468
"LUT",
6569
"LUT1D"
6670
],
6771

72+
"Logic": [
73+
"GreaterThan",
74+
"LessThan",
75+
"Equal",
76+
"LogicAnd",
77+
"LogicOr",
78+
"LogicNot"
79+
],
80+
6881
"Mixed": [
6982
"SampleHold",
7083
"FIR",

src/lib/constants/python.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ export const BLOCK_CATEGORY_ORDER: string[] = [
2828
'Sources',
2929
'Dynamic',
3030
'Algebraic',
31+
'Logic',
3132
'Mixed',
3233
'Recording',
3334
'Subsystem'

0 commit comments

Comments
 (0)