From: bugzilla-daemon@libre-soc.org
To: libre-riscv-dev@lists.libre-riscv.org
Subject: [libre-riscv-dev] [Bug 321] BUG: Running ltp on a pipeline gives warnings about loops
Date: Mon, 18 May 2020 15:57:37 +0000
Message-ID: <bug-321-13-mTt2vw6rhO@https.bugs.libre-soc.org/> (raw)
In-Reply-To: <bug-321-13@https.bugs.libre-soc.org/>
https://bugs.libre-soc.org/show_bug.cgi?id=321
--- Comment #1 from Luke Kenneth Casson Leighton <lkcl@lkcl.net> ---
(In reply to Michael Nolan from comment #0)
> Created attachment 55 [details]
> Photo of loop in yosys graph
> Warning: Detected loop at \stage_o$next [63] in pipe
ok yes this is fine.
look closely at the MUXes. note that when the front mux is set, the register
is outputted (from the DFF, which is on a clock latch).
however if the MUX is not set, the input is sent through combinatorially.
so the "loop" is not a combinatoriak looo, it is a time synced loop that traps
the value of the input, endlessly replaying it until such time as soneone sets
the MUX to low.
there is probably a better way to do this however it is not doing any harm.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
libre-riscv-dev mailing list
libre-riscv-dev@lists.libre-riscv.org
http://lists.libre-riscv.org/mailman/listinfo/libre-riscv-dev
prev parent reply index
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-05-18 15:21 [libre-riscv-dev] [Bug 321] New: " bugzilla-daemon
2020-05-18 15:57 ` bugzilla-daemon [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=bug-321-13-mTt2vw6rhO@https.bugs.libre-soc.org/ \
--to=bugzilla-daemon@libre-soc.org \
--cc=libre-riscv-dev@lists.libre-riscv.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Libre RISC-V Mailing list Archives (accessible via public-inbox)
Archives are clonable: git clone --mirror https://inbox.libre-soc.org/libre-riscv-dev
Example config snippet for mirrors
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git