[Libre-soc-bugs] [Bug 50] nmigen pinmux
bugzilla-daemon at libre-soc.org
bugzilla-daemon at libre-soc.org
Wed Dec 1 23:25:55 GMT 2021
https://bugs.libre-soc.org/show_bug.cgi?id=50
--- Comment #63 from Luke Kenneth Casson Leighton <lkcl at lkcl.net> ---
(In reply to andrey from comment #62)
> Here's the code:
> for gpio_o_val in range(0, num_gpio_o_states):
> yield top.gpio_o_test.eq(gpio_o_val)
> yield Settle()
> yield # Move to the next clk cycle
>
> print(type(top.gpio.gpio0.o), type(gpios_pad.gpio0.o))
> print(top.gpio.gpio0.o, gpios_pad.gpio0.o)
drop this:
> core_out = yield top.gpio.gpio0.o
keep this:
> pad_out = yield gpios_pad.gpio0.o
replace this:
> assert core_out == pad_out
print (gpio_o_val, pad_out)
assert (gpio_o_val & 0b0001) == pad_out
> TypeError: Received unsupported command (rec gpio_0__gpio0__o o) from
> process 'testing_stage1.py:532'
middle of chain. confirm with yosys "show top".
neither possible nor desirable.
--
You are receiving this mail because:
You are on the CC list for the bug.
More information about the libre-soc-bugs
mailing list