u24c02
Advanced Member level 1
- Joined
- May 8, 2012
- Messages
- 404
- Helped
- 2
- Reputation
- 4
- Reaction score
- 2
- Trophy points
- 1,298
- Activity points
- 4,101
Hi.
I try to global clock gating with
set_clock _gating_style
-sequential_cell latch ₩
-control_point before ₩
-control_signal scan_enable ₩
-minimum_bitwidth 3
-max_fanout 64
-num_stage 1
-positive_edge_logic {integrated}
...
...
compile_ultra -gate_clock -no_autoungroup -no_seq_output_inversion -no_boundary_optimization
..
And RTL code like following.
Module top
...
Input aclk;
Input i_hsync;
wire cg_clk;
assign cg_clk = i_hsync && aclk;
Block u_block(
.aclk (cg_clk),//(aclk)
...
...
);
wire cg_clk1;
assign cg_clk1 = i_hsync && aclk;
Block1 u_block1(
.aclk (cg_clk1),//(aclk)
...
...
);
There is no clock gated what i use cg_clk instead aclk.
Am i wrong use clock gating in rtl?
If i wrong please let me know how am i do?
I try to global clock gating with
set_clock _gating_style
-sequential_cell latch ₩
-control_point before ₩
-control_signal scan_enable ₩
-minimum_bitwidth 3
-max_fanout 64
-num_stage 1
-positive_edge_logic {integrated}
...
...
compile_ultra -gate_clock -no_autoungroup -no_seq_output_inversion -no_boundary_optimization
..
And RTL code like following.
Module top
...
Input aclk;
Input i_hsync;
wire cg_clk;
assign cg_clk = i_hsync && aclk;
Block u_block(
.aclk (cg_clk),//(aclk)
...
...
);
wire cg_clk1;
assign cg_clk1 = i_hsync && aclk;
Block1 u_block1(
.aclk (cg_clk1),//(aclk)
...
...
);
There is no clock gated what i use cg_clk instead aclk.
Am i wrong use clock gating in rtl?
If i wrong please let me know how am i do?
Last edited: