https://open-source-silicon.dev logo
#openroad
Title
# openroad
u

20Mhz

08/03/2020, 3:22 PM
also, I’m getting a bit frustrated trying filter pins/ports, any ideas?
Copy code
% get_ports * -filter direction==input
Error: unsupported -filter expression.
I’m actually trying to get to the driver among a collections of connected pins, but even worst:
Copy code
Output pins:
  Q output regfile.mem[9][21]
% get_pins -of_objects [get_net regfile.mem[9][21]]
_7096e8d6a57f0000_p_Pin _b0baded6a57f0000_p_Pin _70eadbd6a57f0000_p_Pin _d002d4d6a57f0000_p_Pin
% get_pins -of_objects [get_net regfile.mem[9][21]] -fiter direction==input
Error: get_pins -fiter is not a known keyword or flag.
Ok, looking through the code reveals the expression is very sensitive to the syntax
Copy code
% llength [get_ports * -filter "direction == input"]
73
% lleng [get_ports * -filter "direction == output"]
138