https://open-source-silicon.dev logo
#sky130
Title
v

Vikas Sachdeva

03/07/2022, 12:02 PM
Hi @User. I am trying to use openSTA tool for student labs. I don't see clock gating checks and recovery/removal checks being reported. Can you help? the labs are here https://github.com/vikkisachdeva/openSTA_sta_workshop/tree/master/vlsideepdive_openSTA_labs/lab6 https://github.com/vikkisachdeva/openSTA_sta_workshop/tree/master/vlsideepdive_openSTA_labs/lab7
d

Dinesh A

03/07/2022, 1:29 PM
Did you added clock_gating check ? set_clock_gating_check [-setup setup_time] [-hold hold_time] [-rise] [-fall] [-low] [-high] [objects]
v

Vikas Sachdeva

03/08/2022, 1:52 AM
Yes i added. Then also it didnt work
t

Tom Spyrou

03/08/2022, 4:54 AM
I don't see any of these timing checks in your liberty file.
[tspyrou@aspyrou-compute lib]$ grep gating *lib sky130_fd_sc_hd__tt_025C_1v80.lib: clock_gating_integrated_cell : "latch_posedge"; sky130_fd_sc_hd__tt_025C_1v80.lib: clock_gating_integrated_cell : "latch_posedge"; sky130_fd_sc_hd__tt_025C_1v80.lib: clock_gating_integrated_cell : "latch_posedge"; sky130_fd_sc_hd__tt_025C_1v80.lib: clock_gating_integrated_cell : "latch_posedge_precontrol"; sky130_fd_sc_hd__tt_025C_1v80.lib: clock_gating_integrated_cell : "latch_posedge_precontrol"; sky130_fd_sc_hd__tt_025C_1v80.lib: clock_gating_integrated_cell : "latch_posedge_precontrol"; [tspyrou@aspyrou-compute lib]$ grep recovery *lib sky130_fd_sc_hd__tt_025C_1v80.lib: timing_type : "recovery_falling"; sky130_fd_sc_hd__tt_025C_1v80.lib: timing_type : "recovery_falling"; sky130_fd_sc_hd__tt_025C_1v80.lib: timing_type : "recovery_falling"; sky130_fd_sc_hd__tt_025C_1v80.lib: timing_type : "recovery_falling"; sky130_fd_sc_hd__tt_025C_1v80.lib: timing_type : "recovery_rising"; sky130_fd_sc_hd__tt_025C_1v80.lib: timing_type : "recovery_rising";
Perhaps you could move your lab to the sky130 or asap7 platforms which have complete liberty files?
v

Vikas Sachdeva

03/08/2022, 7:56 AM
thanks. Let me give it a try. for this lab and see it works or not
thanks this worked!
t

Tom Spyrou

03/08/2022, 6:51 PM
Great!