I am trying to implement differentiation in FPGA Verilog. For that i need to have a sample of signal which is going to be differentiated and the sampling period . Sampling period i have taken as one clock period taken from library . But I'm unable to find the period of sample through programming.
Is there any instruction available in verilog to find out the sampling period of a signal?????