?? a86_offset_sel.v
字號:
// http://gforge.openchip.org/projects/a86
`include "timescale.v"
module a86_offset_sel(
sel,
ea,
sp,
ip,
offset);
input [1:0] sel;
input [15:0] ea;
input [15:0] sp;
input [15:0] ip;
output [15:0] offset;
reg [15:0] offset;
always @ (sel,sp,ip,ea)
case(sel)
2'b01: offset = sp;
2'b10: offset = ip;
default offset = ea;
endcase
//always @(sp,ip,ea) offset = 16'h1234;
endmodule
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -