Add sim cpu
This commit is contained in:
3
.gitmodules
vendored
3
.gitmodules
vendored
@@ -1,3 +1,6 @@
|
|||||||
[submodule "sw/cc65"]
|
[submodule "sw/cc65"]
|
||||||
path = sw/cc65
|
path = sw/cc65
|
||||||
url = https://git.byronlathi.com/bslathi19/cc65
|
url = https://git.byronlathi.com/bslathi19/cc65
|
||||||
|
[submodule "hw/efinix_fpga/simulation/verilog-6502"]
|
||||||
|
path = hw/efinix_fpga/simulation/verilog-6502
|
||||||
|
url = https://git.byronlathi.com/bslathi19/verilog-6502
|
||||||
|
|||||||
12
hw/efinix_fpga/simulation/sim_top.sv
Normal file
12
hw/efinix_fpga/simulation/sim_top.sv
Normal file
@@ -0,0 +1,12 @@
|
|||||||
|
module sim_top();
|
||||||
|
|
||||||
|
//TODO: this
|
||||||
|
cpu_65c02 u_cpu();
|
||||||
|
|
||||||
|
//TODO: also this
|
||||||
|
super6502 u_dut();
|
||||||
|
|
||||||
|
//TODO: decide what to do here
|
||||||
|
memory u_mem();
|
||||||
|
|
||||||
|
endmodule
|
||||||
1
hw/efinix_fpga/simulation/verilog-6502
Submodule
1
hw/efinix_fpga/simulation/verilog-6502
Submodule
Submodule hw/efinix_fpga/simulation/verilog-6502 added at a5f605d00d
Reference in New Issue
Block a user