摘要: // a 3-input look-up-table // In this question, you will design a circuit for an 8x1 memory, // where writing to the memory is accomplished by shiftin 阅读全文
posted @ 2021-09-06 21:38 冰峰漫步 阅读(372) 评论(0) 推荐(0) 编辑
摘要: ## 题目要求 使用verilog描述如图所示得移位寄存器: Write a top-level Verilog module (named top_module) for the shift register, assuming that n = 4. Instantiate four copie 阅读全文
posted @ 2021-09-06 19:37 冰峰漫步 阅读(598) 评论(0) 推荐(0) 编辑
摘要: //四级移位寄存器 module top_module ( input clk, input resetn, // synchronous reset input in, output reg out); reg [2:0] Q; always @(posedge clk)begin if(~res 阅读全文
posted @ 2021-09-06 14:21 冰峰漫步 阅读(444) 评论(0) 推荐(0) 编辑
摘要: //Build a 32-bit Galois LFSR with taps at bit positions 32, 22, 2, and 1. 草图 verilog描述 module top_module( input clk, input reset, // Active-high synch 阅读全文
posted @ 2021-09-06 10:06 冰峰漫步 阅读(753) 评论(0) 推荐(0) 编辑