[libre-riscv-dev] test failure when running nmutil tests on GitLab CI
Luke Kenneth Casson Leighton
lkcl at lkcl.net
Thu Mar 26 11:12:19 GMT 2020
On Thu, Mar 26, 2020 at 10:52 AM Tobias Platen
<libre-soc at platen-software.de> wrote:
>
> I had a similar error when I ugraded nmigen some months ago. I still don't remember how I solved that.
index c6a89e3..42f6fd6 100644
--- a/nmigen/compat/sim/__init__.py
+++ b/nmigen/compat/sim/__init__.py
@@ -19,7 +19,7 @@ def run_simulation(fragment_or_module, generators,
clocks={"sync": 10}, vcd_name
if not isinstance(generators, dict):
generators = {"sync": generators}
- fragment.domains += ClockDomain("sync")
+ #fragment.domains += ClockDomain("sync")
sim = Simulator(fragment)
for domain, period in clocks.items():
except that now won't work on the very latest nmigen.
this however is fine:
commit 57d95b7f95dd37e2527db7b04be9ac8f324133e2 (HEAD -> master,
origin/master, origin/HEAD)
Merge: 7245b1e dfcf793
Author: Sebastien Bourdeauducq <sb at m-labs.hk>
Date: Thu Feb 6 01:06:27 2020 +0800
Merge branch 'master' of https://github.com/nmigen/nmigen
More information about the libre-riscv-dev
mailing list