spasdffen_10_0.v 1.21 KB

/**************************************************************************
 *                                                                        *
 *               Copyright (C) 1994, Silicon Graphics, Inc.               *
 *                                                                        *
 *  These coded instructions, statements, and computer programs  contain  *
 *  unpublished  proprietary  information of Silicon Graphics, Inc., and  *
 *  are protected by Federal copyright  law.  They  may not be disclosed  *
 *  to  third  parties  or copied or duplicated in any form, in whole or  *
 *  in part, without the prior written consent of Silicon Graphics, Inc.  *
 *                                                                        *
 *************************************************************************/
// $Id: spasdffen_10_0.v,v 1.3 2003/01/22 22:10:37 berndt Exp $

// spasdffen_10_0.v: 10-bit dff w/ reset and enable

`timescale 1ns / 10ps

module spasdffen_10_0 (out, in, en, clk, reset_l);

  output [9:0] out; input [9:0] in; input en; input clk; input reset_l;
  reg [9:0] out;

  always @(posedge clk)
  begin
    if(reset_l == 1'b0)
	out <= 10'd0;
    else if(en)
	out <= in;
  end

endmodule