Libre RISC-V Mailing list Archives (accessible via public-inbox)
 help / color / Atom feed
From: Cole Poirier <colepoirier@gmail.com>
To: Libre-RISCV General Development <libre-riscv-dev@lists.libre-riscv.org>
Cc: Libre-RISCV General Development <libre-riscv-dev@lists.libre-riscv.org>
Subject: Re: [libre-riscv-dev] daily kan-ban update 23may2020
Date: Sat, 23 May 2020 14:38:59 -0700
Message-ID: <A3B236A9-A469-4493-AE7E-0195E1F7F2CD@getmailspring.com> (raw)
In-Reply-To: <CAPweEDw1nSkxL084QXyzNHGf+9hmi6ZTkgaV1F4xAkW4EJi2ug@mail.gmail.com>

On May 23 2020, at 1:59 pm, Luke Kenneth Casson Leighton <lkcl@lkcl.net> wrote:
> soc.fu they are now common base classes.  the code is exactly the
> same, it
> is just split.

I tried fixing this the naive way, by just substituting CommonInput
stageStage for LogicalInputStage but this results in the following error:

```
File "test_pipe_caller.py", line 193, in run_all
  m.submodules.alu = alu = LogicalBasePipe(pspec)
File "/home/colepoirier/src/soc/src/soc/fu/logical/pipeline.py", line
18, in __init__
  self.pipe1 = LogicalStages(pspec)
File "/home/colepoirier/src/nmutil/src/nmutil/dynamicpipe.py", line 37,
in __call__
 return super().__call__(*args, **kw)
File "/home/colepoirier/src/nmutil/src/nmutil/pipemodbase.py", line 34,
in __init__
  self.chain = self.get_chain()
File "/home/colepoirier/src/soc/src/soc/fu/logical/pipeline.py", line 9,
in get_chain
  inp = CommonInputStage(self.pspec)
TypeError: __init__() missing 1 required positional argument: 'modname'
```

Do I have to add something from fu/logical/logical_input_record.py, or
add something else in order to use CommonInputStage properly?


> one weirdness, if you put a print statement on a and b, a is a signal, but
> b ends up as an actual integer.

Are you referring to a and b of the CommonStage's or of another piece of code?

Cole


_______________________________________________
libre-riscv-dev mailing list
libre-riscv-dev@lists.libre-riscv.org
http://lists.libre-riscv.org/mailman/listinfo/libre-riscv-dev

  reply index

Thread overview: 25+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-05-23 14:29 Luke Kenneth Casson Leighton
2020-05-23 14:56 ` Tobias Platen
2020-05-23 15:15   ` Luke Kenneth Casson Leighton
2020-05-23 20:15     ` Cole Poirier
2020-05-23 20:36       ` Michael Nolan
2020-05-23 20:59         ` Luke Kenneth Casson Leighton
2020-05-23 21:38           ` Cole Poirier [this message]
2020-05-23 22:15             ` Luke Kenneth Casson Leighton
2020-05-23 22:23             ` Luke Kenneth Casson Leighton
2020-05-23 20:57       ` Luke Kenneth Casson Leighton
2020-05-23 21:21         ` Cole Poirier
2020-05-23 22:08         ` Cesar Strauss
2020-05-23 22:14           ` Luke Kenneth Casson Leighton
2020-05-23 22:16             ` Luke Kenneth Casson Leighton
2020-05-23 22:16               ` Luke Kenneth Casson Leighton
2020-05-23 22:17                 ` Luke Kenneth Casson Leighton
2020-05-23 22:18                   ` Luke Kenneth Casson Leighton
2020-05-23 22:20                   ` Cole Poirier
2020-05-23 22:27                     ` Luke Kenneth Casson Leighton
2020-05-23 22:32                       ` Cole Poirier
2020-05-23 22:39                         ` Luke Kenneth Casson Leighton
2020-05-23 22:23             ` Cole Poirier
2020-05-23 22:36               ` Luke Kenneth Casson Leighton
2020-05-23 22:59                 ` Cole Poirier
2020-05-23 23:01                   ` Luke Kenneth Casson Leighton

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=A3B236A9-A469-4493-AE7E-0195E1F7F2CD@getmailspring.com \
    --to=colepoirier@gmail.com \
    --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