GithubHelp home page GithubHelp logo

sysumixd / riscv_core Goto Github PK

View Code? Open in Web Editor NEW

This project forked from gyeonghokim/riscv_core

0.0 0.0 0.0 6.69 MB

building 32bit risc-v core and Machine Learning for Branch Prediction

Python 3.05% Verilog 89.13% Assembly 7.66% SystemVerilog 0.17%

riscv_core's Introduction

RISC-V CPU

32 bit RISC-V Core

Overview

Our own RISC-V CPU RTL design.

RISCVcore

Directories

Name Contents
RISCV FPGA codes for actual working
algorithm MergeSort assembly & Instructions for this cpu
testingModules Testing Each 5 stage pipeline modules
BPML Machine Learning for Dynamic Branch Prediction
img Images for README

References

How to simulate Each Verilog Modules

if your os is windows, then install Xilinx ISE Design Suite. However, Xilinx is not available in Mac.

installation for Mac

to install icarus-verilog,

brew install icarus-verilog

to install gtkwave, you just google "gtkwave" and download it anyway.

icarus-verilog

for compile verilog files,

iverilog -o <output file name> <module.v> <tb_module.v>

you should add below codes in your testbench to make vcd files.

initial begin
	$dumpfile("fileName.vcd");
	$dumpvars(0,ModuleNameOfTestBench);
end

and then, you have to make waveform file(.vcd file).

vvp <output file name you made above>

gtkwave

just double click on your waveform file(.vcd file) you made above.

riscv_core's People

Contributors

gyeonghokim avatar

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.