技术栈

[HDLBits] Dff8p

向盟约宣誓2023-08-20 17:54

Create 8 D flip-flops with active high synchronous reset. The flip-flops must be reset to 0x34 rather than zero. All DFFs should be triggered by the negative edge of clk.

复制代码
module top_module (
    input clk,
    input reset,
    input [7:0] d,
    output [7:0] q
);
    always@(negedge clk) begin
        if(reset)
            q<=8'h34;
        else
            q<=d;
    end
endmodule
上一篇:小程序商品如何指定打印机
下一篇:Lua 语言笔记(一)
相关推荐
Js_cold
1 小时前
Verilog函数function
开发语言·fpga开发·verilog
Js_cold
4 小时前
Verilog任务task
开发语言·fpga开发·verilog
brave and determined
6 小时前
可编程逻辑器件学习(day3):FPGA设计方法、开发流程与基于FPGA的SOC设计详解
嵌入式硬件·fpga开发·soc·仿真·电路·时序·可编程逻辑器件
Lee_yayayayaya
9 小时前
锁相环技术及FPGA实现
fpga开发
Js_cold
14 小时前
Verilog局部参数localparam
开发语言·fpga开发·verilog
promising-w
14 小时前
【FPGA】使用移位实现LED流水灯
fpga开发
爱吃汽的小橘
15 小时前
ZYNQ介绍
fpga开发
ThreeYear_s
1 天前
电力电子技术学习路径与FPGA/DSP技术结合方向(gemini生成)
学习·fpga开发
奋斗的牛马
1 天前
FPGA—ZYNQ学习spi(六)
单片机·嵌入式硬件·学习·fpga开发·信息与通信
GateWorld
1 天前
FPGA核心约束类型与语法
fpga开发
热门推荐
01GitHub 镜像站点02UV安装并设置国内源03综合整理:pdf预览显示:你尝试预览的文件可能对你的计算机有害。如果你信任此文件以及其来源,请打开此文件以看其内容,如何解决以正常预览文件04Linux下V2Ray安装配置指南05BongoCat - 跨平台键盘猫动画工具06安娜的档案(Anna’s Archive) 镜像网站/国内最新可访问入口(持续更新)07jdk21下载、安装(Windows、Linux、macOS)08npm使用国内淘宝镜像的方法09PyCharm 社区版全平台安装指南10NVIDIA显卡驱动、CUDA、cuDNN 和 TensorRT 版本匹配指南