fix comb bug in registered

This commit is contained in:
saji 2024-05-04 16:30:08 -05:00
parent b10e261681
commit 7b27f0f112

View file

@ -334,7 +334,9 @@ pub fn graph_convert(graph: &Graph, pcf: PcfFile, chip: Chip) -> anyhow::Result<
let pinmode = if o.parameters.registered { let pinmode = if o.parameters.registered {
PinMode::Registered PinMode::Registered
} else { } else {
PinMode::Combinatorial // Tristate mode is "combinational" in the chipwide reg mode.
// Comb mode is only supported in simple mode
PinMode::Tristate
}; };
debug!( debug!(
"Setting base for olmc outpin: {:?}, pinmode: {:?}", "Setting base for olmc outpin: {:?}, pinmode: {:?}",