EmbDev.net

Forum: FPGA, VHDL & Verilog FPGA pin multiple usage


von SparkyT (Guest)


Rate this post
useful
not useful
Hi all,
i use 10 fpga pins towards a connector on my board. They are set-up as 5 
inputs and 5 outputs. on this connector i can have multiple little 
boards and their function changes .

now for my question, is it good or bad practice to vhdl condition the 
routing to these pins?

for example out pin10 is used as 1ms pulse for zeroing board1.
can i use out pin10 for uart TX for board2?

the little boards are not replaced 'live'. meaning that once the fpga 
powers-up,
it will identify the board connected and set appropriate routing that 
will not change (at least not until another power toggle).

thank you in advance
sparkyT

von Lothar M. (lkmiller) (Moderator)


Rate this post
useful
not useful
SparkyT wrote:
> for example out pin10 is used as 1ms pulse for zeroing board1.
> can i use out pin10 for uart TX for board2?
I cannot see any problems. The only drawback: when you detect the wrong 
type of board, then you will get strange behaviour.

von SparkyT (Guest)


Rate this post
useful
not useful
Thanks for the confirmation.
Every advice in here has been spot on!

how can someone show their appreciation for all the help from this 
forum?
anyway to buy you a beer, somehow?

SparkyT

Reply

Entering an e-mail address is optional. If you want to receive reply notifications by e-mail, please log in.

Rules — please read before posting

  • Post long source code as attachment, not in the text
  • Posting advertisements is forbidden.

Formatting options

  • [c]C code[/c]
  • [vhdl]VHDL code[/vhdl]
  • [code]code in other languages, ASCII drawings[/code]
  • [math]formula (LaTeX syntax)[/math]




Bild automatisch verkleinern, falls nötig