Closed mahinlma closed 6 years ago
Hi Mahinlman,
Thanks for reporting this issue. Bahar made some changes yesterday to solve this issue. Could you please pull the latest version and confirm that your problem is solved?
Thanks,
Daniel
thanks for fixing the issue .. could you please let me know the steps, how to get bitstream (any of the Intel/Xilinx board) by using Legup generated hardware.
Hi,
Yes, no problem. I will reply in the other issue you posted.
Thank you
legup@legup-vm:~/LeFlow/examples/classificationMNIST$ ../../src/LeFlow classificationMNIST.py --modelsim INFO: Creating project... INFO: Cleaning previous files... INFO: Generating IR from tensorflow... Extracting MNIST_data/train-images-idx3-ubyte.gz Extracting MNIST_data/train-labels-idx1-ubyte.gz Extracting MNIST_data/t10k-images-idx3-ubyte.gz Extracting MNIST_data/t10k-labels-idx1-ubyte.gz The accuracy over the MNIST data is 90.33% Expected Result: 6 INFO: Cleaning unused dumped files... INFO: Converting between LLVM versions... INFO: Running first batch of optimizations before unrolling... INFO: Unrolling and Inlining according to user, simplifying elementary branches and optimizing away other values... INFO: Restructuring the IR signature... INFO: Rewriting unsupported operations... INFO: Partitioning arrays... User did not specify any arrays to partition INFO: Converting human-readable .ll file to bitcode... INFO: Starting LegUp Compilation... INFO: Verilog file generated successfully INFO: Instrumenting testbench and mapping args and temps INFO: DONE! INFO: Starting Modelsim... Traceback (most recent call last): File "../../src/LeFlow", line 197, in
run_modelsim()
File "../../src/LeFlow", line 141, in run_modelsim
command = "make v -C {}".format(project_folder)
NameError: global name 'project_folder' is not defined
When I tried to run classificationMNIST.py with modelsim, I'm getting above error.