diff options
author | Clifford Wolf <clifford@clifford.at> | 2013-10-31 12:27:35 +0100 |
---|---|---|
committer | Clifford Wolf <clifford@clifford.at> | 2013-10-31 12:27:35 +0100 |
commit | 0b4a64ac6adbd6c61e09517c4ea98cabd8b8b9ad (patch) | |
tree | b2ed5e7cff20f6a2e22ff64de57b36dbba82e693 /techlibs/cmos/cmos_cells.lib | |
parent | 0efe16f118e20e30b5fce152cf668a0929a08439 (diff) | |
download | yosys-0b4a64ac6adbd6c61e09517c4ea98cabd8b8b9ad.tar.gz yosys-0b4a64ac6adbd6c61e09517c4ea98cabd8b8b9ad.tar.bz2 yosys-0b4a64ac6adbd6c61e09517c4ea98cabd8b8b9ad.zip |
Added DFFSR cell to techlibs/cmos/cmos_cells.lib
Diffstat (limited to 'techlibs/cmos/cmos_cells.lib')
-rw-r--r-- | techlibs/cmos/cmos_cells.lib | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/techlibs/cmos/cmos_cells.lib b/techlibs/cmos/cmos_cells.lib index 1d7b8279c..164256c01 100644 --- a/techlibs/cmos/cmos_cells.lib +++ b/techlibs/cmos/cmos_cells.lib @@ -29,4 +29,18 @@ library(demo) { pin(Q) { direction: output; function: "IQ"; } } + cell(DFFSR) { + area: 18; + ff(IQ, IQN) { clocked_on: C; + next_state: D; + preset: S; + clear: R; } + pin(C) { direction: input; + clock: true; } + pin(D) { direction: input; } + pin(Q) { direction: output; + function: "IQ"; } + pin(S) { direction: input; } + pin(R) { direction: input; } + } } |