myboard.asf 362 B

1234567891011
  1. if { [info exists BOARD_PLL_CLKIN] } {
  2. if { $BOARD_PLL_CLKIN == "PIN_OSC" } {
  3. set_config -loc 18 0 0 CFG_RCOSC_EN 1'b1
  4. }
  5. }
  6. if { [info exists USB0_MODE] } {
  7. alta::tcl_info "USB0_MODE = $USB0_MODE"
  8. set_config -loc 0 1 3 CFG_PULLUP_ENB 1'b0
  9. set_config -loc 0 1 3 CFG_PULLDN_ENB 1'b0
  10. }
  11. set_instance_assignment -name WEAK_PULL_UP_RESISTOR ON -to PIN_26