Fix path for env
authorStaf Verhaegen <staf@stafverhaegen.be>
Wed, 21 Apr 2021 17:30:54 +0000 (19:30 +0200)
committerStaf Verhaegen <staf@stafverhaegen.be>
Wed, 21 Apr 2021 17:43:56 +0000 (19:43 +0200)
c4m/nmigen/jtag/tap.py
test/nmigen/cocotb/controller/generate.py
test/nmigen/gen/controller/generate.py

index 2753063b0c391249297785a21c9e065867a3bfd9..6c290ed997ffda7c43b79795830c5fdcaf20f649 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/env python3
+#!/usr/bin/env python3
 import os, textwrap
 from enum import Enum, auto
 
index 16d980321c76f994f3ee4ebc80c69e923abd54a3..2b34aa1d62c629b840de230d05956faed5b91ace 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/env python3
+#!/usr/bin/env python3
 import os
 
 from nmigen import *
index de8d6a944482a102bb9a57c5408c3724647fc871..fbd724a7ba0e45ce2d69972ad3cf17c8c6422ff1 100755 (executable)
@@ -1,4 +1,4 @@
-#!/bin/env python3
+#!/usr/bin/env python3
 from nmigen import *
 from nmigen.back.verilog import convert
 from nmigen.build import Platform
@@ -13,7 +13,7 @@ class DummyPlatform(Platform):
     def toolchain_prepare(self, fragment, name, **kwargs):
         raise NotImplementedError
 
-tap = TAP(2)
+tap = TAP(ir_width=2)
 f = open("top.v", "w")
 f.write(convert(tap, platform=DummyPlatform()))
 f.close()