[libre-riscv-dev] daily kan-ban update 29may2020
    Luke Kenneth Casson Leighton 
    lkcl at lkcl.net
       
    Fri May 29 18:27:46 BST 2020
    
    
  
On Friday, May 29, 2020, Cesar Strauss <cestrauss at gmail.com> wrote:
> Going along nicely, if slowly, with the parallel unit test of
> src/soc/experiment/compalu_multi.py. Thankfully, the weekend is near, so
> I expect to finally finish this task, and move along the queue.
>
> Got a nice unplanned example of a race condition when, surprisingly,
> running the test twice in a row passed, then failed, without changing
> anything. Hint: when passing information from one co-routine to another,
> do it around a synchronization point / barrier.
yyep.
now you know why i put, in the TODO comments, to first wait for busy being
LOW in a loop, then for busy HI in a loop, and *then* proceed.
> Also, learned how to use Settle() to respond asynchronously to outputs
> of the DUT. It's useful for simulating a zero-delay response to a
> request, or a purely combinatorial ALU.
oh.  nice.  i will experiment with that.  i can think of several places i
should have used it.
> Overall, I am quite enjoying the exercise.
:)
>
> Regards,
>
> Cesar
>
> _______________________________________________
> libre-riscv-dev mailing list
> libre-riscv-dev at lists.libre-riscv.org
> http://lists.libre-riscv.org/mailman/listinfo/libre-riscv-dev
>
-- 
---
crowd-funded eco-conscious hardware: https://www.crowdsupply.com/eoma68
    
    
More information about the libre-riscv-dev
mailing list