Thanks Tricky.
1. I use RTL viewer a lot; to verify the code I write reflects the logic I have in mind. I struggle with trying to uncompact code like this so to figure out what logic it will infer and how it actually works and also how to write compact code like this for other projects. When you say standard VHDL, how do you exactly mean? I'm pretty sure someone who just learned how to blink an led won't write this kinda code next. There are many other barrel shifting examples online yet this one is short in code and uses just enough logic, which is great.
So if it's as you say, fairly standard, can you point me to resource where I can learn how to make code like this please?
2. To give a simple example, imagine an ALU code (with VHDL) and a testbench for it to input numbers every so period. Is there a way to verify the output is correct other then the tesbench and asserting warnings? Like a do script straight in modelsim for example, or comparing values from a list table automatically in excel for example?