From 002c0a1b686a60b5767fcbf229a2f7f2d4094e23 Mon Sep 17 00:00:00 2001 From: Marcel Jung Date: Wed, 11 Mar 2026 18:26:11 +0100 Subject: [PATCH] fix: use the 'b prefix when writing a generic FABulous BEL to FASM, so the value is correctly interpreted in further steps --- generic/viaduct/fabulous/fasm.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/generic/viaduct/fabulous/fasm.cc b/generic/viaduct/fabulous/fasm.cc index 52f9bfe1..642b2bec 100644 --- a/generic/viaduct/fabulous/fasm.cc +++ b/generic/viaduct/fabulous/fasm.cc @@ -219,7 +219,7 @@ struct FabFasmWriter } else { // vector type parameter int msb = int(param.second.str.size()) - 1; - out << prefix << param.first.c_str(ctx) << "[" << msb << ":0] = "; + out << prefix << param.first.c_str(ctx) << "[" << msb << ":0] = 'b"; for (auto bit : boost::adaptors::reverse(param.second.str)) out << bit; out << std::endl;