-
Notifications
You must be signed in to change notification settings - Fork 14
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Signed-off-by: Markus Klotzbuecher <mk@mkio.de>
- Loading branch information
Showing
7 changed files
with
80 additions
and
51 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
Module math_double | ||
------------------ | ||
|
||
Block math_double | ||
^^^^^^^^^^^^^^^^^ | ||
|
||
| **Type**: cblock | ||
| **Attributes**: | ||
| **Meta-data**: { doc='mathmetric function block', realtime=true,} | ||
| **License**: BSD-3-Clause | ||
|
||
Configs | ||
""""""" | ||
|
||
.. csv-table:: | ||
:header: "name", "type", "doc" | ||
|
||
func, ``char``, "math function to compute" | ||
data_len, ``long``, "length of output data (def: 1)" | ||
mul, ``double``, "optional factor to apply to result of func (def: 1)" | ||
add, ``double``, "optional offset to apply to result of func (def: 0)" | ||
|
||
|
||
|
||
Ports | ||
""""" | ||
|
||
.. csv-table:: | ||
:header: "name", "out type", "out len", "in type", "in len", "doc" | ||
|
||
x, , , ``double``, 1, "math input" | ||
y, ``double``, 1, , , "math output" | ||
|
||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
Module rand_double | ||
------------------ | ||
|
||
Block rand_double | ||
^^^^^^^^^^^^^^^^^ | ||
|
||
| **Type**: cblock | ||
| **Attributes**: | ||
| **Meta-data**: { doc='double random number generator block', realtime=true,} | ||
| **License**: BSD-3-Clause | ||
|
||
Configs | ||
""""""" | ||
|
||
.. csv-table:: | ||
:header: "name", "type", "doc" | ||
|
||
seed, ``long``, "seed to initialize with" | ||
|
||
|
||
|
||
Ports | ||
""""" | ||
|
||
.. csv-table:: | ||
:header: "name", "out type", "out len", "in type", "in len", "doc" | ||
|
||
out, ``double``, 1, , , "rand generator output" | ||
|
||
|
||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters