摘要: UART的使用中叶用到了奇偶校验,在Hdlbits中也有这样的题目 阅读全文
posted @ 2024-04-16 16:13 江左子固 阅读(9) 评论(0) 推荐(0) 编辑
摘要: ResNet (Residual net)是残差网络的通用概念,而 ResNet50 是一个具体的网络结构,其由50个卷积层组成。ResNet50 是指包含了50个卷积层(包括卷积层、池化层、全连接层等)的 ResNet 网络。ResNet50 是基于 ImageNet 数据集上的训练所提出的一个具 阅读全文
posted @ 2024-04-16 15:48 江左子固 阅读(551) 评论(0) 推荐(0) 编辑
摘要: 题目网站 module top_module( input d, input done_counting, input ack, input [9:0] state, // 10-bit one-hot current state 这个是独热码输入现态 output B3_next, output 阅读全文
posted @ 2024-04-16 04:05 江左子固 阅读(17) 评论(0) 推荐(0) 编辑
摘要: 题目网站 module top_module ( input clk, input reset, // Synchronous reset input data, output [3:0] count, output counting, output done, input ack ); reg [ 阅读全文
posted @ 2024-04-16 04:02 江左子固 阅读(15) 评论(0) 推荐(0) 编辑
摘要: 题目网站 module top_module ( input clk, input reset, // Synchronous reset input data, output shift_ena, output counting, input done_counting, output done, 阅读全文
posted @ 2024-04-16 03:59 江左子固 阅读(14) 评论(0) 推荐(0) 编辑
摘要: module top_module ( input clk, input reset, // Synchronous reset output shift_ena); parameter IDLE = 2'd0, ENA = 2'd1, STOP = 2'd2; reg [1:0] current_ 阅读全文
posted @ 2024-04-16 03:51 江左子固 阅读(13) 评论(0) 推荐(0) 编辑
摘要: 题目网站 module top_module ( input clk, input reset, // Synchronous reset input data, output start_shifting); parameter IDLE = 3'd0, S1 = 3'd1, S2 = 3'd2; 阅读全文
posted @ 2024-04-16 03:44 江左子固 阅读(20) 评论(0) 推荐(0) 编辑
摘要: This is the first component in a series of five exercises that builds a complex counter out of several smaller circuits. See the final exercise for th 阅读全文
posted @ 2024-04-16 03:40 江左子固 阅读(18) 评论(0) 推荐(0) 编辑
摘要: Build a counter that counts from 0 to 999, inclusive, with a period of 1000 cycles. The reset input is synchronous, and should reset the counter to 0. 阅读全文
posted @ 2024-04-16 03:38 江左子固 阅读(16) 评论(0) 推荐(0) 编辑
摘要: 题目网站 参考的CSDN网站 module top_module ( input clk, input resetn, // active-low synchronous reset input x, input y, output f, output g ); parameter A=0, B=1 阅读全文
posted @ 2024-04-16 03:21 江左子固 阅读(28) 评论(0) 推荐(0) 编辑
摘要: 题目网站 module top_module ( input clk, input resetn, // active-low synchronous reset input [3:1] r, // request output [3:1] g // grant ); parameter A = 2 阅读全文
posted @ 2024-04-16 03:16 江左子固 阅读(13) 评论(0) 推荐(0) 编辑
摘要: 题目网站 module top_module ( input [5:0] y, input w, output Y1, output Y3 ); assign Y1 = y[0] & w; assign Y3 = (y[1] | y[2] | y[4] | y[5]) & ~w; endmodule 阅读全文
posted @ 2024-04-16 03:15 江左子固 阅读(11) 评论(0) 推荐(0) 编辑
摘要: 题目网站 module top_module ( input clk, input reset, // Synchronous active-high reset input w, output z ); parameter A = 3'd0, B = 3'd1, C = 3'd2; paramet 阅读全文
posted @ 2024-04-16 03:13 江左子固 阅读(17) 评论(0) 推荐(0) 编辑
摘要: 题目网站 module top_module ( input clk, input reset, // Synchronous active-high reset input w, output z ); parameter A = 3'd0, B = 3'd1, C = 3'd2; paramet 阅读全文
posted @ 2024-04-16 03:11 江左子固 阅读(15) 评论(0) 推荐(0) 编辑
摘要: module top_module ( input [6:1] y, input w, output Y2, output Y4); assign Y2 = ~w & y[1]; assign Y4 = (w & y[2])|(w & y[3])|(w & y[5])|(w & y[6]); end 阅读全文
posted @ 2024-04-16 03:04 江左子固 阅读(12) 评论(0) 推荐(0) 编辑
摘要: 题目网站 画出卡诺图,可得: module top_module ( input [3:1] y, input w, output Y2); assign Y2 = (y == 3'b001 | y == 3'b101) & ~w | (y == 3'b001 | y == 3'b010 | y = 阅读全文
posted @ 2024-04-16 03:03 江左子固 阅读(14) 评论(0) 推荐(0) 编辑
摘要: 题目网站 module top_module ( input clk, input [2:0] y, input x, output Y0, output z ); assign Y0 = ((~y[2]&y[0])|(y==3'b100))&~x | (~y[2]&~y[0])&x; assign 阅读全文
posted @ 2024-04-16 03:00 江左子固 阅读(13) 评论(0) 推荐(0) 编辑
摘要: 题目网站 module top_module ( input clk, input reset, // Synchronous reset input x, output z ); parameter S0 = 3'b000, S1 = 3'b001, S2 = 3'b010; parameter 阅读全文
posted @ 2024-04-16 02:58 江左子固 阅读(14) 评论(0) 推荐(0) 编辑
摘要: Consider a finite state machine with inputs s and w. Assume that the FSM begins in a reset state called A, as depicted below. The FSM remains in state 阅读全文
posted @ 2024-04-16 02:56 江左子固 阅读(21) 评论(0) 推荐(0) 编辑
摘要: The following diagram is a Mealy machine implementation of the 2's complementer. Implement using one-hot encoding. module top_module ( input clk, inpu 阅读全文
posted @ 2024-04-16 02:04 江左子固 阅读(25) 评论(0) 推荐(0) 编辑