added v2.0
This commit is contained in:
18
03_Sequential_Logic/Register.v
Normal file
18
03_Sequential_Logic/Register.v
Normal file
@@ -0,0 +1,18 @@
|
||||
/**
|
||||
* 16-bit register:
|
||||
* If load[t] == 1 then out[t+1] = in[t]
|
||||
* else out does not change
|
||||
*/
|
||||
|
||||
`default_nettype none
|
||||
|
||||
module Register(
|
||||
input clk,
|
||||
input [15:0] in,
|
||||
input load,
|
||||
output [15:0] out
|
||||
);
|
||||
|
||||
// Put your code here:
|
||||
|
||||
endmodule
|
Reference in New Issue
Block a user