VCD for power
This commit is contained in:
@@ -381,15 +381,7 @@ Instruction *WordDecoder::decode(const std::vector<Byte> &v, Size &idx) {
|
||||
|
||||
imeed = 0 | (bits_10_1 << 1) | (bit_11 << 11) | (bits_19_12 << 12) | (bit_20 << 20);
|
||||
|
||||
// cout << "Immediate src: " << hex << imeed << "\n";
|
||||
// cout << "bit 20 = " << bit_20 << '\n';
|
||||
|
||||
// if (bit_20 == 1)
|
||||
// {
|
||||
// imeed = imeed * -1;
|
||||
// }
|
||||
|
||||
inst.setSrcImm(signExt(imeed, 21, j_immed_mask));
|
||||
inst.setSrcImm(signExt(imeed, 20, j_immed_mask));
|
||||
usedImm = true;
|
||||
break;
|
||||
defualt:
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
echo start > results.txt
|
||||
|
||||
# echo ../kernel/vortex_test.hex
|
||||
# ./harptool -E -a rv32i --core ../runtime/mains/simple/vx_simple_main.hex -s -b 1> emulator.debug
|
||||
./harptool -E -a rv32i --core ../benchmarks/opencl/sgemm/sgemm.hex -s -b 1> emulator.debug
|
||||
./harptool -E -a rv32i --core ../runtime/mains/simple/vx_simple_main.hex -s -b 1> emulator.debug
|
||||
# ./harptool -E -a rv32i --core ../benchmarks/opencl/sgemm/sgemm.hex -s -b 1> emulator.debug
|
||||
# ./harptool -E -a rv32i --core ../runtime/mains/vector_test/vx_vector_main.hex -s -b 1> emulator.debug
|
||||
|
||||
Reference in New Issue
Block a user