/*
 * $Header: /projects/raw/cvsroot/benchmark/suites/life/src/generate_aux.c,v 1.3 1997/08/09 05:57:51 jbabb Exp $
 *
 * Generate Aux for Life benchmark
 *
 * Authors: Rajeev Kumar Barua      (barua@lcs.mit.edu)
 *
 * Copyright @ 1997 MIT Laboratory for Computer Science, Cambridge, MA 02129
 */

#include <copyright.h>
#include <stdio.h>
#include <util.h>

main(){
 
 int i;

 printf("// This file automatically generated by generate_aux.c\n");
      
 for(i=0; i < GlobalDataWidth;i++){
   printf("CELL #(0) cell_%d (.DATA_IN(DIN[%d]), .cell_value(BLOCK_VALUE[%d]), 
             .Reset(Reset),.WR(CELL_WR), .Enable(Enable), .Clk(Clk),
         .NEIGHBORS({n7[%d],n6[%d],n5[%d],n4[%d],n3[%d],n2[%d],n1[%d],n0[%d]}));\n\n",i,i,i,i,i,i,i,i,i,i,i);
 }
exit(0);
}
