diff options
Diffstat (limited to 'test/ppu-stm-integration-demo/data2pputb.awk')
-rwxr-xr-x | test/ppu-stm-integration-demo/data2pputb.awk | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/test/ppu-stm-integration-demo/data2pputb.awk b/test/ppu-stm-integration-demo/data2pputb.awk new file mode 100755 index 0000000..db4b53f --- /dev/null +++ b/test/ppu-stm-integration-demo/data2pputb.awk @@ -0,0 +1,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" +} |