fix README
This commit is contained in:
@@ -65,8 +65,8 @@ serial line. But testchipip also provides a simulated block device that can
|
|||||||
be used for non-volatile storage. You can build a simulator including the
|
be used for non-volatile storage. You can build a simulator including the
|
||||||
block device using the blkdev package.
|
block device using the blkdev package.
|
||||||
|
|
||||||
make PROJECT=blkdev CONFIG=BlockDeviceConfig
|
make CONFIG=SimBlockDeviceConfig
|
||||||
./simulator-blkdev-BlockDeviceConfig +blkdev=block-device.img ...
|
./simulator-example-SimBlockDeviceConfig +blkdev=block-device.img ...
|
||||||
|
|
||||||
By passing the +blkdev argument on the simulator command line, you can allow
|
By passing the +blkdev argument on the simulator command line, you can allow
|
||||||
the RTL simulation to read and write from a file. Take a look at tests/blkdev.c
|
the RTL simulation to read and write from a file. Take a look at tests/blkdev.c
|
||||||
@@ -273,8 +273,8 @@ Compiling this program with make produces a `pwm.riscv` executable.
|
|||||||
Now with all of that done, we can go ahead and run our simulation.
|
Now with all of that done, we can go ahead and run our simulation.
|
||||||
|
|
||||||
cd verisim
|
cd verisim
|
||||||
make PROJECT=pwm CONFIG=PWMConfig
|
make CONFIG=PWMConfig
|
||||||
./simulator-pwm-PWMConfig ../tests/pwm.riscv
|
./simulator-example-PWMConfig ../tests/pwm.riscv
|
||||||
|
|
||||||
## Adding a DMA port
|
## Adding a DMA port
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user