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.

ADC Model in Simulink

Status
Not open for further replies.

fellipefepp

Newbie level 1
Joined
May 6, 2016
Messages
1
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
15
My ADC structure uses a loop and I do not know why Simulink complain about it. I have the following situation:

I have a Sample and Hold (SH A) cell controlled by a combinational logic and its output is used as input in another Sample and Hold cell (SH B). Besides that, SH B's output is used as one of the input that control SH A's clock. Basically, I have a loop between two SH. After I try to simulate it shows:

"Ambiguous sorted order detected due to use of triggered subsystem(s) and/or Model blocks in a loop. See Subsystem Examples in the Simulink library for valid and invalid examples of triggered subsystems"

To "solve" this problem I checked the option "...input buffer" in SH B. If I do this, I do not have this problem anymore, but since my result will be missing one sample every period. There is a way to solve this without delaying SH B output ? Its not necessary to use SH cell, but I need something to store data controlled by a clock signal.
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top