or20190411 write_path_spice with no voltage_map, pg_pins

This commit is contained in:
James Cherry
2019-04-13 15:01:14 -07:00
parent 2d519b4740
commit 4fc8801e76
4 changed files with 85 additions and 69 deletions
+2 -2
View File
@@ -2473,9 +2473,9 @@ LibertyReader::visitClockGatingIntegratedCell(LibertyAttr *attr)
if (cell_) {
const char *clock_gate_type = getAttrString(attr);
if (clock_gate_type) {
if (stringBeginEq(clock_gate_type, "latch_posedge"))
if (stringBeginEqual(clock_gate_type, "latch_posedge"))
cell_->setClockGateType(ClockGateType::latch_posedge);
else if (stringBeginEq(clock_gate_type, "latch_negedge"))
else if (stringBeginEqual(clock_gate_type, "latch_negedge"))
cell_->setClockGateType(ClockGateType::latch_negedge);
else
cell_->setClockGateType(ClockGateType::other);