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:
parent
69df81756c
commit
0df2169f81
13 changed files with 207 additions and 304 deletions
|
|
@ -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";
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue