Skip to content

ibraheemalayan/Simple_Computer_Verilog_Part_2

Repository files navigation

                          ╔════════════════━━─── • ───━━━═══════════════╗

                                      Simple Computer In Verilog

                          ╚═══════════════━━━─── • ───━━━═══════════════╝

Simple Computer In Verilog 💻

project 1 phase II in the computer organization course (ENCS2380) at Birzeit University

Partners

👷 Ibraheem Alyan  1201180
👷 Hammam Khaled   1191081


Modules

  • CPU.v CPU module that can execute the 12 instructions

  • MEMORY.v a 384 byte memory (128 cells each is 3 bytes)

  • CLK_GEN.v a sample clock generator that inverts the clock signal each 5 ns (full cycle is 10 ns)

  • Test_Bench.v the test bench that connects the modules and is the top level file in the simulation


Running The Simulation

install Icarus Verilog and add its binaries to your shell path then run the following

git clone https://github.com/ibraheemalayan/Simple_Computer_Verilog_Part_2.git
cd Simple_Computer_Verilog_Part_2/modules
iverilog -o compiled_testbench.vvp Test_Bench.v
vvp compiled_testbench.vvp

Then you can read the output of the display statments
OR
open the waves.vcd using a wave viewer (eg: GTKwave)


Simulations on GTKwave

Visit the link of each simulation to view the Discussion, simulation text output, memory table view, memory loading code, and the high quality images links


waveform on GTKwave


waveform on GTKwave


waveform on GTKwave


waveform on GTKwave

Releases

No releases published

Packages

No packages published