Git Product home page Git Product logo

core_uriscv's People

Contributors

ultraembedded avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

core_uriscv's Issues

Signals must be defined before being used

type_load_w and type_store_w signals on riscv_core.v should be defined before being used

AFAIK this is not standard SystemVerilog, did not tried with iverilog but this is failing both with SNPS dc and Cadence's genus

Makefile change for building on MacOS X with Icarus Verilog 11.0

Hi,

When I try to build with the provided Makefile in tb/tb_core_icarus I get the following error

iverilog -o build//output.out ../../src_v/riscv_core.v ../../src_v/uriscv_alu.v ../../src_v/uriscv_branch.v ../../src_v/uriscv_csr.v ../../src_v/uriscv_defs.v ../../src_v/uriscv_lsu.v ../../src_v/uriscv_muldiv.v ./tb_top.v ./tcm_mem.v ./tcm_mem_ram.v -I../../src_v -I. -DTRACE=1 -Dverilog_sim
../../src_v/riscv_core.v:102: Include file uriscv_defs.v not found
../../src_v/riscv_core.v:101: syntax error
I give up.
make: *** [build//output.out] Error 2

All is good if I change the order of VFLAGS on the command line in the Makefile. So

iverilog -o $@ $(SRC_V) $(VFLAGS)

becomes

iverilog $(VFLAGS) -o $@ $(SRC_V)

I don't know what the real issue is but the fix works for me!

Cheers,
Derek

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.