URL
https://opencores.org/ocsvn/z80soc/z80soc/trunk
Subversion Repositories z80soc
[/] [z80soc/] [trunk/] [V0.7/] [rom/] [psf2coe.sh] - Rev 36
Go to most recent revision | Compare with Previous | Blame | View Log
#!/bin/sh IN=$1 echo "memory_initialization_radix=2;" echo "memory_initialization_vector=" cat $IN | tr [0-9] '8' | tr '+' '8' | tr '-' '8' | grep -v "8" >psf2coe.tmp for L in `cat psf2coe.tmp | sed s/" "/0/g | sed s/"X"/1/g` do echo "$L," done #rm psf2coe.tmp
Go to most recent revision | Compare with Previous | Blame | View Log