-
Notifications
You must be signed in to change notification settings - Fork 895
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #4744 from YosysHQ/emil/clockgate-liberty
clockgate: add -liberty
- Loading branch information
Showing
3 changed files
with
358 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,107 @@ | ||
library(test) { | ||
/* Integrated clock gating cells */ | ||
cell (pos_small_tielo) { | ||
area : 1; | ||
clock_gating_integrated_cell : latch_posedge_precontrol; | ||
pin (GCLK) { | ||
clock_gate_out_pin : true; | ||
direction : output; | ||
} | ||
pin (CLK) { | ||
clock_gate_clock_pin : true; | ||
direction : input; | ||
} | ||
pin (CE) { | ||
clock_gate_enable_pin : true; | ||
direction : input; | ||
} | ||
pin (SE) { | ||
clock_gate_test_pin : true; | ||
direction : input; | ||
} | ||
} | ||
cell (pos_big) { | ||
area : 10; | ||
clock_gating_integrated_cell : latch_posedge; | ||
pin (GCLK) { | ||
clock_gate_out_pin : true; | ||
direction : output; | ||
} | ||
pin (CLK) { | ||
clock_gate_clock_pin : true; | ||
direction : input; | ||
} | ||
pin (CE) { | ||
clock_gate_enable_pin : true; | ||
direction : input; | ||
} | ||
} | ||
cell (pos_small) { | ||
area : 1; | ||
clock_gating_integrated_cell : latch_posedge; | ||
pin (GCLK) { | ||
clock_gate_out_pin : true; | ||
direction : output; | ||
} | ||
pin (CLK) { | ||
clock_gate_clock_pin : true; | ||
direction : input; | ||
} | ||
pin (CE) { | ||
clock_gate_enable_pin : true; | ||
direction : input; | ||
} | ||
} | ||
cell (neg_big) { | ||
area : 10; | ||
clock_gating_integrated_cell : latch_negedge; | ||
pin (GCLK) { | ||
clock_gate_out_pin : true; | ||
direction : output; | ||
} | ||
pin (CLK) { | ||
clock_gate_clock_pin : true; | ||
direction : input; | ||
} | ||
pin (CE) { | ||
clock_gate_enable_pin : true; | ||
direction : input; | ||
} | ||
} | ||
cell (neg_small_tielo) { | ||
area : 1; | ||
clock_gating_integrated_cell : latch_negedge_precontrol; | ||
pin (GCLK) { | ||
clock_gate_out_pin : true; | ||
direction : output; | ||
} | ||
pin (CLK) { | ||
clock_gate_clock_pin : true; | ||
direction : input; | ||
} | ||
pin (CE) { | ||
clock_gate_enable_pin : true; | ||
direction : input; | ||
} | ||
pin (SE) { | ||
clock_gate_test_pin : true; | ||
direction : input; | ||
} | ||
} | ||
cell (neg_small) { | ||
area : 1; | ||
clock_gating_integrated_cell : latch_negedge; | ||
pin (GCLK) { | ||
clock_gate_out_pin : true; | ||
direction : output; | ||
} | ||
pin (CLK) { | ||
clock_gate_clock_pin : true; | ||
direction : input; | ||
} | ||
pin (CE) { | ||
clock_gate_enable_pin : true; | ||
direction : input; | ||
} | ||
} | ||
} |
Oops, something went wrong.