URL
https://opencores.org/ocsvn/klc32/klc32/trunk
[/] [klc32/] [trunk/] [rtl/] [verilog/] [REGFETCHB.v] - Diff between revs 2 and 7
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 2 |
Rev 7 |
Line 25... |
Line 25... |
begin
|
begin
|
b <= rfo;
|
b <= rfo;
|
Rn <= ir[15:11];
|
Rn <= ir[15:11];
|
if (opcode==`RRR || (opcode==`RR && (func==`SWX||func==`SHX||func==`SBX)))
|
if (opcode==`RRR || (opcode==`RR && (func==`SWX||func==`SHX||func==`SBX)))
|
state <= REGFETCHC;
|
state <= REGFETCHC;
|
else
|
else begin
|
|
// RIX format ?
|
|
if ((hasConst16 && ir[15:0]==16'h8000) || (isStop))
|
|
state <= FETCH_IMM32;
|
|
else begin
|
|
imm <= {{16{ir[15]}},ir[15:0]};
|
state <= EXECUTE;
|
state <= EXECUTE;
|
end
|
end
|
|
end
|
|
end
|
|
|
No newline at end of file
|
No newline at end of file
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.