P
Ponkan
Guest
Hi All,
I have a design running with a general clock 'clk' and one of my
outputs is exactly 'clk' enabled by an internal signal ('enable').
Whenever 'enable' is actived output = 'clk'. On the other hand, if
'enable' is not actived, output = 0.
A very naive and dangerous way to do this is simply using a AND gate
but glitches can occur and I don't want that. Multiplying 'clk' by 2
and using a FF with clock enable could work but it is not always easy
to do that (depends on the device). Does any of you have any good idea
to implement this thing?
I have a design running with a general clock 'clk' and one of my
outputs is exactly 'clk' enabled by an internal signal ('enable').
Whenever 'enable' is actived output = 'clk'. On the other hand, if
'enable' is not actived, output = 0.
A very naive and dangerous way to do this is simply using a AND gate
but glitches can occur and I don't want that. Multiplying 'clk' by 2
and using a FF with clock enable could work but it is not always easy
to do that (depends on the device). Does any of you have any good idea
to implement this thing?