cancel
Showing results for 
Search instead for 
Did you mean: 
Highlighted
Visitor
Visitor
3,647 Views
Registered: ‎06-06-2010

Register Enable sampling Problem

Jump to solution

Hi, I am trying to sample the output at a specific cycle, I use a counter to measure the specific cycle and enable the sample register, but the simulation seems not working, can anyone give some help?

 

cnt_scheduling.PNG
0 Kudos
1 Solution

Accepted Solutions
Highlighted
Visitor
Visitor
3,907 Views
Registered: ‎06-06-2010

Re: Register Enable sampling Problem

Jump to solution

sorry guys, I am just keep being stupid.

 

the output of the 3rd wave was not considered for the delays, so the enable signal was enabling the reg when input were zeros.

 

:smileyindifferent:

View solution in original post

0 Kudos
2 Replies
Highlighted
Visitor
Visitor
3,646 Views
Registered: ‎06-06-2010

Re: Register Enable sampling Problem

Jump to solution

the simulation wave form.

 

the enable pulse has covered the 2 cycles, but the output is still 0, why is this?

cnt_scheduling_wave.PNG
0 Kudos
Highlighted
Visitor
Visitor
3,908 Views
Registered: ‎06-06-2010

Re: Register Enable sampling Problem

Jump to solution

sorry guys, I am just keep being stupid.

 

the output of the 3rd wave was not considered for the delays, so the enable signal was enabling the reg when input were zeros.

 

:smileyindifferent:

View solution in original post

0 Kudos