`timescale x/y
其中x表示时间单位,y表示时间精度
则在仿真的时候,写出#500,则表示500*x这么长的时间
如果写成#1.2,则需要考虑精度问题,1.2是否可以在y这个时间精度内表示出来,如果可以,则表示1.2*x这么长的时间,否则表示1.2精度取整之后再乘以x这么长的时间。
=========================================
国际单位制前缀
yotta [Y] [Septillion] 10^24 1000000000000000000000000
zetta [Z] [Sextillion] 10^21 1000000000000000000000
exa [E] [Quintillion] 10^18 1000000000000000000
peta [P] [Quadrillion] 10^15 1000000000000000
tera [T] [Trillion] 10^12 1000000000000
giga [G] [Billion] 10^9 1000000000
mega [M] [Million] 10^6 1000000
kilo [k] [Thousand] 10^3 1000
hecto [h] [Hundred] 10^2 100
deca [da][Ten] 10^1 10
--- -- [One] 10^0 1
deci [d] [Tenth] 10^-1 0.1
centi [c] [Hundredth] 10^-2 0.01
milli [m] [Thousandth] 10^-3 0.001
micro [μ] [Millionth] 10^-6 0.000001
nano [n] [Billionth] 10^-9 0.000000001
pico [p] [Trillionth] 10^-12 0.000000000001
femto [f] [Quadrillionth] 10^-15 0.000000000000001
atto [a] [Quintillionth] 10^-18 0.000000000000000001
zepto [z] [Sextillionth] 10^-21 0.000000000000000000001
yocto [y] [Septillionth] 10^-24 0.000000000000000000000001