mirror of
https://github.com/YosysHQ/yosys
synced 2025-11-06 14:26:04 +00:00
24 lines
404 B
Text
24 lines
404 B
Text
library (test_not_next) {
|
|
cell (dff_not_next) {
|
|
area: 1.0;
|
|
pin (QN) {
|
|
direction : output;
|
|
function : "STATE";
|
|
}
|
|
pin (CLK) {
|
|
direction : input;
|
|
clock : true;
|
|
}
|
|
pin (D) {
|
|
direction : input;
|
|
}
|
|
pin (RN) {
|
|
direction : input;
|
|
}
|
|
ff (STATE, STATEN) {
|
|
clocked_on: "CLK";
|
|
next_state: "!D";
|
|
preset : "!RN";
|
|
}
|
|
}
|
|
}
|