[HDLBits] Exams/ece241 2014 q4

Given the finite state machine circuit as shown, assume that the D flip-flops are initially reset to zero before the machine begins.

Build this circuit.

复制代码
module top_module (
    input clk,
    input x,
    output z
); 
	wire d1,d2,d3,q1,q2,q3;
    assign d1=x^q1;
    assign d2=x&(~q2);
    assign d3=x|(!q3);
    always@(posedge clk) begin
    	q1<=d1;
        q2<=d2;
        q3<=d3;
    end
    assign z=~(q1|q2|q3);
endmodule
相关推荐
s09071362 小时前
【Agent】Claude code辅助verilog编程
fpga开发
3有青年3 小时前
altera fpga agilex 5 连接到HVIO BANK上的参考时钟,是否可以作为HSIO BANK内部IOPLL的输入时钟
fpga开发
FPGA_ADDA4 小时前
基于ZU47DR 的高性能射频卡
fpga开发
ooo-p5 小时前
FPGA学习篇——Verilog学习之“流水灯”
学习·fpga开发
坏孩子的诺亚方舟5 小时前
FPGA系统架构设计实践14_OTA升级
fpga·加载
FPGA小c鸡6 小时前
【FPGA视频处理】帧缓冲设计完全指南:从单缓冲到三缓冲的深度解析与实战应用
fpga开发·音视频
hexiaoyan82710 小时前
【无标题】高速信号处理设计原理图:413-基于双XCVU9P+C6678的100G光纤加速卡
fpga开发·高速信号处理·光纤加速·xcvu9p芯片·硬件加速卡
search711 小时前
数字电子技术基础
fpga开发
ooo-p11 小时前
FPGA学习篇——Verilog学习之“触摸按键控制LED灯”
学习·fpga开发
全栈开发圈1 天前
干货分享|深度学习计算的FPGA优化思路
人工智能·深度学习·fpga开发