Rogov
Newbie level 6
Hi, guys.
We use clock gating in our project. Our IP SC library contains only one type of clock gating cell - latch_posedge.
The excerpt from the project is presented here.
As you can see there are 2 clock domains generated from the Master Clock. I have doubts about correctness of this design.
Domain gclk_p is ok: when Master Clock's off (0) gclk_p's off (0).
But validity of domain gclk_n is in question: when Master Clock's off (0) gclk_n can be either off (0) or on (1). It depends on the value of EN port of the latch in the time of switching off (0) the Master Clock.
Am I right this design is doubtful?
I think it would be more correct to place the inverter right after the latch before registers triggered on negedge of the Master Clock.
Thanks in advance.
Andrew.
We use clock gating in our project. Our IP SC library contains only one type of clock gating cell - latch_posedge.
The excerpt from the project is presented here.
As you can see there are 2 clock domains generated from the Master Clock. I have doubts about correctness of this design.
Domain gclk_p is ok: when Master Clock's off (0) gclk_p's off (0).
But validity of domain gclk_n is in question: when Master Clock's off (0) gclk_n can be either off (0) or on (1). It depends on the value of EN port of the latch in the time of switching off (0) the Master Clock.
Am I right this design is doubtful?
I think it would be more correct to place the inverter right after the latch before registers triggered on negedge of the Master Clock.
Thanks in advance.
Andrew.