Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

how am I supposed to do with ungated flop?

Status
Not open for further replies.

coshy

Member level 4
Joined
Mar 28, 2016
Messages
71
Helped
0
Reputation
0
Reaction score
1
Trophy points
1,288
Activity points
1,768
Hi.

When I run the synthesis, I've got a lot of ungated flops.
I think I need to add block level clock gating, but I also need to change my cording to allow for more clock gate being inferenced. But I'm not sure how to improve this.
Can you help me how to improve this problem? Any cording guide or methodologies or some guide.
 

Basically the coding style of gating FF would be:

Code:
always @ ( posedge clk ) begin
   if ( [B]en[/B] ) out <= in;
   else      out <= 0;  
end
Ussually with an enable signal for the output to be active.


If a Flop was not gated, its Verilog code should be:
Code:
always @ ( posedge clk ) begin
   out <= in;
end
There are a lot more variants of coding styles can bring you the gated flop.
Looking for gating technique online.
 
  • Like
Reactions: coshy

    coshy

    Points: 2
    Helpful Answer Positive Rating
Hi.

When I run the synthesis, I've got a lot of ungated flops.
I think I need to add block level clock gating, but I also need to change my cording to allow for more clock gate being inferenced. But I'm not sure how to improve this.
Can you help me how to improve this problem? Any cording guide or methodologies or some guide.

By the looks of it, you don't know what you are talking about. Maybe review some literature on clock gating, coding styles, and power gating.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top