URL
https://opencores.org/ocsvn/potato/potato/trunk
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 20 |
Rev 58 |
Line 27... |
Line 27... |
$(TARGET_OBJCOPY) -j .text -j .data -O binary sha256.elf sha256.bin
|
$(TARGET_OBJCOPY) -j .text -j .data -O binary sha256.elf sha256.bin
|
|
|
sha256.coe: sha256.bin
|
sha256.coe: sha256.bin
|
echo "memory_initialization_radix=16;" > sha256.coe
|
echo "memory_initialization_radix=16;" > sha256.coe
|
echo "memory_initialization_vector=" >> sha256.coe
|
echo "memory_initialization_vector=" >> sha256.coe
|
|
for i in $$(seq 0 63); do echo 00000013 >> sha256.coe; done
|
$(HEXDUMP) -v -e '1/4 "%08x\n"' sha256.bin >> sha256.coe
|
$(HEXDUMP) -v -e '1/4 "%08x\n"' sha256.bin >> sha256.coe
|
echo ";" >> sha256.coe
|
echo ";" >> sha256.coe
|
|
|
clean:
|
clean:
|
-$(RM) $(OBJECTS)
|
-$(RM) $(OBJECTS)
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.