Last active
April 8, 2019 19:44
-
-
Save axayjha/1e3435275362bdc8b10da88358e73be3 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module PIPO_R1 (dout, din, ld, clk); | |
input [15:0] din; | |
input ld, clk; | |
output reg [15:0] dout; | |
always @(posedge clk) | |
// if load signal is on, load new data | |
if (ld) dout <= din; | |
endmodule |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment