Forum Discussion
Altera_Forum
Honored Contributor
14 years ago --- Quote Start --- This sounds a little bit like you have the HDL Import block feeding an HDL Output block. This is definitely wrong. If anything an HDL Import block should feed an HDL Input block. --- Quote End --- Hmm, please let me understand if I got what you are saying, so if I want to use this HDL Import block the "connecting chain" would be like: Simulink Input -> In blocks (IO&bus) -> GPin , HDL Import , GPout -> HDL Input -> ? , Scope The arrow means going deeper as level of subsystem, the coma means that those blocks are living in the same subsystem. Im sure there is something wrong in that chain :D , could you please write down to me the right one? --- Quote Start --- HDL Input blocks should be connected to input ports in the blackbox subsystem. (In this case your advanced blockset design is the blackbox subsystem). HDL Output blocks should be connected to the outport ports of this subsystem. There should be no other standard blockset blocks in this subsystem at all. --- Quote End --- Cool, Im ok with that! --- Quote Start --- You could design an FSM with Advanced blockset but it can be quite tricky. It really depeds how complicated it is. --- Quote End --- 1- I would love to know how to do that! 2- Could it be possible to use StateFlow blocks in Advanced systems to design FSM? 3- At the end if one must use an FSM how do you advice to do that? Thanks!!!