URL
https://opencores.org/ocsvn/fpga-cf/fpga-cf/trunk
Subversion Repositories fpga-cf
[/] [fpga-cf/] [trunk/] [hdl/] [PATLPP/] [shiftr/] [gensrl.v] - Rev 8
Go to most recent revision | Compare with Previous | Blame | View Log
// Generic SRL 16 for use with V4/V5/?V6 module gensrl ( input CLK, input D, input CE, input [3:0] A, output Q ); reg [15:0] data; assign Q = data[A]; always @(posedge CLK) begin if (CE == 1'b1) data <= {data[14:0], D}; end endmodule
Go to most recent revision | Compare with Previous | Blame | View Log