Transmission line: too many parameters.

BUG

Concise problem statement:

The lossless transmission line does not run in EE.

This explains why.

The ngspice lossless transmission line allows the user to specify

either

Z0 and TD

or

Z0, F and NL.

The EE transmission line specifies Z0, TD and F.

The EE default value for F is 1.

Deleting this value removes F from the list of Custom Attributes in the Properties panel but leaves:

F=

at the end of the parameters list for each instance of a T in the netlist.

The netlist then fails to parse correctly so the simulation fails to start (with no clear error message to the user).

Running the netlist in ngspice.com but with the

F=

parameter for each T instance deleted or commented out, the sim runs OK:

http://www.ngspice.com/index.php?public_circuit=jtvRn7

How to fix this.


The simple way is to remove the F parameter and just have Z0 and TD as the only available parameters however for people doing RF design, the F and NL option may be more helpful.

Maybe access the two options from a dropdown menu in the symbol in left hand panel (like the symbol choices for US/EU for some components)?

For info:


From ngspice manual Chapter 6: Transmission Lines.

http://ngspice.sourceforge.net/docs/ngspice-manual.pdf


Z0 is the characteristic impedance.

The length of the line may be expressed in either of two forms.

The transmission delay, TD, may be specified directly (as TD=10ns,
for example).

Alternatively, a frequency, F, may be given, together with NL, the
normalized electrical length of the transmission line with respect
to the wavelength in the line at the frequency, F.

F is specified in Hz.

If a frequency, F, is specified but NL is omitted, an NL value of
0.25 is assumed (that is, the frequency is assumed to be the
quarter-wave frequency).

Note that although both forms for expressing the line length are
indicated as optional, one of the two must be specified.

Url:

https://easyeda.com/file_view_Transmission-line_aOICUO6oh.htm

Browser:Mozilla/5.0 (Windows NT 5.1; rv:25.0) Gecko/20100101 Firefox/25.0

#Bug Reports#
Bug Reports
Subckt calls and parameter passing broken2
Bug Reports
Copper area on GTL, GBL Gerbers not shown

**BUG**
Concise problem statement:

(Is this a bug or a design feature?)

EasyEDA Gerbers for a PCB with a copper area (flood) on the top and/or bottom layer, do not show the flood on the GTL or GBL Gerber files.

(This may also be true for inner layers but I have not tried this yet.)

This makes it hard to check that the flood is in the right position.

The user cannot visually check that flood-to-pad clearances are correct.

For example, suppose the user designs a PCB with mixed small signal and 230V AC voltages.

EE has only one Net Class.

Clearances can be set for small signal or for 230V but not both.

Suppose the users sets small signal clearances.

The user adds the flood.

The PCB passes DRC with the flood drawn in.

However, the flood has to have a bigger clearance around the 230V pads and tracks than the small signal pads.

So user has to draw the clearance round the 230V pads and tracks by hand.

When the user generates, downloads and opens the Gerbers in gerbv, the flood is not shown so the user cannot check that the clearances are correct.

Steps to reproduce bug:

  1. Open any of the PCB files listed below;
  2. Click on Gerbers... icon on top toolbar;
  3. unzip and open GTL or GBL Gerber files in gerbv

Results:

Gerbers show tracks and pads but do not show copper area floods.

Expected results:

Gerbers should show all copper that is to be on physical PCB.

Url:

https://easyeda.com/file_view_Astable-Multivibrator_9lfxP7pHB.htm

https://easyeda.com/file_view_Arduino-Motor-Shield-1_gsA5Bv1jB.htm

https://easyeda.com/file_view_Arduino-Esplora-1_naGcIC8qI.htm

https://easyeda.com/file_view_Arduibo-2560-PCB_luQAunv1x.htm

Browser:Mozilla/5.0 (Windows NT 5.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/30.0.1599.101 Safari/537.36

#Bug Reports#
Bug Reports
Can't change Xspice model

BUG

Concise problem statement:

I have tried to change the parameters of the ADC and DAC bridges used in this example:

https://easyeda.com/file_view_How-to-use-logic-gates-via-Xspice_GSM4mEWew.htm

so that I can post an example of how the logic family of Xspice logic gates can be changed.

The example I am working on allows me to enter a spice .model directive but does not correctly parse the new bridge.

I understand what the error report is telling me but I do not understand what I am doing wrong in the schematic to cause the error.

Steps to reproduce bug:

  1. Run sim

  2. Read simulation report

Results:

Sim report shows error:

Missing [, an array connection was expected. Returning . . .Error on line 5 : abridge3 abridge2_2 vol3 dac_bridge2

Missing [, an array connection was expected

First few lines of netlist looks like this:

ABRIDGE5 [ABRIDGE5_1] [VOL2] DAC_BRIDGE
ABRIDGE4 [ABRIDGE4_1] [VOL1] DAC_BRIDGE
ABRIDGE3 ABRIDGE2_2 VOL3 DAC_BRIDGE2
ABRIDGE2 [ABRIDGE2_1] [ABRIDGE2_2] ADC_BRIDGE
ABRIDGE1 [V1_1] [A1_1] ADC_BRIDGE

Error refers to missing square brackets in ABRIDGE3

Expected results:

Line for ABRIDGE3 should look like this:

ABRIDGE3 [ABRIDGE2_2] [VOL3] DAC_BRIDGE2

Url:

https://easyeda.com/file_view_Xspice-logic-gates_NcI0icuM4.htm

Browser:Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Ubuntu Chromium/30.0.1599.114 Chrome/30.0.1599.114 Safari/537.36

#Bug Reports#
Bug Reports