m-labs / migen

A Python toolbox for building complex digital hardware
https://m-labs.hk/migen
Other
1.2k stars 209 forks source link

fhdl/tracer: update to support python 3.11 #261

Closed gsomlo closed 2 years ago

gsomlo commented 2 years ago

Adapted from amaranth project fix authored by @mwkmwkmwk (see https://github.com/amaranth-lang/amaranth/pull/710)

Fixes issue #259

sbourdeauducq commented 2 years ago

Thanks - the new repos for nmigen 1.x is at https://gitlab.com/nmigen/nmigen. I will forward it there.

gsomlo commented 2 years ago

On Thu, Jun 30, 2022 at 08:01:26PM -0700, Sébastien Bourdeauducq wrote:

Thanks - the new repos for nmigen 1.x is at https://gitlab.com/nmigen/nmigen. I will forward it there.

I'm a bit confused: amaranth and nmigen seem a lot closer to each other than to "classic" migen, so for nmigen it might be more straightforward to look at the amaranth patch directly:

https://github.com/amaranth-lang/amaranth/commit/851546bf2d16db62663d7002bece51f07078d0a5

This PR is "backported" from that patch specifically for "classic" migen, which is still seeing significant use, and I was hoping it could be applied here -- Please advise.

Thanks!

sbourdeauducq commented 2 years ago

Oh sorry, I thought this was the nmigen repos. Haven't had my caffeine yet...