* [libre-riscv-dev] daily kan-ban update 20jul2020
@ 2020-07-20 19:14 Cesar Strauss
2020-07-20 22:05 ` Luke Kenneth Casson Leighton
0 siblings, 1 reply; 2+ messages in thread
From: Cesar Strauss @ 2020-07-20 19:14 UTC (permalink / raw)
To: libre-riscv-dev
Yesterday:
* Finished an example of a FSM-based Shifter:
src/soc/experiment/alu_fsm.py
https://bugs.libre-soc.org/show_bug.cgi?id=417
* Started investigating a difference in simulation results between pysim
and cxxsim, with regards to the Shifter example.
It was established that cxxsim probably has a bug.
https://github.com/nmigen/nmigen/issues/439
Today:
* Continue investigating the potential bug in cxxsim.
I think the test case can be simplified by taking out the SHIFT state
and keeping just the handshake states (IDLE and DONE). This would imply,
in turn, that a one bit register should be enough to trigger the problem.
Will add my findings to nMigen #439.
* Fix alu_fsm.py to work in pysim again.
Next:
* Shave an extra cycle from the Shifter, by short-circuiting IDLE and
going straight to SHIFT, when valid_i is already high at DONE. Most
likely, will do it in a new Shifter, to keep this one as simple as possible.
* Thinking about implementing an almost-free exponential speedup, by
shifting by 1,2,4,.. in sequence.
* Simplify my half-finished parallel test case in
src/soc/experiment/test/test_compalu_multi.py, which is too detailed.
Just test for functionality, leave correctness to formal proofs.
* Investigate the possibility to generate useful, structured, commented,
color-formatted gtkw templates in test cases, using the vcd.gtkw module
from pyvcd (which is already a dependency of nMigen).
Cesar
_______________________________________________
libre-riscv-dev mailing list
libre-riscv-dev@lists.libre-riscv.org
http://lists.libre-riscv.org/mailman/listinfo/libre-riscv-dev
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [libre-riscv-dev] daily kan-ban update 20jul2020
2020-07-20 19:14 [libre-riscv-dev] daily kan-ban update 20jul2020 Cesar Strauss
@ 2020-07-20 22:05 ` Luke Kenneth Casson Leighton
0 siblings, 0 replies; 2+ messages in thread
From: Luke Kenneth Casson Leighton @ 2020-07-20 22:05 UTC (permalink / raw)
To: Libre-RISCV General Development
On Monday, July 20, 2020, Cesar Strauss <cestrauss@gmail.com> wrote:
> Yesterday:
>
> * Investigate the possibility to generate useful, structured, commented,
> color-formatted gtkw templates in test cases, using the vcd.gtkw module
> from pyvcd (which is already a dependency of nMigen).
oo niice, because i constantly find i have to add colour to groups of
signals.
l.
--
---
crowd-funded eco-conscious hardware: https://www.crowdsupply.com/eoma68
_______________________________________________
libre-riscv-dev mailing list
libre-riscv-dev@lists.libre-riscv.org
http://lists.libre-riscv.org/mailman/listinfo/libre-riscv-dev
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, back to index
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2020-07-20 19:14 [libre-riscv-dev] daily kan-ban update 20jul2020 Cesar Strauss
2020-07-20 22:05 ` Luke Kenneth Casson Leighton
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