04 2024 档案
摘要:链接到某一篇笔记:[[ ]] 链接到某一篇笔记中的某个标题:[[ # ]] 链接到某一篇笔记中的某个段落(块):[[ # ^ ]] 为链接创建定义(关键词):[[ | 关键词]] 链接到外部文件如印象笔记:[关键词](链接)
阅读全文
摘要:第1章 强化学习是什么 监督学习的套路——书P11 主要概念和术语——书P12 超参数是无法通过训练自动学会的参数——书P14 阅读至书P25 ——2024.4.28 agent——主体部分 environment——环境 第2章 强化学习的脉络 马尔科夫决策过程(Markov Decision P
阅读全文
摘要:与PDN相结合的论文查找: 1.PDNNet: PDN-Aware GNN-CNN Heterogeneous Network for Dynamic IR Drop Prediction·北大黄茹团队 2.SRAM-PG: Power Delivery Network Benchmarks fro
阅读全文
摘要:丈夫有壮别,不作儿女颜。 风尘孤剑在,湖海一身单。 天下正多事,年华殊未阑。 高楼一挥手,来去我何难。
阅读全文
摘要:ResNet (Residual net)是残差网络的通用概念,而 ResNet50 是一个具体的网络结构,其由50个卷积层组成。ResNet50 是指包含了50个卷积层(包括卷积层、池化层、全连接层等)的 ResNet 网络。ResNet50 是基于 ImageNet 数据集上的训练所提出的一个具
阅读全文
摘要:题目网站 module top_module( input d, input done_counting, input ack, input [9:0] state, // 10-bit one-hot current state 这个是独热码输入现态 output B3_next, output
阅读全文
摘要:题目网站 module top_module ( input clk, input reset, // Synchronous reset input data, output [3:0] count, output counting, output done, input ack ); reg [
阅读全文
摘要:题目网站 module top_module ( input clk, input reset, // Synchronous reset input data, output shift_ena, output counting, input done_counting, output done,
阅读全文
摘要: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_
阅读全文
摘要:题目网站 module top_module ( input clk, input reset, // Synchronous reset input data, output start_shifting); parameter IDLE = 3'd0, S1 = 3'd1, S2 = 3'd2;
阅读全文
摘要: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
阅读全文
摘要: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.
阅读全文
摘要:题目网站 参考的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
阅读全文
摘要:题目网站 module top_module ( input clk, input resetn, // active-low synchronous reset input [3:1] r, // request output [3:1] g // grant ); parameter A = 2
阅读全文
摘要:题目网站 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
阅读全文
摘要:题目网站 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
阅读全文
摘要:题目网站 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
阅读全文
摘要: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
阅读全文
摘要:题目网站 画出卡诺图,可得: 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 =
阅读全文
摘要:题目网站 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
阅读全文
摘要:题目网站 module top_module ( input clk, input reset, // Synchronous reset input x, output z ); parameter S0 = 3'b000, S1 = 3'b001, S2 = 3'b010; parameter
阅读全文
摘要: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
阅读全文
摘要:The following diagram is a Mealy machine implementation of the 2's complementer. Implement using one-hot encoding. module top_module ( input clk, inpu
阅读全文
摘要:You are to design a one-input one-output serial 2's complementer Moore state machine. The input (x) is a series of bits (one per clock cycle) beginnin
阅读全文
摘要:Implement a Mealy-type finite state machine that recognizes the sequence "101" on an input signal named x. Your FSM should have an output signal, z, t
阅读全文
摘要:// way1 module top_module( input clk, input reset, // Synchronous reset input in, output disc, output flag, output err); parameter NONE = 4'd0,ONE = 4
阅读全文
摘要:See also: Serial receiver and datapath We want to add parity checking to the serial receiver. Parity checking adds one extra bit after each data byte.
阅读全文
摘要:See also: Serial receiver Now that you have a finite state machine that can identify when bytes are correctly received in a serial bitstream, add a da
阅读全文
摘要:In many (older) serial communications protocols, each data byte is sent along with a start bit and a stop bit, to help the receiver delimit bytes from
阅读全文
摘要:See also: PS/2 packet parser. Now that you have a state machine that will identify three-byte messages in a PS/2 byte stream, add a datapath that will
阅读全文
摘要:The PS/2 mouse protocol sends messages that are three bytes long. However, within a continuous byte stream, it's not obvious where messages start and
阅读全文
摘要:Given the following state machine with 1 input and 2 outputs: 题目网站 module top_module( input in, input [9:0] state, output [9:0] next_state, output out
阅读全文
摘要:See also: Lemmings1, Lemmings2, and Lemmings3. Although Lemmings can walk, fall, and dig, Lemmings aren't invulnerable. If a Lemming falls for too lon
阅读全文
摘要:See also: Lemmings1 and Lemmings2. In addition to walking and falling, Lemmings can sometimes be told to do useful things, like dig (it starts digging
阅读全文
摘要:See also: Lemmings1. In addition to walking left and right, Lemmings will fall (and presumably go "aaah!") if the ground disappears underneath them. I
阅读全文
摘要:The game Lemmings involves critters with fairly simple brains. So simple that we are going to model it using a finite state machine. In the Lemmings'
阅读全文
摘要:题目网站 1 module top_module ( 2 input clk, 3 input reset, 4 input [3:1] s, 5 output fr3, 6 output fr2, 7 output fr1, 8 output dfr 9 ); 10 parameter A2=3'
阅读全文
摘要:module top_module( input clk, input in, input reset, output out); // parameter A=2'b00,B=2'b01,C=2'b10,D=2'b11; reg [1:0]state,next_state; // State tr
阅读全文
摘要:See also: State transition logic for this FSM The following is the state transition table for a Moore state machine with one input, one output, and fo
阅读全文
摘要:The following is the state transition table for a Moore state machine with one input, one output, and four states. Use the following one-hot state enc
阅读全文
摘要:The following is the state transition table for a Moore state machine with one input, one output, and four states. Use the following state encoding: A
阅读全文
摘要:This is a Moore state machine with two states, two inputs, and one output. Implement this state machine. This exercise is the same as fsm2, but using
阅读全文
摘要:This is a Moore state machine with two states, two inputs, and one output. Implement this state machine. This exercise is the same as fsm2s, but using
阅读全文
摘要:This is a Moore state machine with two states, one input, and one output. Implement this state machine. Notice that the reset state is B. This exercis
阅读全文
摘要:This is a Moore state machine with two states, one input, and one output. Implement this state machine. Notice that the reset state is B. This exercis
阅读全文
摘要:Conway's Game of Life is a two-dimensional cellular automaton. The "game" is played on a two-dimensional grid of cells, where each cell is either 1 (a
阅读全文
摘要:Rule 110 is a one-dimensional cellular automaton with interesting properties (such as being Turing-complete). There is a one-dimensional array of cell
阅读全文
摘要:Rule 90 is a one-dimensional cellular automaton with interesting properties. The rules are simple. There is a one-dimensional array of cells (on or of
阅读全文
摘要:In this question, you will design a circuit for an 8x1 memory, where writing to the memory is accomplished by shifting-in bits, and reading is "random
阅读全文
摘要:Write a top-level Verilog module (named top_module) for the shift register, assuming that n = 4. Instantiate four copies of your MUXDFF subcircuit in
阅读全文
摘要:Implement the following circuit: 题目网站 module top_module ( input clk, input resetn, // synchronous reset input in, output out); reg [3:0]q; assign out=
阅读全文
摘要:See Lfsr5 for explanations. Build a 32-bit Galois LFSR with taps at bit positions 32, 22, 2, and 1. 题目网站 module top_module( input clk, input reset, //
阅读全文
摘要:Write the Verilog code for this sequential circuit (Submodules are ok, but the top-level must be named top_module). Assume that you are going to imple
阅读全文
摘要:A linear feedback shift register is a shift register usually with a few XOR gates to produce the next state of the shift register. A Galois LFSR is on
阅读全文
摘要:Build a 64-bit arithmetic shift register, with synchronous load. The shifter can shift both left and right, and by 1 or 8 bit positions, selected by a
阅读全文
摘要:Build a 100-bit left/right rotator, with synchronous load and left/right enable. A rotator shifts-in the shifted-out bit from the other end of the reg
阅读全文
摘要:Build a 4-bit shift register (right shift), with asynchronous reset, synchronous load, and enable. areset: Resets shift register to zero. load: Loads
阅读全文
摘要:编译器:TPU-MLIR TPU-MLIR是一种专用于处理器的TPU编译器。该编译器项目提供了一个完整的工具链,可以将来自不同深度学习框架(PyTorch, ONNX, TFLite和Caffe)的各种预训练神经网络模型转换为高效的模型文件(bmodel/cvimodel),以便在SOPHON TP
阅读全文
摘要:Android Studio是当前开发App和部署神经网络的常用平台。作为谷歌推出的一个Android集成开发工具,基于IntelliJ IDEA. 类似 Eclipse ADT,Android Studio 提供了集成的 Android 开发工具用于开发和调试。Android Studio能够在L
阅读全文
摘要:Hdlbits的习题文章前前后后做了几遍,每一次都有不一样的感受,题目按照顺序正在整理,截止Circuis->Sequential Logic->Counters这部分之前,练习的文章见我的博客的文章部分,从Counters开始,我将练习的文章迁移至我的博客的随笔部分。 完成了代码的练习,再过一段时
阅读全文
摘要:Create a set of counters suitable for use as a 12-hour clock (with am/pm indicator). Your counters are clocked by a fast-running clk, with a pulse on
阅读全文
摘要:Build a 4-digit BCD (binary-coded decimal) counter. Each decimal digit is encoded using 4 bits: q[3:0] is the ones digit, q[7:4] is the tens digit, et
阅读全文
摘要:From a 1000 Hz clock, derive a 1 Hz signal, called OneHertz, that could be used to drive an Enable signal for a set of hour/minute/second counters to
阅读全文
摘要:Design a 1-12 counter with the following inputs and outputs: Reset Synchronous active-high reset that forces the counter to 1 Enable Set high for the
阅读全文
摘要:Build a decade counter that counts from 0 through 9, inclusive, with a period of 10. The reset input is synchronous, and should reset the counter to 0
阅读全文
摘要:Make a decade counter that counts 1 through 10, inclusive. The reset input is synchronous, and should reset the counter to 1. 题目网站 1 module top_module
阅读全文
摘要:Build a decade counter that counts from 0 through 9, inclusive, with a period of 10. The reset input is synchronous, and should reset the counter to 0
阅读全文
摘要:Build a 4-bit binary counter that counts from 0 through 15, inclusive, with a period of 16. The reset input is synchronous, and should reset the count
阅读全文
摘要:案例二:对文本进行分类,类别有财经、房产、股票、教育、科技、社会、时政、体育、游戏、娱乐 github代码链接点击此文本分类 原作者给出了好几种模型 此次仅针对BiLSTM模型分析。 核心代码如下: class Model(nn.Module): def __init__(self, config)
阅读全文
摘要:原理分析: BiLSTM(双向长短期记忆网络) 是一种循环神经网络(RNN)的变体,它在自然语言处理任务中非常有效,其中包括给定一个长句子预测下一个单词。 这种效果的主要原因包括以下几点: 长短期记忆网络(LSTM)结构:LSTM 是一种特殊的 RNN,专门设计用于解决长序列依赖问题。相比于普通的
阅读全文
摘要:1. 在运行程序时,报错如下: usage: run.py [-h] --model MODEL [--embedding EMBEDDING] [--word WORD] run.py: error: the following arguments are required: --model 答:
阅读全文
摘要:额,大意了,之前只是有想准备nvidia的实习,但是具体时间没有关注,结果这下正正好错过 这下提前细细准备一下nvidia的实习了 公众号 Cascatrix 其他经验
阅读全文

浙公网安备 33010602011771号