pub fn mcast_corners(
p: &SpatialProgram,
site: Site,
operand: Operand,
noc: u8,
) -> Result<((u16, u16), (u16, u16)), SpatialLowerError>Expand description
The multicast rectangle of a site’s receivers for operand, as (start, end) corners for a kernel on
noc: NOC 0 travels toward larger coordinates and takes the near corner first; NOC 1 travels the other
way and takes the far corner first (the vendor’s right → left+1, bottom → top+1). The simulator refuses
a rectangle given against its NOC’s direction.