Warp-SE/cpld/SET.v

15 lines
225 B
Coq
Raw Normal View History

2024-10-11 16:41:31 -04:00
module SET(
input CLK,
2024-10-11 17:28:08 -04:00
input nPOR,
2024-10-11 16:41:31 -04:00
input BACT,
input A1,
2024-10-11 16:41:31 -04:00
input SetCSWR,
output reg SetSndSlow);
2024-10-11 16:41:31 -04:00
2024-10-16 23:33:00 -04:00
always @(posedge CLK) begin
if (!nPOR) SetSndSlow <= 1;
else if (BACT && SetCSWR) SetSndSlow <= A1;
2024-10-16 23:33:00 -04:00
end
2024-10-11 16:41:31 -04:00
endmodule