[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
相关推荐
第二层皮-合肥9 小时前
50天精通FPGA设计第八天-门电路基础知识
fpga开发
超能力MAX11 小时前
八股-异步时钟单脉冲传输
fpga开发
燎原星火*12 小时前
selectio
fpga开发
sam-zy12 小时前
PY32F406K1CU6 FLASH模拟EEPROM
单片机·嵌入式硬件·fpga开发
sam-zy13 小时前
PY32F403K1CU6定时器1~6基本配置,1ms中断,每隔1秒打印
单片机·嵌入式硬件·fpga开发
Saniffer_SH14 小时前
【每日一题】PCIe 里的 RefClk (Reference Clock) 到底是干什么的?
服务器·驱动开发·单片机·嵌入式硬件·fpga开发·计算机外设·硬件架构
测试专家14 小时前
FPGA在TSN板卡应用
fpga开发
stay_cloud15 小时前
HDMI字符显示 —— 基于Genesys2
fpga·hdmi·genesys2
碎碎思15 小时前
通过 UART 实现远程 AXI 访问:让 FPGA 调试更灵活
fpga开发
ThreeYear_s15 小时前
【FPGA+DSP系列】——DSP的EPWM外设注意事项
fpga开发