When trying to compile an XDF network to Verilog with Xronos, where one node in the network is itself and XDF network of actors, the compiler complains:
7:32:03 PM: Compiling instance: nested_actor1 (9/14)
7:32:03 PM SEVERE: - failed to compile: NullPointerException, null
7:32:03 PM SEVERE: -------------------------------------------------------------------------------
7:32:03 PM SEVERE: NOTE: 1 actor failed to compile
7:32:03 PM SEVERE: -------------------------------------------------------------------------------
Given that Xronos uses the NetworkFlattener transform before network generation on line 135, this is surprising.
That said, I've inspected buildLim in DesignEngine on line 96 when Orcc fails to generate Verilog for nested_actor1. The global network variable is null, so the design variable is not assigned to with networkToDesign.buildDesign(), hence the NullPointerException above as design is returned as null on line 141.
Is it assumed that Xronos does not support nested networks? Or, should I be using it differently to coerce its nested network support?