chipsalliance / rocket-chip

Rocket Chip Generator
Other
3.18k stars 1.12k forks source link

option to disable verilator downloading #1889

Open BobHanGood opened 5 years ago

BobHanGood commented 5 years ago

Type of issue: other enhancement

Impact: no functional change

Development Phase: proposal

Other information

If the current behavior is a bug, please provide the steps to reproduce the problem:

What is the current behavior? cd emulator make one behavior is downloading verilator and install it What is the expected behavior? think about offline users, they don't connect internet, i think we should add one option to switch the verilator downloading if or not. but not just downloading straightforward Please tell us about your environment:

What is the use case for changing the behavior?

jasonlee1001 commented 5 years ago

By checking the 3 makefiles in /vsim, there are no 'verilator' in them. According to the main page, run simulation in /vsim you need Synopsys VCS be installed.

If you have access to VCS, you will be able to run assembly tests and benchmarks in simulation with the following commands (again assuming you have N cores on your host machine):

$ cd $ROCKETCHIP/vsim $ make -jN run CONFIG=DefaultFPGAConfig

BobHanGood commented 5 years ago

By checking the 3 makefiles in /vsim, there are no 'verilator' in them. According to the main page, run simulation in /vsim you need Synopsys VCS be installed.

If you have access to VCS, you will be able to run assembly tests and benchmarks in simulation with the following commands (again assuming you have N cores on your host machine): $ cd $ROCKETCHIP/vsim $ make -jN run CONFIG=DefaultFPGAConfig

sorry, one typo, cd emulator