Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

how to assign exp_io_4_n pin as output pin #550

Open
v-shetty opened this issue Feb 23, 2022 · 1 comment
Open

how to assign exp_io_4_n pin as output pin #550

v-shetty opened this issue Feb 23, 2022 · 1 comment

Comments

@v-shetty
Copy link

i would like to turn ON a LED by connecting to exp_io_4_n pin.

but in the example given, (ADC_DAC BRAM) , exp_io_4_n is by default input pin.

do i have to change xdc file to change the property of a pin?

@tvanderbruggen
Copy link
Member

In boards/alpha250/starting_point.tcl, the p lines are defined as inputs and the n lines as outputs:

for {set i 0} {$i < 8} {incr i} {
  create_bd_port -dir I exp_io_${i}_p
  create_bd_port -dir O exp_io_${i}_n
}

This is not modified in the adc-dac-bram design block diagram, so exp_io_4_n should already be an output.

What makes you think exp_io_4_n is an input ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants