URL
https://opencores.org/ocsvn/aemb/aemb/trunk
[/] [aemb/] [trunk/] [rtl/] [verilog/] [aeMB2_exec.v] - Diff between revs 205 and 206
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 205 |
Rev 206 |
Line 76... |
Line 76... |
reg exc_ill; // illegal instruction exception
|
reg exc_ill; // illegal instruction exception
|
|
|
//TODO: OPTIMISE!
|
//TODO: OPTIMISE!
|
wire wILL =
|
wire wILL =
|
((opc_of[5:4] == 2'o1) & opc_of[2]) | // illegal extended arithmetic
|
((opc_of[5:4] == 2'o1) & opc_of[2]) | // illegal extended arithmetic
|
((opc_of[5:4] == 2'o3) & &opc_of[1:0]); // illegal LD/ST
|
(&opc_of[5:4] & &opc_of[1:0]); // illegal LD/ST
|
//(opc_of == 6'o23) | (opc_of == 6'o24) | (opc_of == 6'o25) | (opc_of == 6'o26) | opc_of == 6'o27) |
|
//(opc_of == 6'o23) | (opc_of == 6'o24) | (opc_of == 6'o25) | (opc_of == 6'o26) | opc_of == 6'o27) |
|
//(opc_of == 6'o32) | (opc_of == 6'o34) | (opc_of == 6'o35) | (opc_of == 6'o36) | opc_of == 6'o37) |
|
//(opc_of == 6'o32) | (opc_of == 6'o34) | (opc_of == 6'o35) | (opc_of == 6'o36) | opc_of == 6'o37) |
|
//(opc_of == 6'o63) | (opc_of == 6'o67) | (opc_of == 6'o73) | (opc_of == 6'o77); // illegal load/store
|
//(opc_of == 6'o63) | (opc_of == 6'o67) | (opc_of == 6'o73) | (opc_of == 6'o77); // illegal load/store
|
|
|
always @(posedge gclk)
|
always @(posedge gclk)
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.