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

Subversion Repositories ssbcc

[/] [ssbcc/] [trunk/] [core/] [9x8/] [tb/] [arch/] [init-1rom.awk] - Blame information for rev 11

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

Line No. Rev Author Line
1 2 sinclairrf
# Copyright 2013, Sinclair R.F., Inc.
2
#
3
# Initialize the ROM with gray-coded values
4
 
5
BEGIN {
6
  print ".memory ROM rom_z";
7
  print ".variable z";
8
  for (i=0; i<SIZE_Z; ++i) {
9
    printf("  0x%02X\n",xor(i,i/2));
10
  }
11
}

powered by: WebSVN 2.1.0

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