mirror of
https://github.com/The-OpenROAD-Project/OpenSTA.git
synced 2026-08-22 14:06:56 +02:00
Fix isBuffer (#329)
* Add support for "well" direction type (nwell, pwell, etc.), and fix isBuffer (+ other functions) to accommodate wells * Just fix isBuffer issue
This commit is contained in:
+2
-1
@@ -1226,7 +1226,8 @@ LibertyCell::bufferPorts(// Return values.
|
|||||||
}
|
}
|
||||||
output = port;
|
output = port;
|
||||||
}
|
}
|
||||||
else if (!dir->isPowerGround()) {
|
else if (!port->isPwrGnd()) {
|
||||||
|
// Invalid direction.
|
||||||
input = nullptr;
|
input = nullptr;
|
||||||
output = nullptr;
|
output = nullptr;
|
||||||
break;
|
break;
|
||||||
|
|||||||
@@ -0,0 +1 @@
|
|||||||
|
buf_inst
|
||||||
@@ -0,0 +1,5 @@
|
|||||||
|
# is_buffer property
|
||||||
|
read_liberty ../examples/sky130hd_tt.lib.gz
|
||||||
|
read_verilog get_is_buffer.v
|
||||||
|
link_design dut
|
||||||
|
report_object_full_names [get_cells -filter is_buffer]
|
||||||
@@ -0,0 +1,11 @@
|
|||||||
|
module dut (
|
||||||
|
input A,
|
||||||
|
output Y
|
||||||
|
);
|
||||||
|
|
||||||
|
sky130_fd_sc_hd__buf_2 buf_inst (
|
||||||
|
.A(A),
|
||||||
|
.X(Y)
|
||||||
|
);
|
||||||
|
|
||||||
|
endmodule
|
||||||
@@ -140,6 +140,7 @@ record_example_tests {
|
|||||||
record_sta_tests {
|
record_sta_tests {
|
||||||
disconnect_mcp_pin
|
disconnect_mcp_pin
|
||||||
get_filter
|
get_filter
|
||||||
|
get_is_buffer
|
||||||
get_is_memory
|
get_is_memory
|
||||||
get_lib_pins_of_objects
|
get_lib_pins_of_objects
|
||||||
get_noargs
|
get_noargs
|
||||||
|
|||||||
Reference in New Issue
Block a user