diff --git a/hw/efinix_fpga/debug_profile.wizard.json b/hw/efinix_fpga/debug_profile.wizard.json index e09d118..761e996 100644 --- a/hw/efinix_fpga/debug_profile.wizard.json +++ b/hw/efinix_fpga/debug_profile.wizard.json @@ -3,12 +3,12 @@ { "name": "la0", "type": "la", - "uuid": "d64eaf74d37c4eb79fa6271eeceeb4bc", + "uuid": "d0d972d74e3f4c45a9c473ba07318a8e", "trigin_en": false, "trigout_en": false, "auto_inserted": true, "capture_control": false, - "data_depth": 32, + "data_depth": 2048, "input_pipeline": 1, "probes": [ { @@ -25,6 +25,21 @@ "name": "button_reset", "width": 1, "probe_type": 1 + }, + { + "name": "cpu_data_in", + "width": 8, + "probe_type": 1 + }, + { + "name": "cpu_rwb", + "width": 1, + "probe_type": 1 + }, + { + "name": "cpu_sync", + "width": 1, + "probe_type": 1 } ] } @@ -244,6 +259,56 @@ "name": "la0_probe2", "net": "button_reset", "path": [] + }, + { + "name": "la0_probe3[0]", + "net": "cpu_data_in[0]", + "path": [] + }, + { + "name": "la0_probe3[1]", + "net": "cpu_data_in[1]", + "path": [] + }, + { + "name": "la0_probe3[2]", + "net": "cpu_data_in[2]", + "path": [] + }, + { + "name": "la0_probe3[3]", + "net": "cpu_data_in[3]", + "path": [] + }, + { + "name": "la0_probe3[4]", + "net": "cpu_data_in[4]", + "path": [] + }, + { + "name": "la0_probe3[5]", + "net": "cpu_data_in[5]", + "path": [] + }, + { + "name": "la0_probe3[6]", + "net": "cpu_data_in[6]", + "path": [] + }, + { + "name": "la0_probe3[7]", + "net": "cpu_data_in[7]", + "path": [] + }, + { + "name": "la0_probe4", + "net": "cpu_rwb", + "path": [] + }, + { + "name": "la0_probe5", + "net": "cpu_sync", + "path": [] } ] } @@ -257,7 +322,7 @@ ], "session": { "wizard": { - "data_depth": 32, + "data_depth": 2048, "capture_control": false, "selected_nets": [ { @@ -285,6 +350,32 @@ "selected_probe_type": "DATA AND TRIGGER", "child": [], "path": [] + }, + { + "name": "cpu_data_in", + "width": 8, + "clk_domain": "clk_2", + "selected_probe_type": "DATA AND TRIGGER", + "child": [], + "path": [], + "net_idx_left": 7, + "net_idx_right": 0 + }, + { + "name": "cpu_rwb", + "width": 1, + "clk_domain": "clk_2", + "selected_probe_type": "DATA AND TRIGGER", + "child": [], + "path": [] + }, + { + "name": "cpu_sync", + "width": 1, + "clk_domain": "clk_2", + "selected_probe_type": "DATA AND TRIGGER", + "child": [], + "path": [] } ], "top_module": "super6502", diff --git a/hw/efinix_fpga/super6502.peri.xml b/hw/efinix_fpga/super6502.peri.xml index b6916c0..8f29f94 100644 --- a/hw/efinix_fpga/super6502.peri.xml +++ b/hw/efinix_fpga/super6502.peri.xml @@ -1,5 +1,5 @@ - + @@ -21,53 +21,53 @@ - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + - - + + @@ -135,10 +135,10 @@ - + - + diff --git a/hw/efinix_fpga/super6502.sv b/hw/efinix_fpga/super6502.sv index 3293d66..6cc9158 100644 --- a/hw/efinix_fpga/super6502.sv +++ b/hw/efinix_fpga/super6502.sv @@ -2,19 +2,19 @@ module super6502 ( input [7:0] cpu_data_in, input cpu_sync, + input cpu_rwb, input pll_in, input button_reset, input pll_cpu_locked, input clk_50, input clk_2, - output logic [15:0] cpu_addr, + input logic [15:0] cpu_addr, output logic [7:0] cpu_data_out, output logic [7:0] cpu_data_oe, output logic cpu_irqb, output logic cpu_nmib, output logic cpu_rdy, output logic cpu_resb, - output logic cpu_rwb, output logic pll_cpu_reset ); diff --git a/hw/efinix_fpga/super6502.xml b/hw/efinix_fpga/super6502.xml index e70987a..c7dd20e 100644 --- a/hw/efinix_fpga/super6502.xml +++ b/hw/efinix_fpga/super6502.xml @@ -1,5 +1,5 @@ - + @@ -34,6 +34,12 @@ + + + + + + @@ -41,15 +47,17 @@ + + - - + + - + @@ -60,6 +68,7 @@ +