3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2026-08-09 15:42:14 +00:00
yosys/tests/techmap/dlatchlibmap_dlatchsr_l.lib
nella c682d5cfb0 Add latch tests, extend dff tests.
Co-authored-by: Iztok Jeras <iztok.jeras@gmail.com>
2026-07-31 12:19:25 +02:00

33 lines
563 B
Text

library(test) {
cell (dlatchsr) {
area : 6;
latch("IQ", "IQN") {
data_in : "D";
enable : "ENA";
clear : "CLEAR";
preset : "PRESET";
clear_preset_var1 : L;
clear_preset_var2 : L;
}
pin(D) {
direction : input;
}
pin(ENA) {
direction : input;
}
pin(CLEAR) {
direction : input;
}
pin(PRESET) {
direction : input;
}
pin(Q) {
direction: output;
function : "IQ";
}
pin(QN) {
direction: output;
function : "IQN";
}
}
}