Line 40... |
Line 40... |
# #
|
# #
|
#--------------------------------------------------------------#
|
#--------------------------------------------------------------#
|
|
|
grep '@' $1 | awk '{print $2}' | awk -F '' '{print $1 $2}' |\
|
grep '@' $1 | awk '{print $2}' | awk -F '' '{print $1 $2}' |\
|
paste -d" " - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | \
|
paste -d" " - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | \
|
awk '{printf " .SRAM0_INIT_" NR-1 " ( 256%ch", 39 } \
|
awk '{ if (NR<=64) { printf " .SRAM0_INIT_" NR-1 " ( 256%ch", 39 } \
|
|
else if (NR<=128) { printf " .SRAM4_INIT_" NR-65 " ( 256%ch", 39 }} \
|
|
$32=="" {printf "00"} \
|
$31=="" {printf "00"} \
|
$31=="" {printf "00"} \
|
$30=="" {printf "00"} \
|
$30=="" {printf "00"} \
|
$29=="" {printf "00"} \
|
$29=="" {printf "00"} \
|
$28=="" {printf "00"} \
|
$28=="" {printf "00"} \
|
$27=="" {printf "00"} \
|
$27=="" {printf "00"} \
|
Line 77... |
Line 79... |
> $2
|
> $2
|
|
|
|
|
grep '@' $1 | awk '{print $2}' | awk -F '' '{print $3 $4}' |\
|
grep '@' $1 | awk '{print $2}' | awk -F '' '{print $3 $4}' |\
|
paste -d" " - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | \
|
paste -d" " - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | \
|
awk '{printf " .SRAM1_INIT_" NR-1 " ( 256%ch", 39 } \
|
awk '{ if (NR<=64) { printf " .SRAM1_INIT_" NR-1 " ( 256%ch", 39 } \
|
|
else if (NR<=128) { printf " .SRAM5_INIT_" NR-65 " ( 256%ch", 39 }} \
|
|
$32=="" {printf "00"} \
|
$31=="" {printf "00"} \
|
$31=="" {printf "00"} \
|
$30=="" {printf "00"} \
|
$30=="" {printf "00"} \
|
$29=="" {printf "00"} \
|
$29=="" {printf "00"} \
|
$28=="" {printf "00"} \
|
$28=="" {printf "00"} \
|
$27=="" {printf "00"} \
|
$27=="" {printf "00"} \
|
Line 114... |
Line 118... |
>> $2
|
>> $2
|
|
|
|
|
grep '@' $1 | awk '{print $2}' | awk -F '' '{print $5 $6}' |\
|
grep '@' $1 | awk '{print $2}' | awk -F '' '{print $5 $6}' |\
|
paste -d" " - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | \
|
paste -d" " - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | \
|
awk '{printf " .SRAM2_INIT_" NR-1 " ( 256%ch", 39 } \
|
awk '{ if (NR<=64) { printf " .SRAM2_INIT_" NR-1 " ( 256%ch", 39 } \
|
|
else if (NR<=128) { printf " .SRAM6_INIT_" NR-65 " ( 256%ch", 39 }} \
|
|
$32=="" {printf "00"} \
|
$31=="" {printf "00"} \
|
$31=="" {printf "00"} \
|
$30=="" {printf "00"} \
|
$30=="" {printf "00"} \
|
$29=="" {printf "00"} \
|
$29=="" {printf "00"} \
|
$28=="" {printf "00"} \
|
$28=="" {printf "00"} \
|
$27=="" {printf "00"} \
|
$27=="" {printf "00"} \
|
Line 151... |
Line 157... |
>> $2
|
>> $2
|
|
|
|
|
grep '@' $1 | awk '{print $2}' | awk -F '' '{print $7 $8}' |\
|
grep '@' $1 | awk '{print $2}' | awk -F '' '{print $7 $8}' |\
|
paste -d" " - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | \
|
paste -d" " - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - | \
|
awk '{printf " .SRAM3_INIT_" NR-1 " ( 256%ch", 39 } \
|
awk '{ if (NR<=64) { printf " .SRAM3_INIT_" NR-1 " ( 256%ch", 39 } \
|
|
else if (NR<=128) { printf " .SRAM7_INIT_" NR-65 " ( 256%ch", 39 }} \
|
|
$32=="" {printf "00"} \
|
$31=="" {printf "00"} \
|
$31=="" {printf "00"} \
|
$30=="" {printf "00"} \
|
$30=="" {printf "00"} \
|
$29=="" {printf "00"} \
|
$29=="" {printf "00"} \
|
$28=="" {printf "00"} \
|
$28=="" {printf "00"} \
|
$27=="" {printf "00"} \
|
$27=="" {printf "00"} \
|