⺣ - רҵ·ĵϷƽ̨

ǰλãҳ > 西北工业大学_数字电子技术基础_实验报告_实验4 - 百度文库

西北工业大学_数字电子技术基础_实验报告_实验4 - 百度文库

  • 62 Ķ
  • 3
  • 2025/5/2 9:59:44

.

7. Processing->Start Compilation,ȫɿļ.sof

;..

.

8. ӿ壬װ豸Уѡ·Ϊquatusװ·

9. startʼ¼ɺ󿪷ϳˮơ

;..

ĿԼ 1.ƼFPGAʵ ٱдģԴ

module run (clk,rst,out); input clk,rst; output [7:0] out; reg [7:0] out; reg [24:0] count;

always @ ( posedge clk or negedge rst ) if(!rst) begin

count<=16'b0;

end else begin

count<=count+1;

;..

.

.

end

always @ ( posedge clk or negedge rst)

if(!rst) begin

out<=8'hff;

end else begin

case ( count[24:21] )

0: out<=8'b1111_1110; 1: out<=8'b1111_1101; 2: out<=8'b1111_1011;

3: out<=8'b1111_0111; 4: out<=8'b1110_1111; 5: out<=8'b1101_1111; 6: out<=8'b1011_1111; 7: out<=8'b0111_1111; 8: out<=8'b1011_1111; 9: out<=8'b1101_1111; 10:out<=8'b1110_1111; 11:out<=8'b1111_0111;

;..

  • ղ
  • Υٱ
  • Ȩ
ĵ10.00 Ԫ VIP
ߣ...

92ƪĵ

ĵ飺

. 7. Processing->Start Compilation,ȫɿļ.sof ;.. . 8. ӿ壬װ豸Уѡ·Ϊquatusװ· 9. startʼ¼ɺ󿪷ϳˮơ ;.. ĿԼ 1.ƼFPGAʵ ٱдģԴ module run (clk,rst,out); input clk,rst; output [7:0] out; reg [7:0] out; reg [24:0] count; always @ ( posedge cl

οͿͨغɸƺŰ棩
ƪ
ʱؼۣ10 Ԫ/ ԭ:20Ԫ
VIP
ؼۣ29 Ԫ/ ԭ:99Ԫ
0.3 Ԫ/ ÿ150
ȫվɸ
VIP
ؼۣ29 Ԫ/ ԭ:99Ԫ
0.3 Ԫ/ ÿ150
ȫվɸ
עĵпܡֻĿ¼ݲȫ֮ǰעѸ޷ػ⣬ϵЭ㴦
΢ţfanwen365 QQ370150219
Copyright © ⺣ All Rights Reserved. ICP16052595-3 վͼ ͷQQ370150219 䣺370150219@qq.com