mirror of
https://github.com/YosysHQ/yosys
synced 2026-07-15 03:35:40 +00:00
24 lines
378 B
Text
24 lines
378 B
Text
library(test) {
|
|
cell (dlatchn) {
|
|
area : 6;
|
|
latch("IQ", "IQN") {
|
|
data_in : "D";
|
|
enable : "!ENA";
|
|
}
|
|
pin(D) {
|
|
direction : input;
|
|
}
|
|
pin(ENA) {
|
|
direction : input;
|
|
clock : true;
|
|
}
|
|
pin(Q) {
|
|
direction: output;
|
|
function : "IQ";
|
|
}
|
|
pin(QN) {
|
|
direction: output;
|
|
function : "IQN";
|
|
}
|
|
}
|
|
}
|