摘要: 1.描述电路图里面的一个子模块 Assume that you want to implement hierarchical Verilog code for this circuit, using three instantiations of a submodule that has a fli 阅读全文
posted @ 2021-09-04 17:31 冰峰漫步 阅读(544) 评论(0) 推荐(0)
摘要: Build this LFSR. The reset should reset the LFSR to 1 module top_module( input clk, input reset, // Active-high synchronous reset to 5'h1 output reg [ 阅读全文
posted @ 2021-09-04 15:16 冰峰漫步 阅读(358) 评论(0) 推荐(0)
摘要: // 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, sele 阅读全文
posted @ 2021-09-04 12:03 冰峰漫步 阅读(1491) 评论(0) 推荐(0)
摘要: verilog代码: // Build a 100-bit left/right rotator, with synchronous load and left/right enable. //A rotator shifts-in the shifted-out bit from the othe 阅读全文
posted @ 2021-09-04 10:51 冰峰漫步 阅读(524) 评论(0) 推荐(0)
摘要: Shift4 Build a 4-bit shift register (right shift), with asynchronous reset, synchronous load, and enable. areset: Resets shift register to zero. load: 阅读全文
posted @ 2021-09-04 10:26 冰峰漫步 阅读(497) 评论(0) 推荐(0)