mirror of
https://github.com/YosysHQ/yosys
synced 2025-10-25 00:44:37 +00:00
Renamed GreenPAK4 cells, improved GP4 DFF mapping
This commit is contained in:
parent
452d4bf741
commit
745d56149d
5 changed files with 50 additions and 9 deletions
26
techlibs/greenpak4/gp_dff.lib
Normal file
26
techlibs/greenpak4/gp_dff.lib
Normal file
|
|
@ -0,0 +1,26 @@
|
|||
library(gp_dff) {
|
||||
cell(GP_DFF_NOSR) {
|
||||
area: 1;
|
||||
ff("IQ", "IQN") { clocked_on: CLK;
|
||||
next_state: D; }
|
||||
pin(CLK) { direction: input;
|
||||
clock: true; }
|
||||
pin(D) { direction: input; }
|
||||
pin(Q) { direction: output;
|
||||
function: "IQ"; }
|
||||
}
|
||||
cell(GP_DFF_SR) {
|
||||
area: 1;
|
||||
ff("IQ", "IQN") { clocked_on: CLK;
|
||||
next_state: D;
|
||||
preset: "nSETZ'";
|
||||
clear: "nRSTZ'"; }
|
||||
pin(CLK) { direction: input;
|
||||
clock: true; }
|
||||
pin(D) { direction: input; }
|
||||
pin(Q) { direction: output;
|
||||
function: "IQ"; }
|
||||
pin(nRSTZ) { direction: input; }
|
||||
pin(nSETZ) { direction: input; }
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue