Code for RAM interface:
svn co http://ohm.bu.edu/svn/edf/Dan/Nexys3/RAM/
Useful documents:
RAM Datasheet