The Designer's Guide Community Forum
https://designers-guide.org/forum/YaBB.pl Design Languages >> Verilog-AMS >> grounds in inductively coupled modules https://designers-guide.org/forum/YaBB.pl?num=1168953666 Message started by Pavel on Jan 16th, 2007, 5:21am |
Title: grounds in inductively coupled modules Post by Pavel on Jan 16th, 2007, 5:21am Hello I have two modules: module_A and module_B that are inductively coupled. In each module I declare: - 2 electrical outputs (from coil of this module to one of another module, in order to calculate in another module fraction of voltage, related to mutual inductance) - 2 electrical inputs (form coil of another module, in order to calculate in this module fraction of voltage, related to mutual inductance). - ground node (in module_A it coinsides with one of the coil nodes, in module_B - not. In top-level testbench I instantiate module_A and module_B and do the necessary connections between modules, but don't declare ground node. The signal source is in module_A) The simulation results are strange: at coil outputs of module_A there is no signal (both outputs are equal to zero) as if both outputs were grounded. When I deconnect module_A coil outputs from corresponding inputs of module_B, the signal at module_A coil outputs does present. What could be the "right" connection strategy of 2 inductively coupled modules. Thanks in advance. Pavel. |
Title: Re: grounds in inductively coupled modules Post by Geoffrey_Coram on Jan 16th, 2007, 6:21am Hard to debug from the description you have ... one of the moduleA outputs is grounded, you say, so I'd look carefully at the probe in moduleB that is supposed to detect the voltage across the outputs of A. Also, in circuits, "output" and "input" don't really apply (one uses them for gate-level simulations) -- but then, many analog simulators ignore these and treat all ports as "inout" anyway. I think you should post the contribution statements from your modules. |
Title: Re: grounds in inductively coupled modules Post by Pavel on Jan 16th, 2007, 7:10am Geoffrey, thank you for your response. Here is shorted part of my code: module_A: Code:
module_B: Code:
Assembly Code:
For simplicity I didn't show signal source (in module_A) and some other circuitry in modules A and B, concentrating only on inductive coupling. I also changed ground strategy, declaring ground only in TOP module. This changement didn't resolve the problem. Signal coil1_A as well as COIL1 output of module_A are at 0. When I deconnect module_B they return to "normal". Regards. Pavel. |
Title: Re: grounds in inductively coupled modules Post by Geoffrey_Coram on Jan 16th, 2007, 1:14pm You have some typos in your post: node_read is declared as an input but it's not in the port list (should be declared electrical or ground, I think). And in moduleB, node_tag isn't declared at all. |
The Designer's Guide Community Forum » Powered by YaBB 2.2.2! YaBB © 2000-2008. All Rights Reserved. |