Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions fpga/fly-vivado/setup_and_synth.exp
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
#!/usr/bin/expect -f
# Credentials come from the AMD_USER and AMD_PASS environment variables. Never commit them.
# Vivado AuthTokenGen automation (auth only)
set timeout 300

# Generate Auth Token (interactive - requires expect)
puts "=== Generating Auth Token ==="
spawn /vivado/installer/xsetup -b AuthTokenGen
expect "E-mail Address:"
send "999aigents@gmail.com\r"
send "$env(AMD_USER)\r"
expect "Password:"
send "TNzL7xAn0GpbwUcHsDwLYsVD4DReIQDm4d!\r"
send "$env(AMD_PASS)\r"
expect {
"Saved authentication token file successfully" {
puts "\n=== AUTH TOKEN GENERATED ==="
Expand Down
Loading