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.

[SOLVED] How to use conditional statement with ipcore?

Status
Not open for further replies.

Indrajit Ghosh

Junior Member level 2
Joined
Feb 17, 2015
Messages
21
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
170
I have 4 modules A>B>C>D,now each module get activated from the signals received from the preceding modules, now what i want to do is that i want to execute the modules A,B,C,D in the same order for a particular no. of times until a certain condition is satisfied.Now i have instantiated the modules A,B,C,D in a "TOP module"....can you tell me how to go about this conditional problem?
 

FvM

Super Moderator
Staff member
Joined
Jan 22, 2008
Messages
48,301
Helped
14,233
Reputation
28,727
Reaction score
12,925
Trophy points
1,393
Location
Bochum, Germany
Activity points
279,678
Hardware logic is not "executed". Modules are wired like logic ICs. To make the operation of a module depend on a condition, the module itself must provide a respective activation input, usually acting as a clock enable.
 

fouwad

Full Member level 4
Joined
Nov 29, 2009
Messages
199
Helped
19
Reputation
38
Reaction score
17
Trophy points
1,298
Location
Pakistan
Activity points
2,466
We use Enable logic to activate a specific part of hardware. Think of it as a hardware logic not like a C code. u use Chip Enable to activate an IC, thats how u have to use your modules to get the required output.
 

Indrajit Ghosh

Junior Member level 2
Joined
Feb 17, 2015
Messages
21
Helped
0
Reputation
0
Reaction score
0
Trophy points
1
Activity points
170
what i want to say is that,i am trying to develop a system where it will take some signals from the environment and do some computations on those signals ,then it will check some conditions to seeewhether the required condition has satisfied it or not,if not satisfied it will again do the same computation.here each block A to D is a part of the whole computation now i want to re use those modules in the same sequence till my required condition is satisfied ,so how will this repeat action will take place, i have made the modules A,B,C,D separately?
 

TrickyDicky

Advanced Member level 5
Joined
Jun 7, 2010
Messages
7,060
Helped
2,075
Reputation
4,167
Reaction score
2,028
Trophy points
1,393
Activity points
39,068
You put data in the front, you get data out. If the output meets that condition, tell some other controller module you're done. Otherwise tell it to send some more data.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Top