mirror of
https://github.com/YosysHQ/yosys
synced 2026-08-10 08:01:14 +00:00
23 lines
358 B
Text
23 lines
358 B
Text
library(test) {
|
|
cell (dlatchn) {
|
|
area : 6;
|
|
latch("IQ", "IQN") {
|
|
data_in : "D";
|
|
enable : "!ENA";
|
|
}
|
|
pin(D) {
|
|
direction : input;
|
|
}
|
|
pin(ENA) {
|
|
direction : input;
|
|
}
|
|
pin(Q) {
|
|
direction: output;
|
|
function : "IQ";
|
|
}
|
|
pin(QN) {
|
|
direction: output;
|
|
function : "IQN";
|
|
}
|
|
}
|
|
}
|