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

Issue while trying to build microwatt project for the first time #362

Open
Sairam-Ganti opened this issue May 16, 2022 · 2 comments
Open

Comments

@Sairam-Ganti
Copy link

Hi! I am new to this project and am trying to build it for the first time, I am facing the following issue:

ghdl -c --std=08 -Psim-unisim -Wl,sim_vhpi_c.o -Wl,sim_bram_helpers_c.o -Wl,sim_console_c.o -Wl,sim_jtag_socket_c.o decode_types.vhdl common.vhdl wishbone_types.vhdl fetch1.vhdl utils.vhdl plru.vhdl cache_ram.vhdl icache.vhdl decode1.vhdl helpers.vhdl insn_helpers.vhdl control.vhdl decode2.vhdl register_file.vhdl cr_file.vhdl crhelpers.vhdl ppc_fx_insns.vhdl rotator.vhdl logical.vhdl countbits.vhdl multiply.vhdl divider.vhdl execute1.vhdl loadstore1.vhdl mmu.vhdl dcache.vhdl writeback.vhdl core_debug.vhdl core.vhdl fpu.vhdl pmu.vhdl wishbone_arbiter.vhdl wishbone_bram_wrapper.vhdl sync_fifo.vhdl wishbone_debug_master.vhdl xics.vhdl syscon.vhdl gpio.vhdl soc.vhdl spi_rxtx.vhdl spi_flash_ctrl.vhdl sim_console.vhdl sim_pp_uart.vhdl sim_bram_helpers.vhdl sim_bram.vhdl sim_jtag_socket.vhdl sim_jtag.vhdl dmi_dtm_xilinx.vhdl sim_16550_uart.vhdl foreign_random.vhdl glibc_random.vhdl glibc_random_helpers.vhdl core_tb.vhdl -e core_tb
ghdl:error: unknown warning identifier: l,sim_vhpi_c.o
make: *** [Makefile:116: core_tb] Error 1

I'm not sure where I am going wrong, as I haven't made any changes to my local repo yet.

ghdl --version gives me the following output:

GHDL 3.0.0-dev (tarball) [Dunoon edition]
 Compiled with GNAT Version: 9.4.0
 mcode code generator
Written by Tristan Gingold.

Copyright (C) 2003 - 2022 Tristan Gingold.
GHDL is free software, covered by the GNU General Public License.  There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.

I'm trying to build on a PC running Ubuntu 20.04. Please let me know if I can provide any more information

@umarcor
Copy link
Contributor

umarcor commented May 16, 2022

@Sairam-Ganti I suggest to try GHDL with LLVM or GCC backend, instead of mcode.

@iagocaran
Copy link
Contributor

@Sairam-Ganti Hi, I wrote this tutorial on how to setup Microwatt using GHDL on Ubuntu 20.04, I hope it helps you and I welcome any feedback.
https://openpower.ic.unicamp.br/post/simulating-microwatt-with-ghdl/

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

3 participants