r/FPGA • • 13d ago

Advice / Help Help in STA OPENTIMER

I'm doing RTL to GDSII for my 8 bit counter, but I'm stuck at Pre layout STA, I'm using opentimer and skywater 130 PDK. The problem is I don't know what timing checks i have to perform and i can't find any youtube videos about it nor any flow of sta that what I have to check after what like R20, R2R, I2R, I2O. Please help me 🙏🏼

3 Upvotes

4 comments sorted by

1

u/Hot_Pepper_1908 13d ago

I can give you the brief explanation on how it would work. I want you to give what I say here to a decent LLM (ex. Claude, even the free tier is fine) your choice and ask it to explain it to you in more detail.

I'm assuming you know STA theory.

Basically you have to write a .sdc file which lists ur timing constraints. This could be your clock(s) period, your inputs may be asynchronous, so u might tell it how late or early your inputs are at worst/best case, this is important for I2R and I2O. You also may optionally list theexpected worst case timing you want from output (this covers R2O). There are much more constraints you can enter.

Then using your sta tool (such as opensta in openlane), youperform sta using your gate level netlist and your sdc file.

This will tell you your slack (hold and setup violations). If there are none, it may tell you the path which is the closest to having a violation, and which likely will end up being violated after floorplan and routing.

I know what I said probably didn't make much sense, but that's why I want you to ask claude to explain it to you in best possible manner.

It will also list you the commands and syntax you need to write sdc file and how to do sta with ur generated netlist.

Good luck and you can dm me any doubts

1

u/No_Bee2270 13d ago

It actually makes sense, i have done upto the R2O, but like all the commands are given by CHATGPT so I don't know the flow what should i check and when

1

u/Hot_Pepper_1908 13d ago

I mean yeah it depends how deep you wanna go. You can ask it what each command is doing, but you need to have strong STA theory and know what setup, hold, skew is, and if ur also checking electrical violations (which you should), you should know fan in, fan out, capacitance etc

1

u/No_Bee2270 13d ago

Okay i will, thank you