Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Using with archimedes and icesugarpro failed, need help #28

Open
janrinze opened this issue Nov 5, 2023 · 2 comments
Open

Using with archimedes and icesugarpro failed, need help #28

janrinze opened this issue Nov 5, 2023 · 2 comments

Comments

@janrinze
Copy link

janrinze commented Nov 5, 2023

The archimedes repository probably does not yet support icesugarpro.
I would like to test it to see if it it possible to run the archimedes on the icesugar pro.

Maybe in future even the ULX3S but since DeMISTify has support for icesugar pro I would try that first.

For iceSugarPro I have changed BOARDS=icesugarpro in DeMiSTify/site.mk

below the last part of the output of the make command.

 /----------------------------------------------------------------------------\
 |                                                                            |
 |  yosys -- Yosys Open SYnthesis Suite                                       |
 |                                                                            |
 |  Copyright (C) 2012 - 2020  Claire Xenia Wolf <[email protected]>         |
 |                                                                            |
 |  Permission to use, copy, modify, and/or distribute this software for any  |
 |  purpose with or without fee is hereby granted, provided that the above    |
 |  copyright notice and this permission notice appear in all copies.         |
 |                                                                            |
 |  THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES  |
 |  WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF          |
 |  MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR   |
 |  ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES    |
 |  WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN     |
 |  ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF   |
 |  OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.            |
 |                                                                            |
 \----------------------------------------------------------------------------/

 Yosys 0.34+9 (git sha1 a1923a5f7, gcc 12.2.0-14 -fPIC -Os)


-- Running command `tcl ..//DeMiSTify/Scripts/mkproject_yosys.tcl archimedes icesugarpro' --
archimedes
ERROR: TCL interpreter returned an error: couldn't read file "top_files.tcl": no such file or directory
Compilation failed.
rm: cannot remove 'archimedes.config': No such file or directory
ERROR: Failed to open JSON file 'archimedes.json'.
0 warnings, 1 error
make[3]: *** [..//DeMiSTify/Scripts/yosys.mk:43: archimedes.config] Error 255
make[2]: *** [DeMiSTify/Scripts/project.mk:16: all] Error 2
make[1]: Leaving directory '/home/janrinze/FPGAImport/archimedes'
icesugarpro
grep: icesugarpro/output_files/*.rpt: No such file or directory
No data for icesugarpro
Compiling archimedes for MiST... /bin/sh: 1: /opt/altera/13.1/quartus/bin//quartus_sh: not found
make: *** [Makefile:69: mist] Error 1
@janrinze
Copy link
Author

janrinze commented Nov 5, 2023

Next186_DeMiSTify fails on

Compiling overrides.c 	>#include "c64keys.h"
error 248 in line 5 of "c64keys.c": file 'c64keys.h' not found
	included from file "overrides.c":14

Possibly c64keys.h was not yet committed to the repository.
With projects that have many dependencies I usually check them out in a temporary directory and test my build.
That way any files that were missing will pop up errors during build.

As you can see I am very interested in DeMiSTify and hope in future to be able to add ULX3S to the list of supported boards.
Small steps first to get familiar with the way DeMiSTify works and how to use it.

@robinsonb5
Copy link
Owner

Thanks for the reports - you're right that I missed a couple of files from the Next186 repo, and I'll add those soon.

The icesugarpro target in DeMiSTify doesnt' work yet - it's completely experimental and I haven't yet succeeded in building a DeMiSTified core using Yosys, GHDL and nextpnr.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants