Verilog, Pipelined ProcessorsCPSC 培训教程文件.pptVIP

  • 3
  • 0
  • 约9.76千字
  • 约 45页
  • 2017-02-07 发布于江苏
  • 举报

Verilog, Pipelined ProcessorsCPSC 培训教程文件.ppt

Verilog, Pipelined Processors CPSC 321 Andreas Klappenecker Today’s Menu Verilog Pipelined Processor Recall: n-bit Ripple Carry Adder module ripple(cin, X, Y, S, cout); parameter n = 4; input cin; input [n-1:0] X, Y; output [n-1:0] S; output cout; reg [n-1:0] S; reg [n:0] C; reg cout; integer k; Recall: ‘=’ versus ‘=’ initial begin a=1; b=2; c=3; x=4; #5 a = b+c; // wait 5 units, grab b,c, // compute a=b+c=2+3 d = a; // d = 5 = b+c at time t=5. x = #6 b+c; // grab b+c now at t=5, don’t stop // assign

您可能关注的文档

文档评论(0)

1亿VIP精品文档

相关文档