[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: sym to verilog-ams
From: |
karl |
Subject: |
Re: sym to verilog-ams |
Date: |
Mon, 4 Apr 2022 12:47:34 +0200 (CEST) |
Al Davis:
> On Sun, 3 Apr 2022 13:14:57 +0200 (CEST)
> karl@aspodata.se wrote:
> > The pintype attribute [1] does not line up with the verilog ones.
> > According to [2], [3] is the only user of this and it checks which
> > connections are allowed.
>
> What you are calling "pintype" (in, out, io, and others) corresponds to
> the port directions "input", "output" and "inout", but it is probably
> best when converting a schematic to not specify this.
Also, the pintypes pas and pwr are unhelpful.
> Rather, to
> preserve the data, find a way to express in as an attribute (see
> section 2.9 of VAMS-LRM-2-4.pdf).
Ok. Preserving data is a separate task, I could just include it as a
comment or point to the original file as a first step.
> In a schematic, we all use those symbols (pins with directions) to
> express how we think of the pins, as inputs and outputs, but that is
> usually incorrect in a simulation as a "conservative system", such as a
> Spice-type simulation that Gnucap mostly does.
>
> In Verilog, the easy and correct workaround is to just not use them.
> Do not use the port declarations "input", "output" or "inout".
...
Good.
Regards,
/Karl Hammar
- Re: sym to verilog-ams, (continued)
- Re: sym to verilog-ams, karl, 2022/04/04
- gnucap-geda, sym file hndling (was Re: sym to verilog-ams), karl, 2022/04/04
- Re: sym to verilog-ams, karl, 2022/04/05
- Re: sym to verilog-ams, al davis, 2022/04/06
- Re: sym to verilog-ams, karl, 2022/04/14
Re: sym to verilog-ams, al davis, 2022/04/04
- Re: sym to verilog-ams,
karl <=
Re: sym to verilog-ams, al davis, 2022/04/04
- Re: sym to verilog-ams, karl, 2022/04/05
- attributes, possible interface, Felix Salfelder, 2022/04/18
- Re: attributes, possible interface, al davis, 2022/04/18
- Re: attributes, possible interface, Felix Salfelder, 2022/04/19
- Re: attributes, possible interface, al davis, 2022/04/19
- Re: attributes, possible interface, Felix Salfelder, 2022/04/20
- Re: attributes, possible interface, correction, Felix Salfelder, 2022/04/20