📄 alu_shft.txt
字号:
`timescale 1ns/100ps
//_____________________________________________
// Company : tud
// Author : ander
// E-Mail : <email>
//
// Date : Thu Nov 2 12:22:30 2006
// Last Change : Thu Nov 2 12:22:30 2006
// Module Name : alu_shft
// Filename : alu_shft.v
// Project Name : prz/tutorial06
// Description : <short description>
//
//_____________________________________________
module alu_shft (
reg_alu_opb_bus,
reg_cy,
alu_shft_res,
cy_shft_res
);
input [7:0] reg_alu_opb_bus;
input reg_cy;
output [7:0] alu_shft_res;
output cy_shft_res;
reg [7:0] alu_shft_res;
reg cy_shft_res;
always @(reg_alu_opb_bus or reg_cy)
begin
{cy_shft_res, alu_shft_res[7:0]} = {reg_alu_opb_bus[7:0], reg_cy};
end
endmodule
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -