Ai
1 Star 0 Fork 0

zdevt/1bitSDR

Create your Gitee Account
Explore and code with more than 13.5 million developers,Free private repositories !:)
Sign up
文件
Clone or Download
frequency_select.v 699 Bytes
Copy Edit Raw Blame History
Alberto Garlassi authored 2020-04-06 03:09 +08:00 . Initial commit
module frequency_select
(input wire clk,
input wire [7:0] rx_char,
output reg [63:0] PLL_inc
);
always @(posedge clk)
begin
case (rx_char)
8'd 48 :
begin
// tasto 0
PLL_inc <= 64'h 1B1B1B1B1B1B1B1;
end
8'd 49 :
begin
//tasto 1
PLL_inc <= 64'h 104376A9DD10437;
end
8'd 50 :
begin
//tasto 1
PLL_inc <= 64'h 19c0268cf359c02;
end
8'd 51 :
begin
//tasto 1
PLL_inc <= 64'h 1d00d7e21f90340;
end
default :
begin
//tasto 1
PLL_inc <= 64'h 1B1B1B1B1B1B1B1;
end
endcase
end
endmodule
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Verilog
1
https://gitee.com/zdevt/1bitSDR.git
git@gitee.com:zdevt/1bitSDR.git
zdevt
1bitSDR
1bitSDR
master

Search