You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to run the latest master and test the tinyFPGA_bx platform.
code
from nmigen import *
from nmigen.vendor.board.tinyfpga_bx import *
class Blinky(Elaboratable):
def elaborate(self, platform):
clk16 = platform.request("clk16", 0)
user_led = platform.request("user_led", 0)
counter = Signal(22)
m = Module()
m.domains.sync = ClockDomain()
m.d.comb += ClockSignal().eq(clk16.i)
m.d.sync += counter.eq(counter + 1)
m.d.comb += user_led.o.eq(counter[-1])
return m
if __name__ == "__main__":
platform = TinyFPGABXPlatform()
platform.build(Blinky(), do_program=True)
yields
ERROR: BEL 'X0/Y30/io0' has no global buffer connection available
ERROR: Packing design failed.
0 warnings, 2 errors
Traceback (most recent call last):
File "blinky.py", line 21, in <module>
platform.build(Blinky(), do_program=True)
File "/usr/local/lib/python3.6/dist-packages/nmigen/build/plat.py", line 108, in build
products = plan.execute(build_dir)
File "/usr/local/lib/python3.6/dist-packages/nmigen/build/plat.py", line 52, in execute
subprocess.run(["sh", "{}.sh".format(self.script)], check=True)
File "/usr/lib/python3.6/subprocess.py", line 418, in run
output=stdout, stderr=stderr)
subprocess.CalledProcessError: Command '['sh', 'build_top.sh']' returned non-zero exit status 255.
The text was updated successfully, but these errors were encountered:
zignig
changed the title
Global on clock pin is unroutable
Global on clock pin is unroutable on tinyfpga_bx platform
Jun 4, 2019
Trying to run the latest master and test the tinyFPGA_bx platform.
code
yields
The text was updated successfully, but these errors were encountered: