tnt
05/19/2024, 10:27 PMmagic but netgen but there isan't a channel for that AFAICT.
Is netgen supposed to support non declared wires in input verilog netlist ? Like in verilog there is a default nettype and so declaring wire isn't required. Is netgen supposed to accept that ? I get confused because it seems to work inside of ports of instances but not in assign.Tim Edwards
05/20/2024, 12:23 AMTim Edwards
05/20/2024, 12:27 AMMitch Bailey
05/20/2024, 12:58 AMtnt
05/20/2024, 6:05 AMImproper assignment; right-hand side cannot be parsed.
Left-hand side is "vdda1".
Improper expression is "vapwr".
And the line is just :
assign vdda1 = vapwr;
If I add wire vapwr then it works.tnt
05/20/2024, 6:06 AMtnt
05/20/2024, 6:18 AMMitch Bailey
05/20/2024, 6:27 AMtnt
05/20/2024, 6:42 AMassign vapwr = vdda1; that also works but unfortunately that's not the way it gets written by OR 😕tnt
05/20/2024, 7:24 AMiverilog and it seems to agree with netgen in that only the LHS can be an undefined wire, the RHS should already be existing "some other way".tnt
05/20/2024, 8:35 AMnetgen because if I correct the net list by adding wire apwr; declaration it works fine.
If I correct it by swapping the assignments assign vapwr = vdda1; it reads it but then fails pin matching.Mitch Bailey
05/20/2024, 10:22 AMtnt
05/20/2024, 10:30 AMtnt
05/20/2024, 11:07 AMMitch Bailey
05/20/2024, 11:46 AMext2spice short resistor
that may fix the port mismatch (if you’re not using it already).tnt
05/20/2024, 11:49 AMMitch Bailey
05/20/2024, 2:34 PMtnt
05/20/2024, 3:39 PMtnt
05/20/2024, 3:40 PM