I was planning on learn an HDL (preferably verilog as I have to take a course in it in subsequent semesters). My initial plan was to first learn the syntax and then implement all the digital systems I studied in my digital electronics course using HDL. But just out of curiosity, is there a book which would combine teaching computer architecture with HDL implementation? I think that would be much more fun.
My two recommendations, only read the later but I like the author so i'll plug the other one as well:
Digital Design and Verilog HDL Fundamentals is probably more what your looking for, the first is more focused on implementing mathematical operations. It may depend on what your after though, if your EE classes walk you through the entire design of a microprocessor as mine did you may find both useful eventually.
Peter Ashenden's "The Designer's Guide to VHDL" uses a DLX CPU design to illustrate many topics. However, if you're only interested in Verilog HDL then this might not be the book for you.
There are tools available on android also to practice syntax errors. Just check out https://play.google.com/store/search?q=skand+vlsi
I decided I wanted to learn how to work with FPGAs, so I bought a Xilinx Spartan-3A Starter Kit. Since I was new to this, and wasn't sure which flavor of HDL to learn, I got these two books:
both by the same author (Pong P. Chu).
Each book has dozens of examples that apply directly to various Spartan-3 based boards but can be applied to others. More importantly, the exact same examples are used in both books (as one would expect), so one can compare the complexity and readability of each one, Verilog vs VHDL.
Coincidence or not, I just came across to this today: http://www.nandland.com
[moderator note: This answer had arrived here as a result of a merge.]