Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

Verilog-A: Constant phase rotator across frequency

Status
Not open for further replies.

Chr's

Junior Member level 1
Junior Member level 1
Joined
Sep 26, 2014
Messages
16
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Visit site
Activity points
121
Hii,
I've no experience in verilog-A so, i hope that you can help me :)

I want to realize a box, which has a constant phase shift across the frequency.
An input has a AC magnitude of 1V and AC phase of 0 degree.

At the outputs, I want 2 signals:
- one with AC magnitude= input magnitude and a phase=phase of input
- other with AC magnitude= input magnitude and a phase=phase of input+90degrees

I'm doing something like that, but doesn work.


Code Verilog - [expand]
1
2
3
4
5
6
7
8
9
10
module phase_splitter(single, lag, lead);
  inout single, lag, lead;
  electrical single, lag, lead;
  ground gnd;
   parameter real phase_shift = 0 from (0:360);
 
 isource #(.ac(single),.acphase(phase_shift/2)) is1(gnd, lead);
 isource #(.ac(single),.acphase(-phase_shift/2)) is2(gnd, lag);
 
endmodule // phase-splitter



What's wrong ?
Thanks in advance
 
Last edited by a moderator:

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top