mirror of
https://github.com/YosysHQ/yosys
synced 2025-04-27 10:55:51 +00:00
22 lines
358 B
Text
22 lines
358 B
Text
// Test library for different DFF function expressions
|
|
|
|
library(dff) {
|
|
cell (dff) {
|
|
area : 1;
|
|
ff("IQ", "IQN") {
|
|
next_state : "(D)";
|
|
clocked_on : "CLK";
|
|
}
|
|
pin(D) {
|
|
direction : input;
|
|
}
|
|
pin(CLK) {
|
|
direction : input;
|
|
}
|
|
pin(Q) {
|
|
direction: output;
|
|
function : "IQ";
|
|
}
|
|
}
|
|
|
|
} /* end */
|