?? pipadd.v
字號:
`timescale 1ns / 1ps
////////////////////////////////////////////////////////////////////////////////
// Company:
// Engineer:
//
// Create Date: 02:13:37 05/26/07
// Design Name:
// Module Name: pipadd
// Project Name:
// Target Device:
// Tool versions:
// Description:
//
// Dependencies:
//
// Revision:
// Revision 0.01 - File Created
// Additional Comments:
//
////////////////////////////////////////////////////////////////////////////////
module pipadd(clk,indata,addout,shifts);
input[31:0] indata;
input clk;
output shifts;
output[31:0] addout;
reg shifts;
reg[31:0] addout="0000000000000000";
always@(posedge clk)
begin
shifts<=1'b1;
addout<=indata+32'h00000077;
end
endmodule
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -