ucb-bar / sha3

Other
76 stars 19 forks source link

VCS Errors #7

Closed IT302 closed 8 years ago

IT302 commented 8 years ago

I am trying to get the SHA3 co-processor to run on a zed board by following the README. I get errors, shown below, when I run make -j4 run CONFIG=Sha3FPGAConfig . Tests using the emulator seems to be working.

cd . && ./simv-Top-Sha3FPGAConfig -q +ntb_random_seed_automatic +dramsim +verbose +max-cycles=100000000 +loadmem=output/rv64ui-p-simple.hex 3>&1 1>&2 2>&3 | /zfs/Scratch2/techcon-sha3-testbench/toolchain/bin/spike-dasm > output/rv64ui-p-simple.out && [ $PIPESTATUS -eq 0 ] cd . && ./simv-Top-Sha3FPGAConfig -q +ntb_random_seed_automatic +dramsim +verbose +max-cycles=100000000 +loadmem=output/rv64ui-p-addi.hex 3>&1 1>&2 2>&3 | /zfs/Scratch2/techcon-sha3-testbench/toolchain/bin/spike-dasm > output/rv64ui-p-addi.out && [ $PIPESTATUS -eq 0 ] ln -fs /zfs/Scratch2/techcon-sha3-testbench/toolchain/riscv64-unknown-elf/share/riscv-tests/benchmarks/mt-matmul.riscv.hex output/mt-matmul.riscv.hex cd . && ./simv-Top-Sha3FPGAConfig -q +ntb_random_seed_automatic +dramsim +verbose +max-cycles=100000000 +loadmem=output/rv64ui-p-and.hex 3>&1 1>&2 2>&3 | /zfs/Scratch2/techcon-sha3-testbench/toolchain/bin/spike-dasm > output/rv64ui-p-and.out && [ $PIPESTATUS -eq 0 ] NOTE: automatic random seed used: 3604095797 NOTE: automatic random seed used: 3687568471 NOTE: automatic random seed used: 1822256738 NOTE: automatic random seed used: 825286717 make: * [output/rv64ui-p-addi.out] Error 1 make: * Waiting for unfinished jobs.... make: * [output/rv64ui-p-add.out] Error 1 make: * [output/rv64ui-p-simple.out] Error 1 make: *\ [output/rv64ui-p-and.out] Error 1

The output of output/rv64ui-p-simple.out is :

C0: 1792531661 [0] pc=[a8d42a18a8] W[r 0=4075db804075db80][1] R[r30=8818921088189210] R[r 2=36a8fb6d36a8fb6d] inst=[562f4dac] lw a1, 88(a1) * FAILED * ( timeout) after 100000001 simulation cycles

IT302 commented 8 years ago

Closing. Using a clean environment fixed the problem.