Skip to content

Commit 895d5cf

Browse files
authored
Merge pull request #264 from pathsim/feature/new-blocks
Add new pathsim blocks: Divider, logic, Atan2, Rescale, Alias
2 parents 5db1ce8 + f994577 commit 895d5cf

File tree

6 files changed

+199
-6
lines changed

6 files changed

+199
-6
lines changed

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)