3
0
Fork 0
mirror of https://github.com/YosysHQ/yosys synced 2026-07-25 00:22:34 +00:00

dlatchlibmap: modified copies of dfflibmap* test files for dlatchlibmap tests

This commit is contained in:
Iztok Jeras 2026-06-22 01:12:09 +02:00
parent 69df81756c
commit 0df2169f81
13 changed files with 207 additions and 304 deletions

View file

@ -1,11 +1,11 @@
library (test_not_next) {
cell (dffsr_not_next) {
library (test_not_data) {
cell (dlatchsr_not_data) {
area : 1.0;
pin (Q) {
direction : output;
function : "STATE";
}
pin (CLK) {
pin (ENA) {
clock : true;
direction : input;
}
@ -18,10 +18,10 @@ library (test_not_next) {
pin (SN) {
direction : input;
}
ff (STATE,STATEN) {
latch (STATE,STATEN) {
clear : "!SN";
clocked_on : "CLK";
next_state : "!D";
enable : "ENA";
data_in : "!D";
preset : "!RN";
}
}