dpclkfgc0.vmd
1.3 KB
/**************************************************************/
/* Verilog module of datapath cell DPCLKFGC0 */
/* Designed by Lin Yang VLSI Technology Oct. 20, 90 */
/* Designed by Linda J. Xu July, 1992 */
/* */
/* The following is the port description */
/* Control ports */
/* E : the input port */
/* CLK : the input port */
/* CN : the output port */
/* Parameters */
/* WORDSIZE : the word size of the datapath cell */
/* TYP : the type of gated clock buffer */
/* 0 for False; 1 for True */
/* DELAY : the delay time from input to output */
/**************************************************************/
module dpclkfgc0(E, CLK, CN);
parameter WORDSIZE = 1, TYP = 1, DELAY = 3;
input [WORDSIZE-1:0] E;
input CLK;
output [WORDSIZE-1:0] CN;
wire [WORDSIZE-1:0] #DELAY CN = (TYP) ?
E & ~{WORDSIZE{CLK}}:
~E | {WORDSIZE{CLK}};
endmodule