Skip to content

Commit 286ffc8

Browse files
committed
updated documentation
1 parent ef8bc49 commit 286ffc8

11 files changed

+43
-6
lines changed

include/hal_core/doxy_groups.h

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,10 +33,15 @@
3333
*/
3434

3535
/**
36-
* @defgroup pins Pins
36+
* @defgroup decorators Decorators
3737
* @ingroup core
3838
*/
3939

40+
/**
41+
* @defgroup pins Pins
42+
* @ingroup netlist
43+
*/
44+
4045
/**
4146
* @defgroup netlist_parser Netlist Parser
4247
* @ingroup netlist

include/hal_core/netlist/decorators/boolean_function_decorator.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,11 @@
3333

3434
namespace hal
3535
{
36+
/**
37+
* A Boolean function decorator that provides functionality to operate on the associated Boolean function.
38+
*
39+
* @ingroup decorators
40+
*/
3641
class NETLIST_API BooleanFunctionDecorator
3742
{
3843
public:

include/hal_core/netlist/decorators/boolean_function_net_decorator.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,11 @@
3131

3232
namespace hal
3333
{
34+
/**
35+
* A net decorator that provides functionality to translate between nets and Boolean function variables.
36+
*
37+
* @ingroup decorators
38+
*/
3439
class NETLIST_API BooleanFunctionNetDecorator
3540
{
3641
public:

include/hal_core/netlist/decorators/netlist_modification_decorator.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,11 @@
3232

3333
namespace hal
3434
{
35+
/**
36+
* A netlist decorator that provides functionality to modify the associated netlist.
37+
*
38+
* @ingroup decorators
39+
*/
3540
class NETLIST_API NetlistModificationDecorator
3641
{
3742
public:

include/hal_core/netlist/decorators/netlist_traversal_decorator.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,11 @@
3131

3232
namespace hal
3333
{
34+
/**
35+
* A netlist decorator that provides functionality to traverse the associated netlist without making any modifications.
36+
*
37+
* @ingroup decorators
38+
*/
3439
class NETLIST_API NetlistTraversalDecorator
3540
{
3641
public:

include/hal_core/netlist/decorators/subgraph_netlist_decorator.h

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,11 @@
3333

3434
namespace hal
3535
{
36+
/**
37+
* A netlist decorator that operates on an existing subgraph of the associated netlist to, e.g., copy the subgraph as a new netlist object or compute a Boolean function describing the subgraph.
38+
*
39+
* @ingroup decorators
40+
*/
3641
class NETLIST_API SubgraphNetlistDecorator
3742
{
3843
public:

src/python_bindings/bindings/boolean_function_decorator.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ namespace hal
44
{
55
void boolean_function_decorator_init(py::module& m)
66
{
7-
py::class_<BooleanFunctionDecorator> py_boolean_function_decorator(m, "BooleanFunctionDecorator", R"()");
7+
py::class_<BooleanFunctionDecorator> py_boolean_function_decorator(
8+
m, "BooleanFunctionDecorator", R"(A Boolean function decorator that provides functionality to operate on the associated Boolean function.)");
89

910
py_boolean_function_decorator.def(py::init<const BooleanFunction&>(), py::arg("bf"), R"(
1011
Construct new BooleanFunctionDecorator object.

src/python_bindings/bindings/boolean_function_net_decorator.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ namespace hal
44
{
55
void boolean_function_net_decorator_init(py::module& m)
66
{
7-
py::class_<BooleanFunctionNetDecorator> py_boolean_function_net_decorator(m, "BooleanFunctionNetDecorator", R"()");
7+
py::class_<BooleanFunctionNetDecorator> py_boolean_function_net_decorator(
8+
m, "BooleanFunctionNetDecorator", R"(A net decorator that provides functionality to translate between nets and Boolean function variables.)");
89

910
py_boolean_function_net_decorator.def(py::init<const Net&>(), py::arg("net"), R"(
1011
Construct new BooleanFunctionNetDecorator object.

src/python_bindings/bindings/netlist_modification_decorator.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ namespace hal
44
{
55
void netlist_modification_decorator_init(py::module& m)
66
{
7-
py::class_<NetlistModificationDecorator> py_netlist_modification_decorator(m, "NetlistModificationDecorator", R"()");
7+
py::class_<NetlistModificationDecorator> py_netlist_modification_decorator(
8+
m, "NetlistModificationDecorator", R"(A netlist decorator that provides functionality to modify the associated netlist.)");
89

910
py_netlist_modification_decorator.def(py::init<Netlist&>(), py::arg("netlist"), R"(
1011
Construct new NetlistModificationDecorator object.

src/python_bindings/bindings/netlist_traversal_decorator.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@ namespace hal
44
{
55
void netlist_traversal_decorator_init(py::module& m)
66
{
7-
py::class_<NetlistTraversalDecorator> py_netlist_traversal_decorator(m, "NetlistTraversalDecorator", R"()");
7+
py::class_<NetlistTraversalDecorator> py_netlist_traversal_decorator(
8+
m, "NetlistTraversalDecorator", R"(A netlist decorator that provides functionality to traverse the associated netlist without making any modifications.)");
89

910
py_netlist_traversal_decorator.def(py::init<Netlist&>(), py::arg("netlist"), R"(
1011
Construct new NetlistTraversalDecorator object.

src/python_bindings/bindings/subgraph_netlist_decorator.cpp

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,10 @@ namespace hal
66
{
77
void subgraph_netlist_decorator_init(py::module& m)
88
{
9-
py::class_<SubgraphNetlistDecorator> py_subgraph_netlist_decorator(m, "SubgraphNetlistDecorator", R"()");
9+
py::class_<SubgraphNetlistDecorator> py_subgraph_netlist_decorator(
10+
m,
11+
"SubgraphNetlistDecorator",
12+
R"(A netlist decorator that operates on an existing subgraph of the associated netlist to, e.g., copy the subgraph as a new netlist object or compute a Boolean function describing the subgraph.)");
1013

1114
py_subgraph_netlist_decorator.def(py::init<const Netlist&>(), py::arg("netlist"), R"(
1215
Construct new SubgraphNetlistDecorator object.

0 commit comments

Comments
 (0)