fst package:clash-prelude
Extract the first component of a pair.
Calculate the frequency in
Hz, given the period in
fs
I.e., to calculate the clock frequency of a clock with a period of
5000 fs:
>>> fsToHz (Femtoseconds 5000)
2.0e11
NB: This function is not synthesizable