aboutsummaryrefslogtreecommitdiff
path: root/test/ppu-stm-integration-demo/data2pputb.awk
blob: b6c277cfb007789d7b15b545cbdc88ec2773a987 (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 40 ns;\n"
	printf "\n"
}
END {
	printf "\t\tWEN <= '0';\n"
	printf "\n"
}