|  | 
 
| 
写了个串型数据的拼接程序,数据分时输入,整体输出。可综合,无语法错误,但modelsim仿真输出一直为低电平,请各位大神能够指出程序中的错误,万分感谢!!module test(input [31:0] text_in,output  [127:0] out
×
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?注册  );
 reg [127:0] int;
 always @(text_in) begin
 int=text_in;
 int={int[127:0],32'h0};
 end
 assign out = int;
 endmodule
 
 激励:
 module test_tb;
 reg [31:0] text_in;
 test uu(.text_in(text_in),
 .out(out));
 initial begin
 
 text_in=32'h11111111;
 
 #30 text_in=32'h22222222;
 
 #30 text_in=32'h11111111;
 
 #30 text_in=32'h22222222;
 
 end
 endmodule
 | 
 |