Circuits--Sequential--Counters

(11)HDLBits-Circuits-Sequential Logic-Counters 本文为本人在HDLBits-Circuits-Sequential Logic-Counters上的学习记录 阅读详情

1.Four-bit binary counter

module top_module (
    input clk,
    input reset,      // Synchronous active-high reset
    output [3:0] q);
 
    always@(posedge clk)
        begin
            if(reset)
                q<=0;
            else
                begin
                   q<=q+1'b1; 
                end
        end
    
endmodule

2.Decade counter

module top_module (
    input clk,
    input reset,        // Synchronous active-high reset
    output [3:0] q);
 
    always@(posedge clk)
        begin
            if(reset)
                q<=0;
            else 
                begin
                if(q<4'b1010)
                    q<=q+1'b1;
                if(q==4'b1001)
                    q<=0;
                end
        end
    
endmodule

3.Decade counter  again

module top_module (
    input clk,
    input reset,
    output [3:0] q);
    
    always@(posedge clk)
        begin
            if(reset)
                q<=1;
            else
                begin
                    if(q<10)
                        q<=q+1;
                    else
                        q<=1;
                end
                
        end
 
endmodule

4.Slow decade counter

module top_module (
    input clk,
    input slowena,
    input reset,
    output [3:0] q);
 
    always@(posedge clk)
        begin
            if(reset)
                q<=0;
            else
                begin
                    if(slowena==0)
                        q<=q;
                    else
                        begin
                        if(q<10)
                            q<=q+1;
                        if(q==9)
                            q<=0;
                        end
                end
        end
    
endmodule

5.Counter 1-12

module top_module (
    input clk,
    input reset,
    input enable,
    output [3:0] Q,
    output c_enable,
    output c_load,
    output [3:0] c_d
); //
 
    assign c_enable=enable;
    assign c_load = (reset|((enable==1)&(Q==4'd12)));  //将counter置为1
    assign c_d = c_load ? 4'd1 : 4'd0;
    count4 the_counter (clk, c_enable, c_load, c_d ,Q);
   
endmodule

6.Counter 1000

module top_module (
    input clk,
    input reset,
    output OneHertz,
    output [2:0] c_enable
); //
 
    wire [3:0] one;
    wire [3:0] ten;
    wire [3:0] hun;
    
    assign c_enable = {(one==9)&(ten==9),(one==9),1'b1};
    assign OneHertz = {(one==9)&(ten==9)&(hun==9)};
    bcdcount counter0 (clk, reset, c_enable[0],one);
    bcdcount counter1 (clk, reset, c_enable[1],ten);
    bcdcount counter2 (clk, reset, c_enable[2],hun);
endmodule

7. 4-digit decimal counter

module top_module (
    input           clk,
    input           reset,
    output [3:1]    ena,
    output [15:0]   q 
);

    reg [3:0] one;
    reg [3:0] ten;
    reg [3:0] hun;
    reg [3:0] thou;

    always @(posedge clk) begin
        if (reset) begin
            one <= 4'b0;
        end

        else if(one == 4'd9) begin
            one <= 4'b0;
        end  
        else begin
            one <= one + 4'd1;
        end
        
    end

    always @(posedge clk) begin
        if (reset) begin
            ten <= 4'b0;
        end
       
        else if ((one == 4'd9) & (ten == 4'd9)) begin
            ten <= 4'b0;
        end
        
        else if (one == 4'd9) begin
            ten <= ten + 4'd1;
        end
    end

    always @(posedge clk) begin
        if (reset) begin
            hun <= 4'b0;
        end
       
        else if ((one == 4'd9) & (ten == 4'd9) & (hun == 4'd9)) begin
            hun <= 4'b0;
        end
        
        else if ((one == 4'd9) & (ten  == 4'd9)) begin
            hun <= hun + 4'd1;
        end
    end
    
    always @(posedge clk) begin
        if (reset) begin
            thou <= 4'b0;
        end
       
        else if ((one == 4'd9) & (ten == 4'd9) & (hun == 4'd9) & (thou == 4'd9)) begin
            thou <= 4'b0;
        end
        
        else if ((one == 4'd9) & (ten  == 4'd9) & (hun == 4'd9)) begin
            thou <= thou + 4'd1;
        end
    end

    assign q = {thou,hun,ten,one};
    assign ena[1] = (one == 4'd9) ? 1'b1 : 1'b0;
    assign ena[2] =((ten == 4'd9) & (one == 4'd9)) ? 1'b1 : 1'b0;
    assign ena[3] = ((hun == 4'd9) & (ten == 4'd9) & (one == 4'd9)) ? 1'b1 : 1'b0;

endmodule

8.12-hour clock

module top_module(
    input clk,
    input reset,
    input ena,
    output pm,
    output [7:0] hh,
    output [7:0] mm,
    output [7:0] ss); 
	
    cnt12 cnt_h(clk, reset, ena&&ss==8'h59&&mm==8'h59, pm, hh);
    cnt60 cnt_m(clk, reset, ena&&ss==8'h59, mm);
    cnt60 cnt_s(clk, reset, ena, ss);
endmodule
 
// 1-12计数器module
module cnt12(input clk, 
             input reset, 
             input ena, 
             output pm, 
             output reg[7:0] q
             );

    always @(posedge clk) begin
        if(reset) begin
            q <= 8'h12;  	//重置为12点
            pm <= 0;	    //重置为am
        end
        else if(ena) begin
            if(q == 8'h12)  //到12点就重置为1点
                q <= 8'h01;
            else if(q[3:0] == 9) begin  
           		q[3:0] <= 0;   
            	q[7:4] <= q[7:4] + 1;
            end
            else
                q[3:0] <= q[3:0] + 1;
        end
        pm <= (q == 8'h11) && ena ? ~pm : pm;  
       
    end
endmodule

// 0-59计数器module
module cnt60(input clk,
             input reset, 
             input ena, 
             output reg[7:0] q
);

    always @(posedge clk) begin
        if(reset)
            q <= 0;
        else if(ena) begin
            if(q[3:0] == 9) begin
            	q[3:0] <= 0;
                if(q[7:4] == 5)    //q=8'h59复位
                    q[7:4] <= 0;
                else
                    q[7:4] <= q[7:4] + 1;
            end
            else
            	q[3:0] <= q[3:0] + 1;
        end
    end
endmodule

HDLBits练习(十二)Circuits_Sequential Logic_Counters Count15 要求:构建一个从 0 到 15(含)计数的 4 位二进制计数器,周期为 16。复位输入是同步的,应将计数器复位为 0。 弄清楚计数器的清零和计数条件就很容易。 module top_module ( input clk, input reset, // Synchronous active-high reset output [3:0] q); reg [3:0] q_reg; always@(posedge clk) 阅读详情

相关推荐

CEG 2136 LAB 2 Design Simulation and Experimental Verification of Sequential Logic CircuitsPython

Probe* Wiresii.DE2-115UserManualVirtualCampusa.3bitmodulo6countercountROResetcountQ2Q1Q0ROCCLKResetROb.4-bitBCDcounterBQ3,BQ2,BQ1 ,BQcountBROBQ3BQ2BQ1BQ0countCCLKBCDPART I -

qq__99515681的博客 1018

Circuits-Sequential Logic-Counters

目录1、Four-bit binary counter2、Decade counter3、Decade counter again4、Slow decade counter5、Counter 1-126、Counter 10007、4-digit decimal counter8、12-hour clock参考资料:https://hdlbits.01xz.net/ 1、Four-bit binary counter Build a 4-bit binary counter that counts fro

醜奴兒的博客 295

【信息科学与工程学】【算法优化领域】计算机科学与自动化——第二百二十三篇 基于计算机物理结构和系统架构的优化算法03

设计层级/领域向量特征(几何/结构/参数)应用场景应用类型方法/技术架构设计​1. 流处理器核心数 (SP Count) 2. 纹理映射单元数 (TMU Count) 3. 光栅操作单元数 (ROP Count) 4. 缓存层次结构 (L1/L2/L3大小) 5. 内存总线宽度 (Memory Bus Width) 6. 时钟频率向量 (Base/Boost Clocks) 7. 功耗预算向量 (TDP, Power States) 8. 指令集扩展支持 (SIMD

weixin_49199313的博客 865

【verilog学习18】HDLBits:Circuits_Sequential Logic_Counters

Circuits_Sequential Logic_Counters

weixin_48052679的博客 821

Delta-Sigma调制(DSM)技术

前言 数字信号处理和通信系统的性能很大程度上受到了模拟信号到数字信号转换接口——ADC的精度和分辨率的限制。而传统的线性脉冲编码调制(PCM)ADC受到了制造工艺的限制,无法达到很高的分辨率。但基于Delta-Sigma调制技术的ADC可以在现有工艺下实现高分辨率(大于16位),同时由于结构简单,所以易于实现。低成本高性能使得Delta-Sigma调制技术得到了广泛的应用。 Delta-Sigma型ADC的结构原理图如下图所示: 它最大的优势在于仅用1位ADC进行数据转换,同时其模拟电路部分结构简单不需要

阿星的博客 2万+

Isaac Sim 车辆动力学:从参数调优到户外仿真的挑战与实战

本文深入探讨了Isaac Sim在车辆动力学仿真中的应用,从参数调优到户外场景模拟的实战经验。详细解析了悬架系统、轮胎物理模型等核心参数的设置技巧,并分享了应对户外仿真挑战的实用方案。通过Vehicle Wizard高级使用和传感器配置,帮助开发者高效完成车辆仿真与算法开发。

weixin_29192211的博客 406

【HDLBits 刷题 7】Circuits(3)Sequential Logic---Counters

本篇博客对 Circuits 部分的组合逻辑前两节做答案和部分解析,一些比较简单的题目就直接给出答案,有些难度再稍作讲解,每道题的答案不一定唯一,可以有多种解决方案,欢迎共同讨论。生成一个4位二进制计数器,其计数范围为0到15(包括0和15),周期为16。复位输入是同步的,应将计数器复位为0。 Count10 构建一个计数从 0 到 9(包括 0 和 9)的计数器,周期为 10。复位输入是同步的,应将计数器复位为0。 Count1to10制作一个计数为 1 到 10(包括 1)的计数器。复位输入

记录学习历程 3822

用人话讲明白线性回归LinearRegression

目录 什么是回归 一元线性回归 损失函数 最小二乘估计 小结 1. 什么是回归 当我们学习一门新课程、接触一个新专业时,总会对该领域的专有名词感到困惑,甚至看完解释仍难以理解其含义。在我们一起学习machine learning的过程中,我会尽量对相关名词用“人话”做一遍解释,以减少学习的“痛苦感”。 譬如今天要学的线性“回归”,这个回归(regression)和我们平时说的“回归祖国”的回...

化简可得 1万+

HDLBits刷题记录 Circuits—Sequential Logic—Counters

Counter 1000(1000分频1Hz输出, 4-digit decimal counter(4位数的BCD计数器)

mccree618的博客 197

晶闸管选型参数,结构原理,工艺与注意问题总结

闸管(Thyristor)是一种半导体开关器件,也被称为可控硅整流器(SCR, Silicon Controlled Rectifier)。它可以在高电压和大电流条件下工作,常被用于交流电的控制和整流。本文对晶闸管的工作原理,结构特点,工艺流程,选型参数及设计注意事项进行总结。

fydar的博客 1286

mapbox进阶,dem数据转为等高面,加载转换后的等高面到地图

本文详细介绍如何基于mapbox-gl v3.*.* 版本,使用dem数据转为等高面,加载转换后的等高面到地图,亲测可用。希望能帮助到您。一起学习,加油!加油!

我哎GIS博客 409

HDLBits 系列(7)——Sequential Logic(Counters、Shift Registers、More Circuits)

3.2 Sequential Logic 3.2.2 Counters 1.Four-bit binary counter module top_module ( input clk, input reset, // Synchronous active-high reset output reg [3:0] q); always @(posedge clk)begin if(reset)begin ...

Bronceyang的博客 4958

同步调相机启动与并网控制技术方案

同步调相机起动与并网控制技术方案采用背靠背变流器系统,通过静止变频器(SFC)策略实现无原动机驱动的同步电机从静止到同步转速的平稳起动。方案详细阐述了硬件自检、模块初始化、转子位置检测等关键环节,重点解决启动转矩为零、冲击电流大等挑战。系统基于STM32或C2000系列控制器,包含网侧/机侧变流器、检测保护单元及通信接口,通过励磁脉冲和电压响应分析实现高精度转子初始定位,为后续并网提供必要条件。代码级实现涵盖了ADC自检、数字IO验证及通信端口测试等核心功能。

huanghm88的专栏 310

Circuits--Sequential Logic --Counters--Countslow

网址:https://hdlbits.01xz.net/wiki/Countslow module top_module ( input clk, input slowena, input reset, output [3:0] q); always@(posedge clk)begin if(reset == 1'b1) q = 4'd0; else if(q == 4'd9 && slowe

weixin_43668420的博客 296

RK3588多核NPU并行加速yolo优化教程:基于线程池的高性能推理实现

本教程详细介绍了RK3588多核NPU的并行加速优化方法。RK3588搭载三个独立NPU核心,总计算能力达6TOPS,但传统单线程方式无法充分发挥其性能。文章从硬件架构分析入手,详细讲解了三核心独立处理架构和多种工作模式,并通过代码示例展示了线程池技术的实现原理。线程池通过预创建工作线程、任务队列和条件变量等核心组件,避免了频繁创建线程的开销,能显著提升NPU的并行处理效率。教程还提供了性能计算公式和内存带宽优化策略,帮助开发者最大化利用RK3588的硬件算力,实现高性能AI推理。

LXY_LOVE36的博客 1025

深度学习图神经网络 (GNN) —— 处理图结构数据(六十九)

本文系统介绍了图神经网络(GNN)的核心概念、主流模型及其应用。主要内容包括: GNN基础:阐述了图结构数据的特性(节点数不定、连接不规则),以及GNN相比CNN/RNN的优势在于处理非欧式空间的图数据。 核心机制:重点讲解了消息传递框架(MPNN),通过聚合邻居信息迭代更新节点表示,并分析了GCN的归一化邻接矩阵计算和GAT的注意力权重机制。 典型模型: GCN:基于归一化邻接矩阵的特征传播 GAT:引入注意力机制区分邻居重要性 GraphSAGE:通过采样解决大图扩展性问题 GIN:理论表达能力最强的图

hello.reader 303

Circuits--Sequential Logic--Counters--Countbcd

网址:https://hdlbits.01xz.net/wiki/Countbcd module bcdcount ( input clk, input reset, input ena, output reg [3:0] q ); always @(posedge clk)begin if (reset == 1'b1) q <= 4'b0; else if (ena == 1'b1)

weixin_43668420的博客 175

假人有限元模型

假人模型,车辆碰撞假人有限元模型,适合做乘员安全的研究者利用

HDLBits刷题笔记9:Circuits.Sequential Logic.Counters + Shift Registers

HDLBits刷题网站中,Circuits章节下Sequential Logic子章节的Counters小节和Shift Registers小节的题目和答案

fpga学就完事了 850

深度学习工具包 DeepLearningToolbox

深度学习工具包Deprecation notice.-----This toolbox is outdated and no longer maintained.There are much better tools available for deep learning than this toolbox, e.g. [Theano](http://deeplearning.net/software/theano/), [torch](http://torch.ch/) or [tensorflow](http://www.tensorflow.org/)I would suggest you use one of the tools mentioned above rather than use this toolbox.Best, Rasmus.DeepLearnToolbox================A Matlab toolbox for Deep Learning.Deep Learning is a new subfield of machine learning that focuses on learning deep hierarchical models of data.It is inspired by the human brain's apparent deep (layered, hierarchical) architecture.A good overview of the theory of Deep Learning theory is[Learning Deep Architectures for AI](http://www.iro.umontreal.ca/~bengioy/papers/ftml_book.pdf)For a more informal introduction, see the following videos by Geoffrey Hinton and Andrew Ng.* [The Next Generation of Neural Networks](http://www.youtube.com/watch?v=AyzOUbkUf3M) (Hinton, 2007)* [Recent Developments in Deep Learning](http://www.youtube.com/watch?v=VdIURAu1-aU) (Hinton, 2010)* [Unsupervised Feature Learning and Deep Learning](http://www.youtube.com/watch?v=ZmNOAtZIgIk) (Ng, 2011)If you use this toolbox in your research please cite [Prediction as a candidate for learning deep hierarchical models of data](http://www2.imm.dtu.dk/pubdb/views/publication_details.php?id=6284)```@MASTERSTHESIS\{IMM2012-06284, author = "R. B. Palm", title = "Prediction as a candidate for learning deep hierarchical models of data", year = "2012",}```Contact: rasmusbergpalm at gmail dot comDirectories included in the toolbox-----------------------------------`NN/` - A library for Feedforward Backpropagation Neural Networks`CNN/` - A library for Convolutional Neural Networks`DBN/` - A library for Deep Belief Networks`SAE/` - A library for Stacked Auto-Encoders`CAE/` - A library for Convolutional Auto-Encoders`util/` - Utility functions used by the libraries`data/` - Data used by the examples`tests/` - unit tests to verify toolbox is workingFor references on each library check REFS.mdSetup-----1. Download.2. addpath(genpath('DeepLearnToolbox'));Example: Deep Belief Network---------------------```matlabfunction test_example_DBNload mnist_uint8;train_x = double(train_x) / 255;test_x = double(test_x) / 255;train_y = double(train_y);test_y = double(test_y);%% ex1 train a 100 hidden unit RBM and visualize its weightsrand('state',0)dbn.sizes = [100];opts.numepochs = 1;opts.batchsize = 100;opts.momentum = 0;opts.alpha = 1;dbn = dbnsetup(dbn, train_x, opts);dbn = dbntrain(dbn, train_x, opts);figure; visualize(dbn.rbm{1}.W'); % Visualize the RBM weights%% ex2 train a 100-100 hidden unit DBN and use its weights to initialize a NNrand('state',0)%train dbndbn.sizes = [100 100];opts.numepochs = 1;opts.batchsize = 100;opts.momentum = 0;opts.alpha = 1;dbn = dbnsetup(dbn, train_x, opts);dbn = dbntrain(dbn, train_x, opts);%unfold dbn to nnnn = dbnunfoldtonn(dbn, 10);nn.activation_function = 'sigm';%train nnopts.numepochs = 1;opts.batchsize = 100;nn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.10, 'Too big error');```Example: Stacked Auto-Encoders---------------------```matlabfunction test_example_SAEload mnist_uint8;train_x = double(train_x)/255;test_x = double(test_x)/255;train_y = double(train_y);test_y = double(test_y);%% ex1 train a 100 hidden unit SDAE and use it to initialize a FFNN% Setup and train a stacked denoising autoencoder (SDAE)rand('state',0)sae = saesetup([784 100]);sae.ae{1}.activation_function = 'sigm';sae.ae{1}.learningRate = 1;sae.ae{1}.inputZeroMaskedFraction = 0.5;opts.numepochs = 1;opts.batchsize = 100;sae = saetrain(sae, train_x, opts);visualize(sae.ae{1}.W{1}(:,2:end)')% Use the SDAE to initialize a FFNNnn = nnsetup([784 100 10]);nn.activation_function = 'sigm';nn.learningRate = 1;nn.W{1} = sae.ae{1}.W{1};% Train the FFNNopts.numepochs = 1;opts.batchsize = 100;nn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.16, 'Too big error');```Example: Convolutional Neural Nets---------------------```matlabfunction test_example_CNNload mnist_uint8;train_x = double(reshape(train_x',28,28,60000))/255;test_x = double(reshape(test_x',28,28,10000))/255;train_y = double(train_y');test_y = double(test_y');%% ex1 Train a 6c-2s-12c-2s Convolutional neural network %will run 1 epoch in about 200 second and get around 11% error. %With 100 epochs you'll get around 1.2% errorrand('state',0)cnn.layers = { struct('type', 'i') %input layer struct('type', 'c', 'outputmaps', 6, 'kernelsize', 5) %convolution layer struct('type', 's', 'scale', 2) %sub sampling layer struct('type', 'c', 'outputmaps', 12, 'kernelsize', 5) %convolution layer struct('type', 's', 'scale', 2) %subsampling layer};cnn = cnnsetup(cnn, train_x, train_y);opts.alpha = 1;opts.batchsize = 50;opts.numepochs = 1;cnn = cnntrain(cnn, train_x, train_y, opts);[er, bad] = cnntest(cnn, test_x, test_y);%plot mean squared errorfigure; plot(cnn.rL);assert(er<0.12, 'Too big error');```Example: Neural Networks---------------------```matlabfunction test_example_NNload mnist_uint8;train_x = double(train_x) / 255;test_x = double(test_x) / 255;train_y = double(train_y);test_y = double(test_y);% normalize[train_x, mu, sigma] = zscore(train_x);test_x = normalize(test_x, mu, sigma);%% ex1 vanilla neural netrand('state',0)nn = nnsetup([784 100 10]);opts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samples[nn, L] = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.08, 'Too big error');%% ex2 neural net with L2 weight decayrand('state',0)nn = nnsetup([784 100 10]);nn.weightPenaltyL2 = 1e-4; % L2 weight decayopts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex3 neural net with dropoutrand('state',0)nn = nnsetup([784 100 10]);nn.dropoutFraction = 0.5; % Dropout fraction opts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex4 neural net with sigmoid activation functionrand('state',0)nn = nnsetup([784 100 10]);nn.activation_function = 'sigm'; % Sigmoid activation functionnn.learningRate = 1; % Sigm require a lower learning rateopts.numepochs = 1; % Number of full sweeps through dataopts.batchsize = 100; % Take a mean gradient step over this many samplesnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex5 plotting functionalityrand('state',0)nn = nnsetup([784 20 10]);opts.numepochs = 5; % Number of full sweeps through datann.output = 'softmax'; % use softmax outputopts.batchsize = 1000; % Take a mean gradient step over this many samplesopts.plot = 1; % enable plottingnn = nntrain(nn, train_x, train_y, opts);[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');%% ex6 neural net with sigmoid activation and plotting of validation and training error% split training data into training and validation datavx = train_x(1:10000,:);tx = train_x(10001:end,:);vy = train_y(1:10000,:);ty = train_y(10001:end,:);rand('state',0)nn = nnsetup([784 20 10]); nn.output = 'softmax'; % use softmax outputopts.numepochs = 5; % Number of full sweeps through dataopts.batchsize = 1000; % Take a mean gradient step over this many samplesopts.plot = 1; % enable plottingnn = nntrain(nn, tx, ty, opts, vx, vy); % nntrain takes validation set as last two arguments (optionally)[er, bad] = nntest(nn, test_x, test_y);assert(er < 0.1, 'Too big error');```[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/rasmusbergpalm/deeplearntoolbox/trend.png)](https://bitdeli.com/free "Bitdeli Badge")

老版QQ原生表情gif动态

这是老版的QQ表情,不过全是动态的的,Windows照片查看器是不会动的,可以右击用浏览器打开查看,再说一遍是老版的,只是分享给宁愿用老版也要动态的人。

Circuits--Sequential Logic--Counters--Count clock

网址:https://hdlbits.01xz.net/wiki/Count_clock 自己写: module top_module( input clk, input reset, input ena, output pm, output [7:0] hh, output [7:0] mm, output [7:0] ss); always@(posedge clk ) if (reset == 1'b1)

weixin_43668420的博客 169

怀旧版电脑GBC模拟器

再现原版GBC掌机的界面,电脑运行连游戏界面都一样大小,很怀旧,很真实,(英文版)强烈推荐,很小的文件,很难才找到的。

HDLBits 刷题之我的代码(全)—(Circuits-Sequential Logic-Counters)

#1 module top_module ( input clk, input reset, // Synchronous active-high reset output [3:0] q); always @(posedge clk) begin:counter if(reset == 'd1) begin q <= 'd0; end else begin q &

glassy__sky的博客 209

HDLbits---Circuits---Sequential Logic---Counters

【代码】HDLbits---Circuits---Sequential Logic---Counters。

weixin_50965981的博客 559

HDLBits个人刷题详解合集11-Circuits-Sequential Logic-Counters-HDBits题目分析

HDLBits个人刷题详解合集11-Circuits-Sequential Logic-Counters-HDBits题目分析

weixin_49100631的博客 532

hdlbits.01xz.net /Circuits/Sequential Logic/Counters/12-hour clock

这一题改来改去, 做了好几个小时。

学习笔记 105

hdlbits.01xz.net /Circuits/Sequential Logic/Counters/Counter 1-12

测试ok, 但是不完全一样, 有朋友讲讲么。

学习笔记 119

hdlbits.01xz.net /Circuits/Sequential Logic/Counters/4-digit decimal counter

【代码】hdlbits.01xz.net /Circuits/Sequential Logic/Counters/4-digit decimal counter。

学习笔记 155

FPGA时序约束从入门到入土:Input/Output Delay 与 Slack及避坑一文讲透

FPGA 时序约束就是这样一门"懂的人觉得简单,不懂的人怎么填都违例"的手艺。尤其是 DDR 接口—中心对齐还是边沿对齐?要不要移相?rise 和 fall 为什么必须分开设?数据手册里那个 tCO 到底对应公式里的哪一项?本文把系统同步、源同步、DDR 双边沿、PLL 移相​ 四种场景的 Input/Output Delay 和 Slack 公式一次性推导清楚,附带 数据手册参数提取方法​ 和 40+ 条避坑指南。不求你看完就能闭眼写约束,但至少下次时序违例的时候,你能一眼看出问题所在

xklee的博客 218
上一篇: Circuits--Combinational--Basic Gates_1
下一篇: Circuits--Combinational--Basic
且听风吟567
博客等级 码龄7年 231粉丝 77原创
评论 1
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

个

红包个数最小为10个

元

红包金额最低5元

当前余额3.43元 前往充值 >
需支付:10.00元
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付元
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值