Taken from ECE253 2015 midterm question 5
Consider the sequential circuit below:
复制代码
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24module top_module ( input clk, input L, input r_in, input q_in, output reg Q); wire w1; Mux2_1 ins1(q_in, r_in,L,w1); flip_flop ins2(w1,clk,Q); endmodule module flip_flop(input D, input clk, output Q); always @(posedge clk) Q <= D; endmodule module Mux2_1(input a, input b, input choose, output D); always @(*) if (choose) D = b; else D = a; endmodule
最后
以上就是缓慢砖头最近收集整理的关于Mt2015 muxdff的全部内容,更多相关Mt2015内容请搜索靠谱客的其他文章。
本图文内容来源于网友提供,作为学习参考使用,或来自网络收集整理,版权属于原作者所有。
发表评论 取消回复