Renamed old to new

Committed on the Free edition of March Hare Software CVSNT Server.
Upgrade to CVS Suite for more features and support:
http://march-hare.com/cvsnt/


git-svn-id: http://moon:8086/svn/vhdl/trunk@703 cc03376c-175c-47c8-b038-4cd826a8556b
This commit is contained in:
2010-01-31 13:12:43 +00:00
parent e10b69e4fe
commit 2b488c8308
3 changed files with 22 additions and 38 deletions
+2 -3
View File
@@ -399,7 +399,7 @@ int main(int argc, char *argv[])
if (argc < 2)
{
fprintf(stderr, "Usage: romgen <input file> <num. word address bits> [{EL|EB}]\n");
fprintf(stderr, "Usage: romgen <input file> <num. word address bits> [-{EL|EB}]\n");
return 1;
}
@@ -409,11 +409,10 @@ int main(int argc, char *argv[])
g_endianess_EB = 0;
if (argc == 4)
{
if ((toupper(argv[3][0]) == 'E') && (toupper(argv[3][1]) == 'B'))
if ((argv[3][0] == '-') && (toupper(argv[3][1]) == 'E') && (toupper(argv[3][2]) == 'B'))
g_endianess_EB = 1;
}
basename(pFilenameIn, name_prj);
sprintf(name_rom, "%s.vhd", name_prj);
sprintf(name_rom_v4ld, "%s_ld.vhd", name_prj);