Skip to content

Commit 18f61ff

Browse files
committed
fix: look for the correct pd receiving remaining untypeds
Signed-off-by: Terry Bai <terry.z.bai@gmail.com>
1 parent fcce0c5 commit 18f61ff

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tool/microkit/src/sdf.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1760,7 +1760,7 @@ pub fn parse(filename: &str, xml: &str, config: &Config) -> Result<SystemDescrip
17601760
return Err(
17611761
"Error: only one PD can receive the remaining untypeds (Map the MR with 'receive_all_untypeds' set to true)".to_string()
17621762
);
1763-
} else {
1763+
} else if mr.receive_all_untypeds {
17641764
pd_has_remaining_untypeds = true;
17651765
pd_receive_all_untypeds_idx = idx;
17661766
}

0 commit comments

Comments
 (0)