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.

What is the initial value of DFF if input is fed from output

Status
Not open for further replies.

leongch

Member level 2
Joined
Dec 22, 2005
Messages
44
Helped
1
Reputation
2
Reaction score
0
Trophy points
1,286
Activity points
1,692
hi,
i am trying to do the a frequency divider by 2 by using the DflipFlop
The design just simple where the output of the DflipFlop is feedback to input of the DFF... While i run the compilation the ALTERA QuartusII not allow the input to be feed directly from the output. Anyway to solve this kinda problem? Thanks :p
Oh... by VHDL ... [/img]
 

Nandy

Advanced Member level 4
Joined
Dec 16, 2005
Messages
116
Helped
6
Reputation
12
Reaction score
4
Trophy points
1,298
Location
San Jose CA
Activity points
2,399
You should add a revert before feedback the output. And you should reset the flipflop.

Nandy
www.nandigits.com
Netlist Debug/ECO in GUI mode.
 

leongch

Member level 2
Joined
Dec 22, 2005
Messages
44
Helped
1
Reputation
2
Reaction score
0
Trophy points
1,286
Activity points
1,692
ops...sorry, the feedback loop going to hv a inverter...
Nandy, just to clarify, do u mean, we first reset the flipflop first then the output will be LOW (0) can cause the input to be '1' ?
 

Resistance

Member level 4
Joined
Dec 24, 2005
Messages
74
Helped
5
Reputation
10
Reaction score
2
Trophy points
1,288
Activity points
2,034
Re: What is the initial value of DFF if input is fed from ou

hi

Small error dude jus take it from QN and feed it back to D.. u will get it..

But getting to ur q : connect Q to D then it would be controlled by S and R pins..
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top