Badly probably.
Use a positive edge detector on the clock and its compliment. Or together those dectors to get 2 positive pulses per period or a 2x clock. Vary clk 2x pos pulse width by varying number of inv per detect.
Carefully.
Analog Discovery 3
# | Input | Output | Bidirectional |
---|---|---|---|
0 | pulse = 1 inv | q for pulse = 1 inv | |
1 | pulse = 3 inv | q for pulse = 3 inv | |
2 | pulse = 5 inv | q for pulse = 5 inv | |
3 | pulse = 7 inv | q for pulse = 7 inv | |
4 | q for normal flop | ||
5 | 1 | ||
6 | 1 | ||
7 | clk |