[libre-riscv-dev] daily kan-ban update 12jul2020
Luke Kenneth Casson Leighton
lkcl at lkcl.net
Mon Jul 13 10:58:20 BST 2020
On Mon, Jul 13, 2020 at 10:51 AM Jacob Lifshay <programmerjake at gmail.com> wrote:
>
> On Mon, Jul 13, 2020, 02:43 Luke Kenneth Casson Leighton <lkcl at lkcl.net>
> wrote:
>
> > On Mon, Jul 13, 2020 at 4:49 AM Jacob Lifshay <programmerjake at gmail.com>
> > wrote:
> > >
> > > I also just proposed adding a API to nmigen to output VCD events. You
> > > can think of them as the VCD file having certain times marked. I think
> > > they would be useful for unit tests since we could output them to the
> > > VCD file when we read all the variables in a unit test.
> >
> > so... this is like... debug log notifications? (which are missing
> > from nmigen, and it's quite a nuisance).
> >
>
> kinda -- they show up as signals in gtkwave
that's good. it's close enough. what would be better (if it's at all
possible): yield ev1("some additional debug info %d" %
some_runtime_variable) although just the event (at all) would be
extremely useful.
> additional info after 30s of searching:
> https://stackoverflow.com/questions/33095017/how-to-specify-annotations-in-vcd-files
except without nmigen support it's moot.
More information about the libre-riscv-dev
mailing list