From 7b27f0f112f1ec509d36a7ea7b1ecfc3f4238dfb Mon Sep 17 00:00:00 2001 From: saji Date: Sat, 4 May 2024 16:30:08 -0500 Subject: [PATCH] fix comb bug in registered --- compiler/src/fitter.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/compiler/src/fitter.rs b/compiler/src/fitter.rs index a2db6fc..3145ab8 100644 --- a/compiler/src/fitter.rs +++ b/compiler/src/fitter.rs @@ -334,7 +334,9 @@ pub fn graph_convert(graph: &Graph, pcf: PcfFile, chip: Chip) -> anyhow::Result< let pinmode = if o.parameters.registered { PinMode::Registered } else { - PinMode::Combinatorial + // Tristate mode is "combinational" in the chipwide reg mode. + // Comb mode is only supported in simple mode + PinMode::Tristate }; debug!( "Setting base for olmc outpin: {:?}, pinmode: {:?}",