old_contents: from magma import wire
  from mantle import Counter
  from loam.boards.icestick import IceStick
  
  icestick = IceStick()
  icestick.Clock.on()
  icestick.D5.on()
  
  main = icestick.main()
  
  N = 22
  
  counter = Counter(N)
  wire(counter.O[N-1], main.D5)
  
  
new_contents: from magma import wire, set_mantle_target
  set_mantle_target("ice40")
  from mantle import Counter
  from loam.boards.icestick import IceStick
  
  icestick = IceStick()
  icestick.Clock.on()
  icestick.D5.on()
  
  main = icestick.main()
  
  N = 22
  
  counter = Counter(N)
  wire(counter.O[N-1], main.D5)
  
  
subject: Set mantle target in blink test in case someone calls it directly with python