Wednesday, May 20, 2015

Altering the c file in Tutorial 1 (LED Test)

Dr. McColgan and I figured out how to alter the file in tutorial one to change how the LEDs blink.

Steps to alerting c file (will show everyone tomorrow)

Note: must have the tutorial 1 complete fully in order to do this!

  1. Open project in Vivado launch screen and choose the file that ends with .xpr
  2. Once loaded open block design in vivado (drop down should appear with file)
  3. Then open implemented design 
  4. Export to SDK like usual (make sure to launch SDK)
  5. When in SDK hit File>new application>name the file whatever you'd like>hit next>empty world > finish.
  6. Then click LED_test > src > right click (import) > browse > recently used > zynq_sources > first_zynq_design > OK
  7. Double click on the file (LED_test_tut_1C.c) to open it and manipulate it.
  8. After you manipulate it save the file as something else making sure you add the ".c" at the end. 
  9. You will notice that the file will have a red x on it this is because you cannot have two file sources so you will need to delete the original one (LED_test_tut_1C.c).
  10. From there you program the FPGA like normal then run the hardware.
I will show everyone tomorrow

No comments:

Post a Comment