Here is some psuedocode for the test
Merge branch 'master' of https://github.com/lukasgemar/verilog-code