You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It would be fairly difficult to add support for DDF. The way to do it would be to mirror the classes used by the SDF facility and update them for DDF. For example
and
ptolemy/cg/adapter/generic/program/procedural/c/adapters/ptolemy/domains/sdf/kernel/SDFDirector.java
would be used to create
ptolemy/cg/adapter/generic/program/procedural/c/adapters/ptolemy/domains/ddf/kernel/DDFDirector.java
DDF-specific actors would go in
ptolemy/cg/adapter/generic/program/procedural/adapters/ptolemy/domains/ddf/lib/
and
ptolemy/cg/adapter/generic/program/procedural/c/adapters/ptolemy/domains/ddf/lib
Probably the easiest way to do this would be to
create a small SDF model
generate C code for it
modify the SDF model to use the DDF director and a DDF actor or two
Modify the C code by hand to support DDF.
Modify the DDF code generator to generate DDF code based on the small DDF model
How to generate DDF C/ Java code? (Use CCodeGenerator/ JavaCodeGenerator)
Or, how to modify the SDF code to support DDF Director?
The text was updated successfully, but these errors were encountered: