dpclkfgcv.vmd 1.5 KB
/**************************************************************/
/*    Verilog module of datapath cell DPCLKFGCV               */
/*    Designed by    Lin Yang    VLSI Technology  Oct. 20, 90 */
/*    Designed by    Linda J. Xu      Feb. 04, 1993           */
/*                                                            */
/*    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     */
/*                                                            */
/*    This is a fake dp module and is required by the         */
/*    verilog compiler software.                              */
/**************************************************************/
module dpclkfgcv(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