mirror of
https://github.com/annoyatron255/yosys4gal.git
synced 2024-12-22 18:52:23 +00:00
12 lines
222 B
Plaintext
12 lines
222 B
Plaintext
|
library(gal_dff) {
|
||
|
cell(DFF_P) {
|
||
|
ff(IQ, IQN) {
|
||
|
clocked_on: "C";
|
||
|
next_state: "D";
|
||
|
}
|
||
|
pin(D) { direction: input; }
|
||
|
pin(C) { direction: input; clock: true; }
|
||
|
pin(Q) { direction: output; function: "IQ"; }
|
||
|
}
|
||
|
}
|