2021-05-03 20:16:46 +08:00
|
|
|
init:
|
|
|
|
git submodule update --init
|
|
|
|
cd rocket-chip && git submodule update --init hardfloat api-config-chipsalliance
|
|
|
|
|
|
|
|
compile:
|
|
|
|
mill -i HuanCun.compile
|
|
|
|
|
2021-05-03 22:54:15 +08:00
|
|
|
test:
|
|
|
|
mill -i HuanCun.test.test
|
|
|
|
|
2021-10-25 14:41:50 +08:00
|
|
|
|
2022-01-11 13:45:19 +08:00
|
|
|
test-top-l2:
|
|
|
|
mill -i HuanCun.test.runMain huancun.TestTop_L2 -td build
|
|
|
|
mv build/TestTop_L2.v build/TestTop.v
|
|
|
|
|
|
|
|
test-top-l2l3:
|
|
|
|
mill -i HuanCun.test.runMain huancun.TestTop_L2L3 -td build
|
|
|
|
mv build/TestTop_L2L3.v build/TestTop.v
|
2021-10-25 14:41:50 +08:00
|
|
|
|
2021-07-14 12:56:21 +08:00
|
|
|
basic-test:
|
|
|
|
mill -i HuanCun.test.testOnly -o -s huancun.ConnectionTester
|
|
|
|
|
2021-05-03 20:16:46 +08:00
|
|
|
bsp:
|
|
|
|
mill -i mill.bsp.BSP/install
|
|
|
|
|
|
|
|
clean:
|
2021-10-25 14:41:50 +08:00
|
|
|
rm -rf ./build
|
2021-05-03 20:16:46 +08:00
|
|
|
|
|
|
|
reformat:
|
|
|
|
mill -i __.reformat
|
|
|
|
|
|
|
|
checkformat:
|
|
|
|
mill -i __.checkFormat
|