mirror of
https://github.com/aolofsson/oh.git
synced 2025-02-07 06:44:09 +08:00
9e41b55f22
-Can be used to select between different cells (like sizes) that have the exact same logical function
20 lines
699 B
Verilog
20 lines
699 B
Verilog
//#############################################################################
|
|
//# Function: Positive edge-triggered inverting static D-type flop-flop #
|
|
//# with scan input. #
|
|
//# Copyright: OH Project Authors. ALl rights Reserved. #
|
|
//# License: MIT (see LICENSE file in OH repository) #
|
|
//#############################################################################
|
|
|
|
module asic_sdffqn #(parameter PROP = "DEFAULT") (
|
|
input d,
|
|
input si,
|
|
input se,
|
|
input clk,
|
|
output reg qn
|
|
);
|
|
|
|
always @ (posedge clk)
|
|
qn <= se ? ~si : ~d;
|
|
|
|
endmodule
|