aguntukbd
Junior Member level 2
Hi,
I am designing FSM for charging, discharging phases in inductor for AMS circuit. My counter works for integer numbers for different cycles. But in reality, it has to count floating point number or fractional numbers of fixed reference clock frequency depending on the different charging and discharging phases. How can I count upto a floating point number or fractional number? Should I use fixed point number in verilog? is there any simpler or efficient method? Your guideline or tips will be very useful!
PS: I am quite new to verilog & FSM design
I am designing FSM for charging, discharging phases in inductor for AMS circuit. My counter works for integer numbers for different cycles. But in reality, it has to count floating point number or fractional numbers of fixed reference clock frequency depending on the different charging and discharging phases. How can I count upto a floating point number or fractional number? Should I use fixed point number in verilog? is there any simpler or efficient method? Your guideline or tips will be very useful!
PS: I am quite new to verilog & FSM design