Started working on testbenches, but tri-state stuff does not seem to work...
Simulation runs without warnings, tri-state seems to work