1
0
mirror of synced 2026-01-13 15:17:34 +00:00
rdolbeau.SBusFPGA/sbus-to-ztex/netlist_to_pin_assignment.sh
2020-12-13 14:57:19 +01:00

4 lines
230 B
Bash
Executable File

#!/bin/bash
egrep 'SBUS_3V3|JCD|JAB' sbus-to-ztex.net | grep -A1 SBUS_3V3 | grep -v '^--' | tr '\n' ' ' | sed -e 's/(net/\n(net/g' | sed -e 's/.*name \(SBUS[^)]*\).*ref \(J..\).*pin \([0-9]*\).*/\2 \3 \1/' | sort -k 1,1 -k 2,2n