mirror of
https://gitlab.com/brendanhaines/cpu.git
synced 2024-11-14 07:24:57 -07:00
22 lines
320 B
Verilog
22 lines
320 B
Verilog
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 |