URL
https://opencores.org/ocsvn/minsoc/minsoc/trunk
Subversion Repositories minsoc
Compare Revisions
- This comparison shows the changes necessary to convert path
/minsoc/branches/verilator/sim/run
- from Rev 133 to Rev 139
- ↔ Reverse comparison
Rev 133 → Rev 139
/run_bench
0,0 → 1,13
#!/bin/bash |
|
set -o errexit |
set -o nounset |
set -o pipefail |
set -o posix # Make command substitution subshells inherit the errexit option. |
# Otherwise, the 'command' in this example will not fail for non-zero exit codes: echo "$(command)" |
|
# A word count should always deliver the number of bytes in the hex file, |
# regardless of the number of hex bytes per line. |
FIRMWARE_SIZE_IN_BYTES="$(wc -w <"$1")" |
|
vvp -M ../../bench/verilog/vpi/ -mjp-io-vpi minsoc_bench +file_name="$1" +firmware_size="$FIRMWARE_SIZE_IN_BYTES" |
run_bench
Property changes :
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: generate_bench
===================================================================
--- generate_bench (nonexistent)
+++ generate_bench (revision 139)
@@ -0,0 +1,2 @@
+#!/bin/sh
+iverilog -c ../../prj/sim/minsoc_verilog.src -o minsoc_bench
generate_bench
Property changes :
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property
Index: start_server
===================================================================
--- start_server (nonexistent)
+++ start_server (revision 139)
@@ -0,0 +1,2 @@
+#!/bin/sh
+adv_jtag_bridge -x0 -l 0:4 -c 0x8 vpi
start_server
Property changes :
Added: svn:executable
## -0,0 +1 ##
+*
\ No newline at end of property