fix: use the 'b prefix when writing a generic FABulous BEL to FASM, so the value is correctly interpreted in further steps

This commit is contained in:
Marcel Jung 2026-03-11 18:26:11 +01:00 committed by myrtle
parent 84856bd669
commit 002c0a1b68
1 changed files with 1 additions and 1 deletions

View File

@ -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;