mirror of
https://gitlab.com/brendanhaines/cpu.git
synced 2024-11-13 15:04:59 -07:00
22 lines
320 B
Coq
22 lines
320 B
Coq
|
module gps #(
|
||
|
parameter BITS_IN,
|
||
|
)(
|
||
|
input wire clk,
|
||
|
input wire reset,
|
||
|
|
||
|
input [BITS_IN-1:0] in_i,
|
||
|
input [BITS_IN-1:0] in_q,
|
||
|
|
||
|
);
|
||
|
|
||
|
for (prn=1; prn<=32; prn=prn+1) begin
|
||
|
correlator #(
|
||
|
.BITS_IN(BITS_IN),
|
||
|
) cor(
|
||
|
.clk(clk),
|
||
|
.reset(reset),
|
||
|
.a()
|
||
|
);
|
||
|
end
|
||
|
|
||
|
endmodule
|