Merge branch 'master' of github.com:Wolfgang-Spraul/fpgatools
This commit is contained in:
commit
904c29cc3b
|
@ -44,6 +44,7 @@ clean:
|
||||||
test: test-counter test-blinking test-hello_world
|
test: test-counter test-blinking test-hello_world
|
||||||
|
|
||||||
test-counter: counter.bit mini-jtag
|
test-counter: counter.bit mini-jtag
|
||||||
|
@./mini-jtag reset
|
||||||
@./mini-jtag load $<
|
@./mini-jtag load $<
|
||||||
@echo "Read counter registers (1 ~ 5)"
|
@echo "Read counter registers (1 ~ 5)"
|
||||||
@./mini-jtag read 0 # read version
|
@./mini-jtag read 0 # read version
|
||||||
|
@ -69,6 +70,7 @@ test-counter: counter.bit mini-jtag
|
||||||
@./mini-jtag write 1 0 # disable counter
|
@./mini-jtag write 1 0 # disable counter
|
||||||
|
|
||||||
test-blinking: blinking.bit mini-jtag
|
test-blinking: blinking.bit mini-jtag
|
||||||
|
./mini-jtag reset
|
||||||
./mini-jtag idcode
|
./mini-jtag idcode
|
||||||
./mini-jtag load $<
|
./mini-jtag load $<
|
||||||
sleep 2
|
sleep 2
|
||||||
|
@ -79,4 +81,5 @@ hello_world.bit:
|
||||||
../hello_world | ../fp2bit - $@
|
../hello_world | ../fp2bit - $@
|
||||||
|
|
||||||
test-hello_world: hello_world.bit
|
test-hello_world: hello_world.bit
|
||||||
|
./mini-jtag reset
|
||||||
./mini-jtag load $<
|
./mini-jtag load $<
|
||||||
|
|
Loading…
Reference in New Issue
Block a user