assign datapath graph to all submodules