URL
https://opencores.org/ocsvn/versatile_library/versatile_library/trunk
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 151 |
Rev 152 |
Line 5184... |
Line 5184... |
opcode_sra: dout = (din >> s) | ({32{din[31]}} << (6'd32-{1'b0,s}));
|
opcode_sra: dout = (din >> s) | ({32{din[31]}} << (6'd32-{1'b0,s}));
|
//opcode_ror: dout = not yet implemented
|
//opcode_ror: dout = not yet implemented
|
default: dout = din << s;
|
default: dout = din << s;
|
endcase
|
endcase
|
end
|
end
|
engenerate
|
endgenerate
|
endmodule
|
endmodule
|
// logic unit
|
// logic unit
|
// supporting the following logic functions
|
// supporting the following logic functions
|
// a and b
|
// a and b
|
// a or b
|
// a or b
|
© copyright 1999-2025
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.