Altera_Forum
Honored Contributor
12 years agoCould someone have an idea?
Ok. I have 4 modules that it depends on GPIO or Switch Hi or Lo
module From_SPISlave() and module To_UART(); module From_UART() and module To_SPIMaster(); if (Switch is Hi) then I run the first: From_SPISlave() and To_UART(); if (Switch is Lo) then I run the second: From_UART() and To_SPIMaster(); How do I design this in top level? Thanks, Sean