Warp-SE/cpld/SET.v

15 lines
225 B
Coq
Raw Normal View History

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