A verilog package with some automatic functions