Skip to content

A direct connection from an input to output generate a schematic with a disconnected wire #3

@udara28

Description

@udara28

Test the schematic generated by the follow code:

from ModelNetlist import *

netlist = ModelNetlist('top1')

netlist.addPort('in', 'in1')
netlist.addPort('out', 'out1')

wire = Net(netlist)
wire.addDriver(netlist.getPort('in1'))
wire.addLoad(netlist.getPort('out1'))
netlist.addNet(wire)

schema = Schematic(netlist)
drawNetlist(schema, 'schema.png')

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions