Verilog-A: Constant phase rotator across frequency

Status
Not open for further replies.

Chr's

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.
Cookies are required to use this site. You must accept them to continue using the site. Learn more…