aboutsummaryrefslogtreecommitdiff
path: root/test/ppu-stm-integration-demo/data2vhdltb.awk
blob: db4b53f9e0125c6a2d632e78782401bd107f325a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#!/bin/awk -f
BEGIN {
	printf "\n"
	printf "\t\tWEN <= '1';\n"
	printf "\n"
}
1 {
	printf "\t\tADDR <= x\""$1"\";\n"
	printf "\t\tDATA <= x\""$2"\";\n"
	printf "\t\twait for 10 ns;\n"
	printf "\n"
}
END {
	printf "\t\tWEN <= '0';\n"
	printf "\n"
}