|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?注册
x
//********************************************************************************
//移位处理单元模块
//*********************************************************************************
module shift_process(clk,rst,shift_in_valid,shift_ctrl,up_in_real,up_in_image,
dn_in_real,dn_in_image,
shift_out_valid,up_out_real,up_out_image,dn_out_real,
dn_out_image);
input clk,rst,shift_in_valid,shift_out_valid;
input shift_ctrl[1:0],
up_in_real[11:0],up_in_image[11:0], dn_in_real[11:0], dn_in_image[11:0];
//分别是上一级和下一级RAM中的复数的实部和虚部输入
output up_out_real[9:0],up_out_image[9:0],dn_out_real[9:0], dn_out_image[9:0];
//分别是进行移位操作后的复数的实部和虚部输出
endmodule
编译过后
Error (10773): Verilog HDL error at shift_process.v(10): declaring module ports or function arguments with unpacked array types requires SystemVerilog extensions
Error (10773): Verilog HDL error at shift_process.v(11): declaring module ports or function arguments with unpacked array types requires SystemVerilog extensions
Error (10773): Verilog HDL error at shift_process.v(13): declaring module ports or function arguments with unpacked array types requires SystemVerilog extensions |
|