mirror of
https://github.com/annoyatron255/yosys4gal.git
synced 2024-12-22 18:52:23 +00:00
fix comb bug in registered
This commit is contained in:
parent
b10e261681
commit
7b27f0f112
|
@ -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: {:?}",
|
||||||
|
|
Loading…
Reference in a new issue