OpenCores
URL https://opencores.org/ocsvn/zet86/zet86/trunk

Subversion Repositories zet86

[/] [zet86/] [trunk/] [bin/] [vdt2rom] - Rev 52

Go to most recent revision | Compare with Previous | Blame | View Log

#!/bin/bash
#
# USAGE: vdt2rom [-hex] file.vdt
#
if [ $# -eq 1 ]
then
  sed -e 's/\/\/\(.\)*//' -e 's/_//g' -e 's/[xsdm]/0/g' -e '/^\([\ \t]\)*$/d' -e 's/\ //g' $1
else
  sed -e 's/\/\/\(.\)*//' -e 's/_//g' -e '/^\([\ \t]\)*$/d' -e 's/\ //g' $2
fi

Go to most recent revision | Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.