ASIC and FPGA code examples IDATT2104