-
Notifications
You must be signed in to change notification settings - Fork 3
Topology Input
This page describes the topology input read by FPL.
FPL reads a table of connections in the following format:
-
For the first connection, six non-blank lines specifying the elements of the connection. The lines contain the following:
-
Line 1: The name of the instance from which the connection extends
-
Line 2: The name of the port array from which the connection extends
-
Line 3 The port number from which the connection extends
-
Line 4: The name of the instance to which the connection goes
-
Line 5: The name of the port array to which the connection goes
-
Line 6: The port number to which the connection goes
-
-
For each of the second and following connections, a blank line and then six lines in the format described in item 1.
Here is an example:
A out 0 B in 0 A out 1 C in 0
There are two connections. In the FPP modeling language, you would write these connections as follows:
A.out[0] -> B.in[0] A.out[1] -> C.in[0]
Here is what the output of fpl-write-eps
looks like on this example:
To generate an FPL topology from an F Prime XML topology, you can run the following tools:
-
fpl-extract-xml
to extract a list of connections from the XML topology specification. -
fpl-convert-xml
to convert the list of connections to this format.