mirror of
https://github.com/JefferyLi0903/MMC.git
synced 2025-02-06 10:28:22 +08:00
Merge commit '85359906f9492dceed339896c293a90031b05680'
This commit is contained in:
commit
ace5b90d8b
@ -85,7 +85,7 @@ PLL_Demodulation U1 //use final adc clk 200Khz
|
|||||||
.clk1_out(ADC_CLK), //ADC工作时钟,6.4M
|
.clk1_out(ADC_CLK), //ADC工作时钟,6.4M
|
||||||
.clk2_out(clk_PWM1), //20M
|
.clk2_out(clk_PWM1), //20M
|
||||||
.clk4_out(clk_PWM2) //40M
|
.clk4_out(clk_PWM2) //40M
|
||||||
|
);
|
||||||
`endif
|
`endif
|
||||||
|
|
||||||
//ADC通道4,6轮询
|
//ADC通道4,6轮询
|
||||||
|
@ -25,7 +25,7 @@ module UART_RX (
|
|||||||
always@(posedge clk or negedge RSTn) begin
|
always@(posedge clk or negedge RSTn) begin
|
||||||
if(~RSTn) counter_en <= 1'b0;
|
if(~RSTn) counter_en <= 1'b0;
|
||||||
else if(re_start&&(~counter_en)) counter_en <= 1'b1;
|
else if(re_start&&(~counter_en)) counter_en <= 1'b1;
|
||||||
else if(counter == 4'h9) counter_en <= 1'b0;ß
|
else if(counter == 4'h9) counter_en <= 1'b0;
|
||||||
end
|
end
|
||||||
|
|
||||||
always@(posedge clk or negedge RSTn) begin
|
always@(posedge clk or negedge RSTn) begin
|
||||||
|
Loading…
x
Reference in New Issue
Block a user