mirror of
https://github.com/YosysHQ/yosys
synced 2025-08-09 20:50:51 +00:00
libparse: add LibertyMergedCells, enable multiple -liberty args for dfflibmap and clockgate
This commit is contained in:
parent
60fb241cb3
commit
6edf9c86cb
10 changed files with 317 additions and 77 deletions
33
tests/techmap/dfflibmap_dffsr.lib
Normal file
33
tests/techmap/dfflibmap_dffsr.lib
Normal file
|
@ -0,0 +1,33 @@
|
|||
library(test) {
|
||||
cell (dffsr) {
|
||||
area : 6;
|
||||
ff("IQ", "IQN") {
|
||||
next_state : "D";
|
||||
clocked_on : "CLK";
|
||||
clear : "CLEAR";
|
||||
preset : "PRESET";
|
||||
clear_preset_var1 : L;
|
||||
clear_preset_var2 : L;
|
||||
}
|
||||
pin(D) {
|
||||
direction : input;
|
||||
}
|
||||
pin(CLK) {
|
||||
direction : input;
|
||||
}
|
||||
pin(CLEAR) {
|
||||
direction : input;
|
||||
}
|
||||
pin(PRESET) {
|
||||
direction : input;
|
||||
}
|
||||
pin(Q) {
|
||||
direction: output;
|
||||
function : "IQ";
|
||||
}
|
||||
pin(QN) {
|
||||
direction: output;
|
||||
function : "IQN";
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue