3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2026-07-15 03:35:40 +00:00
This commit is contained in:
Emil J. Tywoniak 2026-06-12 00:18:53 +02:00
parent afdae7b87e
commit c3ffbf6fae
229 changed files with 3902 additions and 3835 deletions

View file

@ -537,8 +537,8 @@ DriverMap::BitMode DriverMap::bit_mode(DriveBit const &bit)
}
case DriveType::PORT: {
auto const &port = bit.port();
bool driver = celltypes.cell_output(port.cell->type, port.port);
bool driven = celltypes.cell_input(port.cell->type, port.port);
bool driver = celltypes.cell_output(port.cell->type.ref(), port.port);
bool driven = celltypes.cell_input(port.cell->type.ref(), port.port);
if (driver && !driven)
return BitMode::DRIVER;
else if (driven && !driver)
@ -866,7 +866,7 @@ DriveSpec DriverMap::operator()(DriveSpec spec)
std::string log_signal(DriveChunkWire const &chunk)
{
std::string id = chunk.wire->name.unescape();
std::string id = design->twines.unescaped_str(chunk.wire->name);
if (chunk.is_whole())
return id;
if (chunk.width == 1)