3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2026-08-09 23:51:08 +00:00
yosys/tests/techmap/dlatchlibmap_dlatchsr_not_data.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

27 lines
No EOL
452 B
Text

library (test_not_data) {
cell (dlatchsr_not_data) {
area : 1.0;
pin (Q) {
direction : output;
function : "STATE";
}
pin (ENA) {
direction : input;
}
pin (D) {
direction : input;
}
pin (RN) {
direction : input;
}
pin (SN) {
direction : input;
}
latch (STATE,STATEN) {
clear : "!SN";
enable : "ENA";
data_in : "!D";
preset : "!RN";
}
}
}