mirror of
https://github.com/aolofsson/oh.git
synced 2025-02-07 06:44:09 +08:00
21 lines
670 B
Verilog
21 lines
670 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
|
|
(
|
|
input d,
|
|
input si,
|
|
input se,
|
|
input clk,
|
|
output reg qn
|
|
);
|
|
|
|
always @ (posedge clk)
|
|
qn <= se ? ~si : ~d;
|
|
|
|
endmodule
|