Git Product home page Git Product logo

riscy-soc's Issues

Request CPU Operation Clarification

Hello, thank you in advance. I know it is unorthodox to ask questions such as this on the issues section of any repo.

I am a student hoping to use the CPU of this SoC for a research project. The project goal is to measure simulated power behavior with differing memory configurations, and the CPU's simplicity and memory I/O seemingly makes it a perfect fit. I came across some issues while trying to integrate it into my Xilinx Vivado project. My own misunderstanding of the code may be at fault, but I would appreciate any help getting things sorted out.
I started by cloning the repository, then adding cpu.v and all sub-module and file dependencies to the project. The first issue was that the module declarations in cpu.v caused errors, seemingly resolved by changing the form from "cpu_module_name module_name(...);" to "module_name cpu_module_name(...);"
At this point I attempted Vivado behavioral simulation and encountered several errors of form "concurrent assignment to a non-net 'variable_name' is not permitted. Errors like this occurred in cpu.v and several submodules, but was resolved by changing the variables from register types to wires.
Lastly I created a testbench file for the cpu module and began behavioral simulation proper. The instr_read_out signal was set to 1, but the instr_address_out wire was not set to anything. Nothing changed when I set a steady clock signal.
Have I fundamentally misunderstood something about how the CPU is meant to function? Can it work outside of its original context?

Thank you for your trouble.

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.