Create GETTING STARTED

Rename GETTING STARTED to GETTING STARTED.md

Update GETTING STARTED.md

Update GETTING STARTED.md

Update GETTING STARTED.md
This commit is contained in:
Sadullah Canakci 2020-03-10 16:47:26 -04:00 committed by sadullah
parent e853cac6b6
commit 74140587c8
1 changed files with 23 additions and 0 deletions

View File

@ -0,0 +1,23 @@
# Getting started
## Running BP in LiteX
cd $LITEX/litex/tools # the folder where litex simulator resides
./litex_sim.py --cpu-type blackparrot --cpu-variant standard --integrated-rom-size 40960 --output-dir build/BP --threads 4 --opt-level=O0 --trace --trace-start 0
#The above command will generate a dut.vcd file under build/BP/gateware folder. gtkwave works fine with the generated dut.vcd.
## Additional Information
The BlackParrot resides in $BP/pre-alpha-release/
core.py in $BP folder is the wrapper that integrates BP into LiteX.
flist.verilator in $BP is all the files that litex_sim fetches for simulation.
The top module is $BP_FPGA_DIR/ExampleBlackParrotSystem.v
The transducer for wishbone communication is $BP_FPGA_DIR/bp2wb_convertor.v