Feat: CPLD3: Add AD5522 Reset
This commit is contained in:
@@ -0,0 +1,20 @@
|
||||
module AD5522_Con (
|
||||
input i_sys_clk,
|
||||
input i_rst_n,
|
||||
|
||||
output o_AD5522_Reset
|
||||
);
|
||||
|
||||
reg AD5522_Reset;
|
||||
|
||||
always @(posedge i_sys_clk) begin
|
||||
if (!i_rst_n) begin
|
||||
AD5522_Reset <= 'd0;
|
||||
end else begin
|
||||
AD5522_Reset <= 'd1;
|
||||
end
|
||||
end
|
||||
|
||||
assign o_AD5522_Reset = AD5522_Reset;
|
||||
|
||||
endmodule
|
||||
Reference in New Issue
Block a user