Format

module [MPATH] add [type] "flags"

[type] is a known interface type. flags surrownded by quotes provide additional required information.

Command add modifies the module's .json file by inserting an entry containing the [type] and the additional information. Then, it invokes command update.

Usage

For a hello_world example, to which we want to add a 64-bit input STAvln called in_1, the usage is:

$ module hello_world add STAvln "-n in_1 -d IN -w 64"

Check the interfaces section of pihdf for examples of how to add a known interface.