mirror of https://github.com/YosysHQ/yosys.git
55 lines
1.4 KiB
Plaintext
55 lines
1.4 KiB
Plaintext
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;
|
|
}
|
|
}
|
|
} |