mirror of https://github.com/YosysHQ/yosys.git
21 lines
313 B
Plaintext
21 lines
313 B
Plaintext
|
library(supergate) {
|
||
|
cell(DFF) {
|
||
|
cell_footprint : dff ;
|
||
|
area : 50 ;
|
||
|
pin(D) {
|
||
|
direction : input ;
|
||
|
}
|
||
|
pin(CK) {
|
||
|
direction : input ;
|
||
|
clock : true ;
|
||
|
}
|
||
|
ff(IQ, IQN) {
|
||
|
clocked_on : CK ;
|
||
|
next_state : D ;
|
||
|
}
|
||
|
pin(Q) {
|
||
|
direction : output ;
|
||
|
}
|
||
|
}
|
||
|
}
|