mirror of
https://github.com/The-OpenROAD-Project/OpenSTA.git
synced 2026-09-03 16:29:50 +02:00
LibertyWriter::writeBusDcls() resolves #436
Signed-off-by: James Cherry <[email protected]>
This commit is contained in:
@@ -275,7 +275,7 @@ LibertyWriter::writeBusDcls()
|
||||
sta::print(stream_, " type (\"{}\") {{\n", dcl->name());
|
||||
sta::print(stream_, " base_type : array;\n");
|
||||
sta::print(stream_, " data_type : bit;\n");
|
||||
sta::print(stream_, " bit_width : {};\n", std::abs(dcl->from() - dcl->to() + 1));
|
||||
sta::print(stream_, " bit_width : {};\n", std::abs(dcl->from() - dcl->to()) + 1);
|
||||
sta::print(stream_, " bit_from : {};\n", dcl->from());
|
||||
sta::print(stream_, " bit_to : {};\n", dcl->to());
|
||||
sta::print(stream_, " }}\n");
|
||||
|
||||
Reference in New Issue
Block a user