Merge pull request #42 from danielmlynek/readme_upd_for_aldec1
Riviera simulator added to Readme
This commit is contained in:
commit
26c3bcb78f
|
@ -142,9 +142,9 @@ make -f $RV_ROOT/tools/Makefile [<simulator>] [debug=1] [snapshot=<snapshot>] [t
|
||||||
|
|
||||||
where:
|
where:
|
||||||
|
|
||||||
<simulator> - can be 'verilator' (by default) 'irun' - Cadence xrun, 'vcs' - Synopsys VCS, 'vlog' Mentor Questa
|
<simulator> - can be 'verilator' (by default) 'irun' - Cadence xrun, 'vcs' - Synopsys VCS, 'vlog' Mentor Questa,
|
||||||
if not provided, 'make' cleans work directory, builds verilator executable and runs a test.
|
'riviera' - Aldec Riviera-PRO if not provided, 'make' cleans work directory, builds verilator executable and runs a test.
|
||||||
debug=1 - allows VCD generation for verilator and VCS and SHM waves for irun option.
|
debug=1 - allows VCD generation for verilator, VCS and Riviera-PRO and SHM waves for irun option.
|
||||||
<target> - predefined CPU configurations 'default' ( by default), 'default_ahb', 'default_pd', 'high_perf'
|
<target> - predefined CPU configurations 'default' ( by default), 'default_ahb', 'default_pd', 'high_perf'
|
||||||
TEST - allows to run a C (<test>.c) or assembly (<test>.s) test, hello_world is run by default
|
TEST - allows to run a C (<test>.c) or assembly (<test>.s) test, hello_world is run by default
|
||||||
TEST_DIR - alternative to test source directory testbench/asm
|
TEST_DIR - alternative to test source directory testbench/asm
|
||||||
|
|
|
@ -113,7 +113,7 @@ irun-build: ${TBFILES} ${BUILD_DIR}/defines.h
|
||||||
riviera-build: ${TBFILES} ${BUILD_DIR}/defines.h
|
riviera-build: ${TBFILES} ${BUILD_DIR}/defines.h
|
||||||
vlib work
|
vlib work
|
||||||
vlog -work work \
|
vlog -work work \
|
||||||
-l riviera_compile.log -err VCP2694 W1 \
|
-err VCP2694 W1 \
|
||||||
+incdir+${RV_ROOT}/design/lib \
|
+incdir+${RV_ROOT}/design/lib \
|
||||||
+incdir+${RV_ROOT}/design/include \
|
+incdir+${RV_ROOT}/design/include \
|
||||||
+incdir+${BUILD_DIR} +libext+.v $(defines) \
|
+incdir+${BUILD_DIR} +libext+.v $(defines) \
|
||||||
|
|
Loading…
Reference in New Issue