to the submodule.
PartitionedAssign can then detect this and alter the conditions to
LHS *before* PartitionedCat.elaborate() is called
it was already established in commit
494757caa1f that the elaborates
are all called later
modcount += 1
pc = PartitionedCat(arglist, ctx)
setattr(m.submodules, "pcat%d" % modcount, pc)
+ # add terrible hack back-link to be able to access PartitionedCat
+ # in PartitionedAssign https://bugs.libre-soc.org/show_bug.cgi?id=731#c13
+ pc.output.__hack_submodule = pc # blegh!
return pc.output