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

Subversion Repositories othellogame

[/] [othellogame/] [trunk/] [generator/] [priority_dec.py] - Rev 2

Compare with Previous | Blame | View Log

#!/sbin/python
 
# Marius TIVADAR (c) Apr, 2009
 
for i in range(64):
    print """if ( M_q[%(i)d] ) begin
   X_d = %(x)d;
   Y_d = %(y)d;
end
else""" % {"i":i , "x":i%8, "y":i/8}
 

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.