// ================================================================ // NVDLA Open Source Project // // Copyright(c) 2016 - 2017 NVIDIA Corporation. Licensed under the // NVDLA Open Hardware License; Check "LICENSE" which comes with // this distribution for more information. // ================================================================ // File Name: SDFSNQD1.v module SDFSNQD1 ( SI ,D ,SE ,CP ,SDN ,Q ); input SI ; input D ; input SE ; input CP ; input SDN ; output Q ; reg Q; assign sel = SE ? SI : D; always @(posedge CP or negedge SDN) begin if(~SDN) Q <= 1'b1; else Q <= sel; end endmodule