mohaghasemzadeh / ReBNet

Residual Binarized Neural Network
Other
44 stars 9 forks source link

Could you please tell me how to set the XILINX_BNN_BOOT environment? #1

Open ThomasZhang50 opened 6 years ago

ThomasZhang50 commented 6 years ago

Dear mohaghasemzadeh, Hello! I have read your paper and I am very interested in it. But I found a question in doing the environment setting. I use Ubuntu virtual machine to get Linux environment and when I enter "export XILINX_BNN_ROOT=ReBNet/bnn/src/", there is no reaction or responce at all. I've dowloaded XILINX 18.2 and my clone_path is just on desktop. Is there any way to set XILINX root? Thank you very much and thank you for your helpful paper! Best wishes, Thomas

  1. June
mohaghasemzadeh commented 6 years ago

Hi Thomas,

There should be no response when you set the environment variable ("XILINX_BNN_ROOT"). Are you able to run ./make-hw.sh {network} {platform} {mode}? This should run Vivado tools and you will see the synthesis command line outputs.

Before performing above steps, make sure you can run Vivado from command line, i.e. run vivado_hls & to see if you can open Vivado HLS.

Hope this helps! Mohammad

ThomasZhang50 commented 6 years ago

Hello, Mohammad, thank you for your Email! I do can run Vivado or Vivado HLS, but I can't launch the shell script make-hw.sh. There's some screenshoot below. I've searched some reasons on the Internet but got no help. What should I do? I am a beginner :-) Thanks a lot! Best wishes! Thomas, 27, June

2018-06-26 19:29 GMT+02:00 mohaghasemzadeh notifications@github.com:

Hi Thomas,

There should be no response when you set the environment variable ("XILINX_BNN_ROOT"). Are you able to run ./make-hw.sh {network} {platform} {mode}? This should run Vivado tools and you will see the synthesis command line outputs.

Before performing above steps, make sure you can run Vivado from command line, i.e. run vivado_hls & to see if you can open Vivado HLS.

Hope this helps! Mohammad

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/mohaghasemzadeh/ReBNet/issues/1#issuecomment-400398259, or mute the thread https://github.com/notifications/unsubscribe-auth/AmuR9IP5NLc6s8RCwEmxYUS3jYMFeMAwks5uAm-BgaJpZM4U4ESm .

mohaghasemzadeh commented 6 years ago

Hi Thomas,

There is no screenshot attached to your message. What is the error you are getting?

Mohammad

ThomasZhang50 commented 6 years ago

Hello, Mohammad, Thanks for your patient, the pictures are in attachment now. I was only putting them in the last Email, sorry. The Problem is I do can run Vivado or Vivado HLS, but I can't launch the shell script make-hw.sh. Thanks a lot! Best wishes! Thomas,

  1. June

2018-06-27 17:45 GMT+02:00 mohaghasemzadeh notifications@github.com:

Hi Thomas,

There is no screenshot attached to your message. What is the error you are getting?

Mohammad

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/mohaghasemzadeh/ReBNet/issues/1#issuecomment-400724690, or mute the thread https://github.com/notifications/unsubscribe-auth/AmuR9OyQBVicLhlUhHYb0Xb9kyFnYCVaks5uA6iPgaJpZM4U4ESm .

mohaghasemzadeh commented 6 years ago

I can't see any attached files in your message again.

Mohammad

ThomasZhang50 commented 6 years ago

Dear Mohammad, Thanks for your Email and patient. If I still cant send it, let me try to explain it in words. :-) In the environment "Ubuntu Linux", I entered "cd clone_path/ReBNet/src", then entered "vivado_hls" to run hls. When I entered "./make-hw.sh {MNIST} {pynq} {h}", there was no responce. Or if I entered "vivado", then entered "./make-hw.sh {MNIST} {pynq} {h}", it showed me "bash: ./make-hw.sh: No such file or directory". Is there anything wrong I did? Or could you please send me a picture or tell me how to do it? I am really a beginner. :-) Tanks a lot for your patient! Scincerly, Thomas 1, July

2018-06-28 23:21 GMT+02:00 mohaghasemzadeh notifications@github.com:

I can't see any attached files in your message again.

Mohammad

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/mohaghasemzadeh/ReBNet/issues/1#issuecomment-401177229, or mute the thread https://github.com/notifications/unsubscribe-auth/AmuR9CIZXVhjCTSV9h18dAia66SLAyVVks5uBUjagaJpZM4U4ESm .

mohaghasemzadeh commented 6 years ago

Hi,

Run the shell as ./make-hw.sh MNIST pynq h The accolades might be causing the problem. Also make sure that you run the shell in a separate terminal from the one used to open Vivado. Hope his helps.

-Mohammad

ThomasZhang50 commented 6 years ago

Dear Mohammad, Thanks a lot for your patience and your valuable help! Now I can open the Vivado Interface to work with your ReBNet. Thanks! But if I changed something in your ReBNet, when I enter "./make-hw.sh MNIST pynq h", it showed me "Permission denied". Do you think it's the problem of my computer? I used computer in an Institute in University. Anyway, thanks a lot for your recently help! Scincerly, Thomas 11, July

2018-07-10 23:04 GMT+02:00 mohaghasemzadeh notifications@github.com:

Hi,

Run the shell as ./make-hw.sh MNIST pynq h The accolades might be causing the problem. Also make sure that you run the shell in a separate terminal from the one used to open Vivado. Hope his helps.

-Mohammad

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/mohaghasemzadeh/ReBNet/issues/1#issuecomment-403965467, or mute the thread https://github.com/notifications/unsubscribe-auth/AmuR9JJRZ1aTQ08Q7_Qq0KWxlHtkrDMTks5uFRb1gaJpZM4U4ESm .