From b392981691fc7922f3c77fc4aa2c54388001f983 Mon Sep 17 00:00:00 2001 From: AlexandreSinger Date: Wed, 10 Dec 2025 09:13:37 -0500 Subject: [PATCH 1/2] [Docs] Added Query Commands to SDC Syntax Docs Continued to add to the syntax coverage docs by adding more details for the commands which query timing and netlist objects. --- docs/syntax/README.md | 65 ++++++++++++++++++++++++++++++++++++++----- 1 file changed, 58 insertions(+), 7 deletions(-) diff --git a/docs/syntax/README.md b/docs/syntax/README.md index 499c526aa..a9d26c20b 100644 --- a/docs/syntax/README.md +++ b/docs/syntax/README.md @@ -148,20 +148,71 @@ set_disable_timing (-from )? ``` -# Query +## Query -get_ports +### get_ports -get_clocks +``` +get_ports (-regexp)? + (-nocase)? + (-quiet)? + +``` + +### get_clocks + +``` +get_clocks (-regexp)? + (-nocase)? + (-quiet)? + +``` + +### get_pins + +``` +get_ports (-regexp)? + (-nocase)? + (-quiet)? + +``` + +### get_cells + +``` +get_cells (-regexp)? + (-nocase)? + (-quiet)? + +``` + +Note: OpenSTA has special flags for heirarchical matches. Should consider adding. -get_pins +### get_nets -get_cells +``` +get_nets (-regexp)? + (-nocase)? + (-quiet)? + +``` -get_nets +Note: OpenSTA has special flags for heirarchical matches. Should consider adding. -all_inputs +### all_inputs + +``` +all_inputs (-no_clocks)? +``` +### all_outputs + +``` all_outputs +``` +### all_clocks + +``` all_clocks +``` From ad01bcf6cb9a5480c4dd615e9a6aa1fc2c022dfa Mon Sep 17 00:00:00 2001 From: AlexandreSinger Date: Wed, 10 Dec 2025 09:18:40 -0500 Subject: [PATCH 2/2] [Docs] Fixed Minor Issues --- docs/syntax/README.md | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/docs/syntax/README.md b/docs/syntax/README.md index a9d26c20b..0ecf882d2 100644 --- a/docs/syntax/README.md +++ b/docs/syntax/README.md @@ -171,10 +171,10 @@ get_clocks (-regexp)? ### get_pins ``` -get_ports (-regexp)? - (-nocase)? - (-quiet)? - +get_pins (-regexp)? + (-nocase)? + (-quiet)? + ``` ### get_cells @@ -186,7 +186,7 @@ get_cells (-regexp)? ``` -Note: OpenSTA has special flags for heirarchical matches. Should consider adding. +Note: OpenSTA has special flags for hierarchical matches. Should consider adding. ### get_nets @@ -197,7 +197,7 @@ get_nets (-regexp)? ``` -Note: OpenSTA has special flags for heirarchical matches. Should consider adding. +Note: OpenSTA has special flags for hierarchical matches. Should consider adding. ### all_inputs