yosys/techlibs/greenpak4/gp_dff.lib

37 lines
998 B
Plaintext
Raw Normal View History

library(gp_dff) {
2016-03-23 02:46:10 -05:00
cell(GP_DFF) {
area: 1;
ff("IQ", "IQN") { clocked_on: CLK;
next_state: D; }
pin(CLK) { direction: input;
clock: true; }
pin(D) { direction: input; }
pin(Q) { direction: output;
function: "IQ"; }
}
2016-03-23 02:46:10 -05:00
cell(GP_DFFS) {
area: 1;
ff("IQ", "IQN") { clocked_on: CLK;
next_state: D;
2016-03-23 02:46:10 -05:00
preset: "nSET'"; }
pin(CLK) { direction: input;
clock: true; }
pin(D) { direction: input; }
pin(Q) { direction: output;
function: "IQ"; }
2016-03-23 02:46:10 -05:00
pin(nSET) { direction: input; }
}
cell(GP_DFFR) {
area: 1;
ff("IQ", "IQN") { clocked_on: CLK;
next_state: D;
clear: "nRST'"; }
2016-03-23 02:46:10 -05:00
pin(CLK) { direction: input;
clock: true; }
2016-03-23 02:46:10 -05:00
pin(D) { direction: input; }
pin(Q) { direction: output;
function: "IQ"; }
pin(nRST) { direction: input; }
}
}