Template:CAS latency/row
|align=center|{{{3}}}
|align=right|{{rnd|{{#expr:(2*({{{3}}})+0)*3000/(3*({{{1}}})+({{{2}}})) }}|2}} ns
|align=right|{{rnd|{{#expr:(2*({{{3}}})+3)*3000/(3*({{{1}}})+({{{2}}})) }}|2}} ns
|align=right|{{rnd|{{#expr:(2*({{{3}}})+7)*3000/(3*({{{1}}})+({{{2}}})) }}|2}} ns
This is a template to generate the last 4 columns in a table row for CAS latency. Arguments:
- data rate in MHz
- thirds of a MHz to add to the prededing (to allow numbers like 2133.333 to be expressed exactly)
- CL (in cycles)
Example:
{{CAS latency/row|2133|1|8}} →
{{CAS latency/row|2133|1|8}}
{{CAS latency/row|4800|0|19}} →
{{CAS latency/row|4800|0|19}}
}}