Add new speeds and better GIME-X support.
Added GIME-X interface for Turbo operation including new 2.68 Mhz AND 9.54 Mhz. Additionally - minor GIME-X code alignments in the addressing section added.
This commit is contained in:
1 parent
b12ca71d12
commit
9a03739b2c
11 files changed
+292
-30
No files matched your search
@@ -28,7 +28,7 @@ set_global_assignment -name TIMEQUEST_MULTICORNER_ANALYSIS OFF
|
||||
set_global_assignment -name OPTIMIZE_POWER_DURING_FITTING OFF
|
||||
set_global_assignment -name FINAL_PLACEMENT_OPTIMIZATION ALWAYS
|
||||
set_global_assignment -name FITTER_EFFORT "STANDARD FIT"
|
||||
set_global_assignment -name OPTIMIZATION_MODE "HIGH PERFORMANCE EFFORT"
|
||||
set_global_assignment -name OPTIMIZATION_MODE "AGGRESSIVE PERFORMANCE"
|
||||
set_global_assignment -name ALLOW_POWER_UP_DONT_CARE ON
|
||||
set_global_assignment -name QII_AUTO_PACKED_REGISTERS NORMAL
|
||||
set_global_assignment -name ROUTER_LCELL_INSERTION_AND_LOGIC_DUPLICATION ON
|
||||
@@ -65,11 +65,12 @@ source sys/sys_analog.tcl
|
||||
source files.qip
|
||||
|
||||
set_global_assignment -name ENABLE_SIGNALTAP OFF
|
||||
set_global_assignment -name USE_SIGNALTAP_FILE HD.stp
|
||||
set_global_assignment -name USE_SIGNALTAP_FILE reset.stp
|
||||
set_global_assignment -name SIGNALTAP_FILE Video_Explorer.stp
|
||||
set_global_assignment -name SIGNALTAP_FILE rom_Exploror.stp1
|
||||
set_global_assignment -name SOURCE_FILE rom_Exploror.stp1
|
||||
set_global_assignment -name SIGNALTAP_FILE Serial.stp
|
||||
set_global_assignment -name SIGNALTAP_FILE AMW.stp
|
||||
set_global_assignment -name SIGNALTAP_FILE HD.stp
|
||||
set_global_assignment -name SIGNALTAP_FILE reset.stp
|
||||
set_instance_assignment -name PARTITION_HIERARCHY root_partition -to | -section_id Top
|
||||
@@ -192,7 +192,6 @@ assign VIDEO_ARY = (!ar) ? 12'd3 : 12'd0;
|
||||
localparam CONF_STR = {
|
||||
"COCO3;UART19200:9600:4800:2400:1200:300;",
|
||||
"-;",
|
||||
//"OCD,Multi-Pak Slot,Orch 90,ECB / Cart,Disk;",
|
||||
"OCD,Multi-Pak,(Slot 2) CoCoSDC,(Slot3) ECB /Cart,(Slot 4) Disk;",
|
||||
"H3-;",
|
||||
"H3S0,DSK,Load Disk Drive 0;",
|
||||
@@ -240,7 +239,7 @@ localparam CONF_STR = {
|
||||
"RA,Easter Egg;",
|
||||
"-;",
|
||||
"OO,Force Turbo,No,Yes;",
|
||||
"OJK,Turbo Speed,1.78 Mhz,3.58 Mhz,7.16 Mhz, NA;",
|
||||
"o02,Turbo Speed,CoCo Ctrl, 0.89 Mhz,1.78 Mhz,2.86 Mhz, 3.58 Mhz,7.16 Mhz,9.54 Mhz;",
|
||||
"OPR,Memory Size,512K,1M,2M,16M;",
|
||||
"-;",
|
||||
"RM,Cold Boot;",
|
||||
@@ -250,6 +249,19 @@ localparam CONF_STR = {
|
||||
"V,v",`BUILD_DATE
|
||||
};
|
||||
|
||||
// Status bits Directory
|
||||
|
||||
// Status Bit Map:
|
||||
// Upper Lower
|
||||
// 0 1 2 3 4 5 6
|
||||
// 01234567890123456789012345678901 23456789012345678901234567890123
|
||||
// 0123456789ABCDEFGHIJKLMNOPQRSTUV 0123456789ABCDEFGHIJKLMNOPQRSTUV
|
||||
//
|
||||
|
||||
// R OOOO OOR OO TOOOOOOROOOOOO ooo
|
||||
//F FF
|
||||
//S SSSSSS
|
||||
|
||||
//////////////////// CLOCKS ///////////////////
|
||||
|
||||
wire clk_sys;
|
||||
@@ -274,7 +286,10 @@ pll pll
|
||||
|
||||
///////////////////////////////////////////////////
|
||||
|
||||
wire [31:0] status;
|
||||
wire [63:0] status;
|
||||
wire [63:0] status_in;
|
||||
wire status_set;
|
||||
|
||||
wire [1:0] buttons;
|
||||
wire forced_scandoubler;
|
||||
wire direct_video;
|
||||
@@ -301,12 +316,14 @@ wire [64:0] RTC;
|
||||
hps_io #(.CONF_STR(CONF_STR),.PS2DIV(2400), .VDNUM(6), .BLKSZ(2)) hps_io
|
||||
(
|
||||
.clk_sys(clk_sys),
|
||||
// .clk_sys(CLK_50M), (SRH)
|
||||
.HPS_BUS(HPS_BUS),
|
||||
|
||||
|
||||
.buttons(buttons),
|
||||
.status(status),
|
||||
.status_in(status_in),
|
||||
.status_set(status_set),
|
||||
|
||||
.status_menumask({ ~(mpi == 2'b11), ~(mpi == 2'b10),~(mpi == 2'b01), 1'b1}),
|
||||
.forced_scandoubler(forced_scandoubler),
|
||||
.RTC(RTC),
|
||||
@@ -552,6 +569,7 @@ coco3fpga coco3 (
|
||||
.sdram_busy(sdram_busy),
|
||||
|
||||
.turbo_speed(turbo_speed),
|
||||
.assigned_turbo_speed(assigned_turbo_speed),
|
||||
|
||||
.RTC(RTC),
|
||||
|
||||
@@ -570,9 +588,12 @@ coco3fpga coco3 (
|
||||
.UART_DSR(UART_DSR)
|
||||
);
|
||||
|
||||
assign status_set = 1'b0;
|
||||
|
||||
wire [5:0] cocosound;
|
||||
|
||||
wire [1:0] turbo_speed = status[20:19];
|
||||
wire [2:0] turbo_speed = status[34:32];
|
||||
wire [2:0] assigned_turbo_speed;
|
||||
|
||||
wire AMW_ACK;
|
||||
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,187 @@
|
||||
<session jtag_chain="DE-SoC on Yoda [USB-1]" jtag_device="@2: 5CSEBA6(.|ES)/5CSEMA6/.. (0x02D020DD)" sof_file="">
|
||||
<display_tree gui_logging_enabled="0">
|
||||
<display_branch instance="auto_signaltap_0" log="USE_GLOBAL_TEMP" signal_set="USE_GLOBAL_TEMP" trigger="USE_GLOBAL_TEMP"/>
|
||||
</display_tree>
|
||||
<global_info>
|
||||
<single attribute="active instance" value="0"/>
|
||||
<single attribute="lock mode" value="0"/>
|
||||
<multi attribute="frame size" size="2" value="1474,713"/>
|
||||
<single attribute="jtag widget visible" value="1"/>
|
||||
<multi attribute="jtag widget size" size="2" value="348,135"/>
|
||||
<single attribute="instance widget visible" value="1"/>
|
||||
<single attribute="config widget visible" value="1"/>
|
||||
<single attribute="hierarchy widget visible" value="0"/>
|
||||
<single attribute="data log widget visible" value="0"/>
|
||||
<multi attribute="column width" size="23" value="34,34,408,74,68,78,95,96,98,98,88,88,110,101,101,101,101,101,101,101,101,107,78"/>
|
||||
<single attribute="hierarchy widget height" value="96"/>
|
||||
</global_info>
|
||||
<instance enabled="true" entity_name="sld_signaltap" is_auto_node="yes" name="auto_signaltap_0" source_file="sld_signaltap.vhd">
|
||||
<node_ip_info instance_id="0" mfg_id="110" node_id="0" version="6"/>
|
||||
<position_info>
|
||||
<single attribute="active tab" value="0"/>
|
||||
<single attribute="setup vertical scroll position" value="4"/>
|
||||
<single attribute="setup horizontal scroll position" value="0"/>
|
||||
<single attribute="data vertical scroll position" value="0"/>
|
||||
<single attribute="data horizontal scroll position" value="2046"/>
|
||||
<single attribute="zoom level numerator" value="256"/>
|
||||
<single attribute="zoom level denominator" value="1"/>
|
||||
<single attribute="zoom offset numerator" value="448"/>
|
||||
<single attribute="zoom offset denominator" value="1"/>
|
||||
</position_info>
|
||||
<signal_set global_temp="1" name="signal_set: 2022/02/25 21:39:30 #0">
|
||||
<clock name="emu:emu|coco3fpga:coco3|CLK_57" polarity="posedge" tap_mode="classic"/>
|
||||
<config pipeline_level="3" ram_type="AUTO" reserved_data_nodes="0" reserved_storage_qualifier_nodes="0" reserved_trigger_nodes="0" sample_depth="16384" trigger_in_enable="no" trigger_out_enable="no"/>
|
||||
<top_entity/>
|
||||
<signal_vec>
|
||||
<trigger_input_vec>
|
||||
<wire name="emu:emu|coco3fpga:coco3|COCOKEY:coco_keyboard|RESET" tap_mode="classic"/>
|
||||
<wire name="emu:emu|coco3fpga:coco3|COCOKEY:coco_keyboard|RESET_INS" tap_mode="classic"/>
|
||||
<wire name="emu:emu|coco3fpga:coco3|COCOKEY:coco_keyboard|RESET_N" tap_mode="classic"/>
|
||||
<wire name="emu:emu|coco3fpga:coco3|F_Turbo" tap_mode="classic"/>
|
||||
<wire name="emu:emu|coco3fpga:coco3|MUGS" tap_mode="classic"/>
|
||||
<wire name="emu:emu|coco3fpga:coco3|PH_2_RAW" tap_mode="classic"/>
|
||||
<wire name="emu:emu|coco3fpga:coco3|RATE" tap_mode="classic"/>
|
||||
<wire name="emu:emu|coco3fpga:coco3|RATE_PGM[0]" tap_mode="classic"/>
|
||||
<wire name="emu:emu|coco3fpga:coco3|RATE_PGM[1]" tap_mode="classic"/>
|
||||
<wire name="emu:emu|coco3fpga:coco3|RATE_PGM[2]" tap_mode="classic"/>
|
||||
<wire name="emu:emu|coco3fpga:coco3|RESET_P" tap_mode="classic"/>
|
||||
<wire name="emu:emu|coco3fpga:coco3|turbo_speed[0]" tap_mode="classic"/>
|
||||
<wire name="emu:emu|coco3fpga:coco3|turbo_speed[1]" tap_mode="classic"/>
|
||||
<wire name="emu:emu|coco3fpga:coco3|turbo_speed[2]" tap_mode="classic"/>
|
||||
</trigger_input_vec>
|
||||
<data_input_vec>
|
||||
<wire name="emu:emu|coco3fpga:coco3|COCOKEY:coco_keyboard|RESET" tap_mode="classic"/>
|
||||
<wire name="emu:emu|coco3fpga:coco3|COCOKEY:coco_keyboard|RESET_INS" tap_mode="classic"/>
|
||||
<wire name="emu:emu|coco3fpga:coco3|COCOKEY:coco_keyboard|RESET_N" tap_mode="classic"/>
|
||||
<wire name="emu:emu|coco3fpga:coco3|F_Turbo" tap_mode="classic"/>
|
||||
<wire name="emu:emu|coco3fpga:coco3|MUGS" tap_mode="classic"/>
|
||||
<wire name="emu:emu|coco3fpga:coco3|PH_2_RAW" tap_mode="classic"/>
|
||||
<wire name="emu:emu|coco3fpga:coco3|RATE" tap_mode="classic"/>
|
||||
<wire name="emu:emu|coco3fpga:coco3|RATE_PGM[0]" tap_mode="classic"/>
|
||||
<wire name="emu:emu|coco3fpga:coco3|RATE_PGM[1]" tap_mode="classic"/>
|
||||
<wire name="emu:emu|coco3fpga:coco3|RATE_PGM[2]" tap_mode="classic"/>
|
||||
<wire name="emu:emu|coco3fpga:coco3|RESET_P" tap_mode="classic"/>
|
||||
<wire name="emu:emu|coco3fpga:coco3|turbo_speed[0]" tap_mode="classic"/>
|
||||
<wire name="emu:emu|coco3fpga:coco3|turbo_speed[1]" tap_mode="classic"/>
|
||||
<wire name="emu:emu|coco3fpga:coco3|turbo_speed[2]" tap_mode="classic"/>
|
||||
</data_input_vec>
|
||||
<storage_qualifier_input_vec>
|
||||
<wire name="emu:emu|coco3fpga:coco3|COCOKEY:coco_keyboard|RESET" tap_mode="classic"/>
|
||||
<wire name="emu:emu|coco3fpga:coco3|COCOKEY:coco_keyboard|RESET_INS" tap_mode="classic"/>
|
||||
<wire name="emu:emu|coco3fpga:coco3|COCOKEY:coco_keyboard|RESET_N" tap_mode="classic"/>
|
||||
<wire name="emu:emu|coco3fpga:coco3|F_Turbo" tap_mode="classic"/>
|
||||
<wire name="emu:emu|coco3fpga:coco3|MUGS" tap_mode="classic"/>
|
||||
<wire name="emu:emu|coco3fpga:coco3|PH_2_RAW" tap_mode="classic"/>
|
||||
<wire name="emu:emu|coco3fpga:coco3|RATE" tap_mode="classic"/>
|
||||
<wire name="emu:emu|coco3fpga:coco3|RATE_PGM[0]" tap_mode="classic"/>
|
||||
<wire name="emu:emu|coco3fpga:coco3|RATE_PGM[1]" tap_mode="classic"/>
|
||||
<wire name="emu:emu|coco3fpga:coco3|RATE_PGM[2]" tap_mode="classic"/>
|
||||
<wire name="emu:emu|coco3fpga:coco3|RESET_P" tap_mode="classic"/>
|
||||
<wire name="emu:emu|coco3fpga:coco3|turbo_speed[0]" tap_mode="classic"/>
|
||||
<wire name="emu:emu|coco3fpga:coco3|turbo_speed[1]" tap_mode="classic"/>
|
||||
<wire name="emu:emu|coco3fpga:coco3|turbo_speed[2]" tap_mode="classic"/>
|
||||
</storage_qualifier_input_vec>
|
||||
</signal_vec>
|
||||
<presentation>
|
||||
<unified_setup_data_view>
|
||||
<node data_index="4" duplicate_name_allowed="false" is_data_input="true" is_node_valid="true" is_selected="false" is_storage_input="true" is_trigger_input="true" level-0="dont_care" name="emu:emu|coco3fpga:coco3|MUGS" storage_index="4" tap_mode="classic" trigger_index="4" type="unknown"/>
|
||||
<node data_index="10" duplicate_name_allowed="false" is_data_input="true" is_node_valid="true" is_selected="false" is_storage_input="true" is_trigger_input="true" level-0="dont_care" name="emu:emu|coco3fpga:coco3|RESET_P" storage_index="10" tap_mode="classic" trigger_index="10" type="unknown"/>
|
||||
<node data_index="0" duplicate_name_allowed="false" is_data_input="true" is_node_valid="true" is_selected="false" is_storage_input="true" is_trigger_input="true" level-0="dont_care" name="emu:emu|coco3fpga:coco3|COCOKEY:coco_keyboard|RESET" storage_index="0" tap_mode="classic" trigger_index="0" type="unknown"/>
|
||||
<node data_index="1" duplicate_name_allowed="false" is_data_input="true" is_node_valid="true" is_selected="false" is_storage_input="true" is_trigger_input="true" level-0="dont_care" name="emu:emu|coco3fpga:coco3|COCOKEY:coco_keyboard|RESET_INS" storage_index="1" tap_mode="classic" trigger_index="1" type="unknown"/>
|
||||
<node data_index="2" duplicate_name_allowed="false" is_data_input="true" is_node_valid="true" is_selected="false" is_storage_input="true" is_trigger_input="true" level-0="dont_care" name="emu:emu|coco3fpga:coco3|COCOKEY:coco_keyboard|RESET_N" storage_index="2" tap_mode="classic" trigger_index="2" type="unknown"/>
|
||||
<node data_index="5" duplicate_name_allowed="false" is_data_input="true" is_node_valid="true" is_selected="false" is_storage_input="true" is_trigger_input="true" level-0="rising edge" name="emu:emu|coco3fpga:coco3|PH_2_RAW" storage_index="5" tap_mode="classic" trigger_index="5" type="unknown"/>
|
||||
<node data_index="6" duplicate_name_allowed="false" is_data_input="true" is_node_valid="true" is_selected="false" is_storage_input="true" is_trigger_input="true" name="emu:emu|coco3fpga:coco3|RATE" storage_index="6" tap_mode="classic" trigger_index="6" type="unknown"/>
|
||||
<node is_selected="false" level-0="alt_or" name="emu:emu|coco3fpga:coco3|RATE_PGM[2..0]" order="msb_to_lsb" type="register">
|
||||
<node data_index="9" duplicate_name_allowed="false" is_data_input="true" is_node_valid="true" is_selected="false" is_storage_input="true" is_trigger_input="true" name="emu:emu|coco3fpga:coco3|RATE_PGM[2]" storage_index="9" tap_mode="classic" trigger_index="9" type="unknown"/>
|
||||
<node data_index="8" duplicate_name_allowed="false" is_data_input="true" is_node_valid="true" is_selected="false" is_storage_input="true" is_trigger_input="true" name="emu:emu|coco3fpga:coco3|RATE_PGM[1]" storage_index="8" tap_mode="classic" trigger_index="8" type="unknown"/>
|
||||
<node data_index="7" duplicate_name_allowed="false" is_data_input="true" is_node_valid="true" is_selected="false" is_storage_input="true" is_trigger_input="true" name="emu:emu|coco3fpga:coco3|RATE_PGM[0]" storage_index="7" tap_mode="classic" trigger_index="7" type="unknown"/>
|
||||
</node>
|
||||
<node is_selected="false" level-0="alt_or" name="emu:emu|coco3fpga:coco3|turbo_speed[2..0]" order="msb_to_lsb" type="combinatorial">
|
||||
<node data_index="13" duplicate_name_allowed="false" is_data_input="true" is_node_valid="true" is_selected="false" is_storage_input="true" is_trigger_input="true" name="emu:emu|coco3fpga:coco3|turbo_speed[2]" storage_index="13" tap_mode="classic" trigger_index="13" type="unknown"/>
|
||||
<node data_index="12" duplicate_name_allowed="false" is_data_input="true" is_node_valid="true" is_selected="false" is_storage_input="true" is_trigger_input="true" name="emu:emu|coco3fpga:coco3|turbo_speed[1]" storage_index="12" tap_mode="classic" trigger_index="12" type="unknown"/>
|
||||
<node data_index="11" duplicate_name_allowed="false" is_data_input="true" is_node_valid="true" is_selected="false" is_storage_input="true" is_trigger_input="true" name="emu:emu|coco3fpga:coco3|turbo_speed[0]" storage_index="11" tap_mode="classic" trigger_index="11" type="unknown"/>
|
||||
</node>
|
||||
<node data_index="3" duplicate_name_allowed="false" is_data_input="true" is_node_valid="true" is_selected="false" is_storage_input="true" is_trigger_input="true" name="emu:emu|coco3fpga:coco3|F_Turbo" storage_index="3" tap_mode="classic" trigger_index="3" type="unknown"/>
|
||||
</unified_setup_data_view>
|
||||
<data_view>
|
||||
<net data_index="4" duplicate_name_allowed="false" is_data_input="true" is_node_valid="true" is_selected="false" is_storage_input="true" is_trigger_input="true" level-0="dont_care" name="emu:emu|coco3fpga:coco3|MUGS" storage_index="4" tap_mode="classic" trigger_index="4" type="unknown"/>
|
||||
<net data_index="10" duplicate_name_allowed="false" is_data_input="true" is_node_valid="true" is_selected="false" is_storage_input="true" is_trigger_input="true" level-0="dont_care" name="emu:emu|coco3fpga:coco3|RESET_P" storage_index="10" tap_mode="classic" trigger_index="10" type="unknown"/>
|
||||
<net data_index="0" duplicate_name_allowed="false" is_data_input="true" is_node_valid="true" is_selected="false" is_storage_input="true" is_trigger_input="true" level-0="dont_care" name="emu:emu|coco3fpga:coco3|COCOKEY:coco_keyboard|RESET" storage_index="0" tap_mode="classic" trigger_index="0" type="unknown"/>
|
||||
<net data_index="1" duplicate_name_allowed="false" is_data_input="true" is_node_valid="true" is_selected="false" is_storage_input="true" is_trigger_input="true" level-0="dont_care" name="emu:emu|coco3fpga:coco3|COCOKEY:coco_keyboard|RESET_INS" storage_index="1" tap_mode="classic" trigger_index="1" type="unknown"/>
|
||||
<net data_index="2" duplicate_name_allowed="false" is_data_input="true" is_node_valid="true" is_selected="false" is_storage_input="true" is_trigger_input="true" level-0="dont_care" name="emu:emu|coco3fpga:coco3|COCOKEY:coco_keyboard|RESET_N" storage_index="2" tap_mode="classic" trigger_index="2" type="unknown"/>
|
||||
<net data_index="5" duplicate_name_allowed="false" is_data_input="true" is_node_valid="true" is_selected="false" is_storage_input="true" is_trigger_input="true" level-0="rising edge" name="emu:emu|coco3fpga:coco3|PH_2_RAW" storage_index="5" tap_mode="classic" trigger_index="5" type="unknown"/>
|
||||
<net data_index="6" duplicate_name_allowed="false" is_data_input="true" is_node_valid="true" is_selected="false" is_storage_input="true" is_trigger_input="true" name="emu:emu|coco3fpga:coco3|RATE" storage_index="6" tap_mode="classic" trigger_index="6" type="unknown"/>
|
||||
<bus is_selected="false" level-0="alt_or" name="emu:emu|coco3fpga:coco3|RATE_PGM[2..0]" order="msb_to_lsb" type="register">
|
||||
<net data_index="9" duplicate_name_allowed="false" is_data_input="true" is_node_valid="true" is_selected="false" is_storage_input="true" is_trigger_input="true" name="emu:emu|coco3fpga:coco3|RATE_PGM[2]" storage_index="9" tap_mode="classic" trigger_index="9" type="unknown"/>
|
||||
<net data_index="8" duplicate_name_allowed="false" is_data_input="true" is_node_valid="true" is_selected="false" is_storage_input="true" is_trigger_input="true" name="emu:emu|coco3fpga:coco3|RATE_PGM[1]" storage_index="8" tap_mode="classic" trigger_index="8" type="unknown"/>
|
||||
<net data_index="7" duplicate_name_allowed="false" is_data_input="true" is_node_valid="true" is_selected="false" is_storage_input="true" is_trigger_input="true" name="emu:emu|coco3fpga:coco3|RATE_PGM[0]" storage_index="7" tap_mode="classic" trigger_index="7" type="unknown"/>
|
||||
</bus>
|
||||
<bus is_selected="false" level-0="alt_or" name="emu:emu|coco3fpga:coco3|turbo_speed[2..0]" order="msb_to_lsb" type="combinatorial">
|
||||
<net data_index="13" duplicate_name_allowed="false" is_data_input="true" is_node_valid="true" is_selected="false" is_storage_input="true" is_trigger_input="true" name="emu:emu|coco3fpga:coco3|turbo_speed[2]" storage_index="13" tap_mode="classic" trigger_index="13" type="unknown"/>
|
||||
<net data_index="12" duplicate_name_allowed="false" is_data_input="true" is_node_valid="true" is_selected="false" is_storage_input="true" is_trigger_input="true" name="emu:emu|coco3fpga:coco3|turbo_speed[1]" storage_index="12" tap_mode="classic" trigger_index="12" type="unknown"/>
|
||||
<net data_index="11" duplicate_name_allowed="false" is_data_input="true" is_node_valid="true" is_selected="false" is_storage_input="true" is_trigger_input="true" name="emu:emu|coco3fpga:coco3|turbo_speed[0]" storage_index="11" tap_mode="classic" trigger_index="11" type="unknown"/>
|
||||
</bus>
|
||||
<net data_index="3" duplicate_name_allowed="false" is_data_input="true" is_node_valid="true" is_selected="false" is_storage_input="true" is_trigger_input="true" name="emu:emu|coco3fpga:coco3|F_Turbo" storage_index="3" tap_mode="classic" trigger_index="3" type="unknown"/>
|
||||
</data_view>
|
||||
<setup_view>
|
||||
<net data_index="4" duplicate_name_allowed="false" is_data_input="true" is_node_valid="true" is_selected="false" is_storage_input="true" is_trigger_input="true" level-0="dont_care" name="emu:emu|coco3fpga:coco3|MUGS" storage_index="4" tap_mode="classic" trigger_index="4" type="unknown"/>
|
||||
<net data_index="10" duplicate_name_allowed="false" is_data_input="true" is_node_valid="true" is_selected="false" is_storage_input="true" is_trigger_input="true" level-0="dont_care" name="emu:emu|coco3fpga:coco3|RESET_P" storage_index="10" tap_mode="classic" trigger_index="10" type="unknown"/>
|
||||
<net data_index="0" duplicate_name_allowed="false" is_data_input="true" is_node_valid="true" is_selected="false" is_storage_input="true" is_trigger_input="true" level-0="dont_care" name="emu:emu|coco3fpga:coco3|COCOKEY:coco_keyboard|RESET" storage_index="0" tap_mode="classic" trigger_index="0" type="unknown"/>
|
||||
<net data_index="1" duplicate_name_allowed="false" is_data_input="true" is_node_valid="true" is_selected="false" is_storage_input="true" is_trigger_input="true" level-0="dont_care" name="emu:emu|coco3fpga:coco3|COCOKEY:coco_keyboard|RESET_INS" storage_index="1" tap_mode="classic" trigger_index="1" type="unknown"/>
|
||||
<net data_index="2" duplicate_name_allowed="false" is_data_input="true" is_node_valid="true" is_selected="false" is_storage_input="true" is_trigger_input="true" level-0="dont_care" name="emu:emu|coco3fpga:coco3|COCOKEY:coco_keyboard|RESET_N" storage_index="2" tap_mode="classic" trigger_index="2" type="unknown"/>
|
||||
<net data_index="5" duplicate_name_allowed="false" is_data_input="true" is_node_valid="true" is_selected="false" is_storage_input="true" is_trigger_input="true" level-0="rising edge" name="emu:emu|coco3fpga:coco3|PH_2_RAW" storage_index="5" tap_mode="classic" trigger_index="5" type="unknown"/>
|
||||
<net data_index="6" duplicate_name_allowed="false" is_data_input="true" is_node_valid="true" is_selected="false" is_storage_input="true" is_trigger_input="true" name="emu:emu|coco3fpga:coco3|RATE" storage_index="6" tap_mode="classic" trigger_index="6" type="unknown"/>
|
||||
<bus is_selected="false" level-0="alt_or" name="emu:emu|coco3fpga:coco3|RATE_PGM[2..0]" order="msb_to_lsb" type="register">
|
||||
<net data_index="9" duplicate_name_allowed="false" is_data_input="true" is_node_valid="true" is_selected="false" is_storage_input="true" is_trigger_input="true" name="emu:emu|coco3fpga:coco3|RATE_PGM[2]" storage_index="9" tap_mode="classic" trigger_index="9" type="unknown"/>
|
||||
<net data_index="8" duplicate_name_allowed="false" is_data_input="true" is_node_valid="true" is_selected="false" is_storage_input="true" is_trigger_input="true" name="emu:emu|coco3fpga:coco3|RATE_PGM[1]" storage_index="8" tap_mode="classic" trigger_index="8" type="unknown"/>
|
||||
<net data_index="7" duplicate_name_allowed="false" is_data_input="true" is_node_valid="true" is_selected="false" is_storage_input="true" is_trigger_input="true" name="emu:emu|coco3fpga:coco3|RATE_PGM[0]" storage_index="7" tap_mode="classic" trigger_index="7" type="unknown"/>
|
||||
</bus>
|
||||
<bus is_selected="false" level-0="alt_or" name="emu:emu|coco3fpga:coco3|turbo_speed[2..0]" order="msb_to_lsb" type="combinatorial">
|
||||
<net data_index="13" duplicate_name_allowed="false" is_data_input="true" is_node_valid="true" is_selected="false" is_storage_input="true" is_trigger_input="true" name="emu:emu|coco3fpga:coco3|turbo_speed[2]" storage_index="13" tap_mode="classic" trigger_index="13" type="unknown"/>
|
||||
<net data_index="12" duplicate_name_allowed="false" is_data_input="true" is_node_valid="true" is_selected="false" is_storage_input="true" is_trigger_input="true" name="emu:emu|coco3fpga:coco3|turbo_speed[1]" storage_index="12" tap_mode="classic" trigger_index="12" type="unknown"/>
|
||||
<net data_index="11" duplicate_name_allowed="false" is_data_input="true" is_node_valid="true" is_selected="false" is_storage_input="true" is_trigger_input="true" name="emu:emu|coco3fpga:coco3|turbo_speed[0]" storage_index="11" tap_mode="classic" trigger_index="11" type="unknown"/>
|
||||
</bus>
|
||||
<net data_index="3" duplicate_name_allowed="false" is_data_input="true" is_node_valid="true" is_selected="false" is_storage_input="true" is_trigger_input="true" name="emu:emu|coco3fpga:coco3|F_Turbo" storage_index="3" tap_mode="classic" trigger_index="3" type="unknown"/>
|
||||
</setup_view>
|
||||
<trigger_in_editor/>
|
||||
<trigger_out_editor/>
|
||||
</presentation>
|
||||
<trigger CRC="1B58A98F" attribute_mem_mode="false" gap_record="true" global_temp="1" name="trigger: 2022/02/25 23:11:10 #0" position="pre" power_up_trigger_mode="false" record_data_gap="true" segment_size="4096" storage_mode="off" storage_qualifier_disabled="no" storage_qualifier_port_is_pin="true" storage_qualifier_port_name="auto_stp_external_storage_qualifier" storage_qualifier_port_tap_mode="classic" trigger_type="circular">
|
||||
<power_up_trigger position="pre" storage_qualifier_disabled="no"/>
|
||||
<events use_custom_flow_control="no">
|
||||
<level enabled="yes" name="condition1" type="basic">'emu:emu|coco3fpga:coco3|PH_2_RAW' == rising edge
|
||||
<power_up enabled="yes">
|
||||
</power_up>
|
||||
<op_node/>
|
||||
</level>
|
||||
</events>
|
||||
<storage_qualifier_events>
|
||||
<transitional>11111111111111
|
||||
<pwr_up_transitional>11111111111111</pwr_up_transitional>
|
||||
</transitional>
|
||||
<storage_qualifier_level type="basic">
|
||||
<power_up>
|
||||
</power_up>
|
||||
<op_node/>
|
||||
</storage_qualifier_level>
|
||||
<storage_qualifier_level type="basic">
|
||||
<power_up>
|
||||
</power_up>
|
||||
<op_node/>
|
||||
</storage_qualifier_level>
|
||||
<storage_qualifier_level type="basic">
|
||||
<power_up>
|
||||
</power_up>
|
||||
<op_node/>
|
||||
</storage_qualifier_level>
|
||||
</storage_qualifier_events>
|
||||
<log>
|
||||
<data global_temp="1" name="log: Trig @ 2022/02/26 09:10:46 (0:0:0.2 elapsed)" power_up_mode="false" sample_depth="16384" trigger_position="2048">0011001010001100110010100011001101101000110011001010001100110010100011001100101000110011001010001100110010100011001101101000110011001010001100110010100011001100101000110011001010001100110010100011001101101000110011001010001100110010100011001100101000110011001010001100110010100011001101101000110011001010001100110010100011001100101000110011001010001100110010100011001101101000110011001010001100110010100011001100101000110011001010001100110010100011001101101000110011001010001100110010100011001100101000110011001010001100110010100011001101101000110011001010001100110010100011001100101000110011001010001100110010100011001101101000110011001010001100110010100011001100101000110011001010001100110010100011001101101000110011001010001100110010100011001100101000110011001010001100110010100011001101101000110011001010001100110010100011001100101000110011001010001100110010100011001101101000110011001010001100110010100011001100101000110011001010001100110010100011001101101000110011001010001100110010100011001100101000110011001010001100110010100011001101101000110011001010001100110010100011001100101000110011001010001100110010100011001101101000110011001010001100110010100011001100101000110011001010001100110010100011001101101000110011001010001100110010100011001100101000110011001010001100110010100011001101101000110011001010001100110010100011001100101000110011001010001100110010100011001101101000110011001010001100110010100011001100101000110011001010001100110010100011001101101000110011001010001100110010100011001100101000110011001010001100110010100011001101101000110011001010001100110010100011001100101000110011001010001100110010100011001101101000110011001010001100110010100011001100101000110011001010001100110010100011001101101000110011001010001100110010100011001100101000110011001010001100110010100011001101101000110011001010001100110010100011001100101000110011001010001100110010100011001101101000110011001010001100110010100011001100101000110011001010001100110010100011001101101000110011001010001100110010100011001100101000110011001010001100110010100011001101101000110011001010001100110010100011001100101000110011001010001100110010100011001101101000110011001010001100110010100011001100101000110011001010001100110010100011001101101000110011001010001100110010100011001100101000110011001010001100110010100011001101101000110011001010001100110010100011001100101000110011001010001100110010100011001101101000110011001010001100110010100011001100101000110011001010001100110010100011001101101000110011001010001100110010100011001100101000110011001010001100110010100011001101101000110011001010001100110010100011001100101000110011001010001100110010100011001101101000110011001010001100110010100011001100101000110011001010001100110010100011001101101000110011001010001100110010100011001100101000110011001010001100110010100011001101101000110011001010001100110010100011001100101000110011001010001100110010100011001101101000110011001010001100110010100011001100101000110011001010001100110010100011001101101000110011001010001100110010100011001100101000110011001010001100110010100011001101101000110011001010001100110010100011001100101000110011001010001100110010100011001101101000110011001010001100110010100011001100101000110011001010001100110010100011001101101000110011001010001100110010100011001100101000110011001010001100110010100011001101101000110011001010001100110010100011001100101000110011001010001100110010100011001101101000110011001010001100110010100011001100101000110011001010001100110010100011001101101000110011001010001100110010100011001100101000110011001010001100110010100011001101101000110011001010001100110010100011001100101000110011001010001100110010100011001101101000110011001010001100110010100011001100101000110011001010001100110010100011001101101000110011001010001100110010100011001100101000110011001010001100110010100011001101101000110011001010001100110010100011001100101000110011001010001100110010100011001101101000110011001010001100110010100011001100101000110011001010001100110010100011001101101000110011001010001100110010100011001100101000110011001010001100110010100011001101101000110011001010001100110010100011001100101000110011001010001100110010100011001101101000110011001010001100110010100011001100101000110011001010001100110010100011001101101000110011001010001100110010100011001100101000110011001010001100110010100011001101101000110011001010001100110010100011001100101000110011001010001100110010100011001101101000110011001010001100110010100011001100101000110011001010001100110010100011001101101000110011001010001100110010100011001100101000110011001010001100110010100011001101101000110011001010001100110010100011001100101000110011001010001100110010100011001101101000110011001010001100110010100011001100101000110011001010001100110010100011001101101000110011001010001100110010100011001100101000110011001010001100110010100011001101101000110011001010001Line truncated
|
||||
<extradata>11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111T1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111Line truncated
|
||||
</log>
|
||||
</trigger>
|
||||
</signal_set>
|
||||
</instance>
|
||||
<mnemonics/>
|
||||
<static_plugin_mnemonics/>
|
||||
</session>
|
||||
@@ -1,3 +1,5 @@
|
||||
create_clock -period 1000.000 -name img_mounted[5] [get_nodes emu:emu|hps_io:hps_io|img_mounted[5]]
|
||||
create_clock -period 1000.000 -name img_mounted[4] [get_nodes emu:emu|hps_io:hps_io|img_mounted[4]]
|
||||
create_clock -period 1000.000 -name img_mounted[3] [get_nodes emu:emu|hps_io:hps_io|img_mounted[3]]
|
||||
create_clock -period 1000.000 -name img_mounted[2] [get_nodes emu:emu|hps_io:hps_io|img_mounted[2]]
|
||||
create_clock -period 1000.000 -name img_mounted[1] [get_nodes emu:emu|hps_io:hps_io|img_mounted[1]]
|
||||
|
||||
+1
-1
@@ -85,7 +85,7 @@ reg [23:0] timer = 24'h000000;
|
||||
localparam SHORT_TIME = 24'h0aecdf; // .05 sec @ 14.32 Mhz
|
||||
localparam LONG_TIME = 24'h418D40; // .3 sec @ 14.32 Mhz
|
||||
|
||||
localparam EE_PROG = {20'h00000, inst_EE_INACTIVE, inst_LONG_TIMER, inst_RESET_INACTIVE, inst_SHORT_TIMER, inst_RESET_ACTIVE,
|
||||
localparam EE_PROG = {16'h0000, inst_EE_INACTIVE, inst_LONG_TIMER, inst_LONG_TIMER, inst_RESET_INACTIVE, inst_LONG_TIMER, inst_RESET_ACTIVE,
|
||||
inst_EE_ACTIVE, inst_START};
|
||||
// Orignal Easter Egg Cold Boot
|
||||
//localparam Cold_Boot_PROG = {1'h0, inst_RESET_INACTIVE, inst_SHORT_TIMER, inst_RESET_ACTIVE, inst_SHORT_TIMER, inst_EE_INACTIVE,
|
||||
|
||||
+64
-14
@@ -94,7 +94,6 @@ output reg [7:0] BLUE,
|
||||
output reg H_SYNC,
|
||||
output reg V_SYNC,
|
||||
output reg VGA_SYNC_N,
|
||||
output reg VGA_BLANK_N,
|
||||
output PIX_CLK,
|
||||
output HBLANK,
|
||||
output VBLANK,
|
||||
@@ -198,9 +197,10 @@ output AMW_ACK,
|
||||
input [64:0] RTC,
|
||||
|
||||
input F_Turbo,
|
||||
input [1:0] turbo_speed,
|
||||
input [2:0] turbo_speed,
|
||||
output [2:0] assigned_turbo_speed,
|
||||
input [2:0] Mem_Size
|
||||
|
||||
|
||||
);
|
||||
|
||||
|
||||
@@ -384,7 +384,7 @@ reg DACLRCLK;
|
||||
reg [5:0] DAC_STATE;
|
||||
wire H_FLAG;
|
||||
|
||||
reg [2:0] SWITCH_L;
|
||||
reg [3:0] SWITCH_L;
|
||||
|
||||
wire CPU_IRQ_N;
|
||||
wire CPU_FIRQ_N;
|
||||
@@ -725,8 +725,10 @@ assign BLOCK_ADDRESS = ({MMU_EN, MMU_TR, ADDRESS[15:13]} == 5'b1
|
||||
assign RAM_CS = (ADDRESS[15:0]== 16'hFFE8) ? 1'b1: // GART 1
|
||||
(ADDRESS[15:0]== 16'hFFE9) ? 1'b1: // GART 2
|
||||
({ADDRESS[15:8]}== 8'hFF) ? 1'b0: // Hardware (FF00-FFFF) always Excluded
|
||||
(ADDRESS[15:8] == 8'b11111110) ? 1'b1: // Always enabled in FEXX Secondary Vectors
|
||||
ROM_SEL ? 1'b0: // Internal ROM
|
||||
FLASH_CE_S ? 1'b0: // Cart ROM
|
||||
// FLASH_CE_S ? 1'b0: // Cart ROM
|
||||
CART_SEL ? 1'b0: // Cart ROM
|
||||
1'b1;
|
||||
|
||||
|
||||
@@ -1149,6 +1151,11 @@ reg sdram_BE_0, sdram_BE_1;
|
||||
reg GART_RD, GART_WR;
|
||||
reg AMW_WR;
|
||||
|
||||
reg [2:0] RATE_PGM;
|
||||
|
||||
assign assigned_turbo_speed = (!(turbo_speed == 3'b000)) ? turbo_speed:
|
||||
RATE_PGM;
|
||||
|
||||
wire cache_hit /* synthesis preserve */;
|
||||
assign cache_hit = (sdram_cpu_addr[24:1] == sdram_cpu_addr_L[24:1]);
|
||||
//assign cache_hit = 1'b0;
|
||||
@@ -1217,7 +1224,7 @@ begin
|
||||
case (CLK)
|
||||
6'h00:
|
||||
begin
|
||||
SWITCH_L <= {turbo_speed, (RATE | F_Turbo)}; // Normal speed
|
||||
SWITCH_L <= {assigned_turbo_speed, (RATE | F_Turbo)}; // Normal speed
|
||||
CLK <= 6'h01;
|
||||
PH_2_RAW <= 1'b1;
|
||||
|
||||
@@ -1293,23 +1300,37 @@ begin
|
||||
cpu_ena <= 1'b0;
|
||||
CLK <= 6'h02;
|
||||
end
|
||||
6'h05: // 64/6 = 9.55
|
||||
begin
|
||||
if(SWITCH_L == 4'b1101) //Rate = 9.55
|
||||
CLK <= 6'h00;
|
||||
else
|
||||
CLK <= 6'h06;
|
||||
end
|
||||
6'h07: // 64/8 = 7.16
|
||||
begin
|
||||
if(SWITCH_L == 3'b101) //Rate = 7.16
|
||||
if(SWITCH_L == 4'b1011) //Rate = 7.16
|
||||
CLK <= 6'h00;
|
||||
else
|
||||
CLK <= 6'h08;
|
||||
end
|
||||
6'h0F: // 64/16 = 3.58
|
||||
begin
|
||||
if(SWITCH_L == 3'b011) //Rate = 3.58
|
||||
if(SWITCH_L == 4'b1001) //Rate = 3.58
|
||||
CLK <= 6'h00;
|
||||
else
|
||||
CLK <= 6'h10;
|
||||
end
|
||||
6'h13: // 64/19 = 2.86
|
||||
begin
|
||||
if(SWITCH_L == 4'b0111) //Rate = 2.86
|
||||
CLK <= 6'h00;
|
||||
else
|
||||
CLK <= 6'h14;
|
||||
end
|
||||
6'h1F: // 64/32 = 1.7857
|
||||
begin
|
||||
if(SWITCH_L == 3'b001) //Rate = 1.78?
|
||||
if(SWITCH_L == 4'b0101) //Rate = 1.78?
|
||||
CLK <= 6'h00;
|
||||
else
|
||||
CLK <= 6'h20;
|
||||
@@ -1333,7 +1354,15 @@ assign RESET_P = !BUTTON_N[3] // Button
|
||||
| RESET; // CTRL-ALT-DEL or CTRL-ALT-INS
|
||||
|
||||
// Make sure all resets are enabled for a long enough time to allow voltages to settle
|
||||
always @ (negedge clk_sys or posedge RESET_P)
|
||||
|
||||
|
||||
always @ (posedge clk_sys)
|
||||
begin
|
||||
if (RESET)
|
||||
MUGS <= RESET_INS; //This is holding a <ctrl><alt><ins> across a reset to activate the Easter Egg
|
||||
end
|
||||
|
||||
always @ (posedge clk_sys or posedge RESET_P)
|
||||
begin
|
||||
reg [24:0] RESET_SM;
|
||||
|
||||
@@ -1342,7 +1371,6 @@ begin
|
||||
RESET_SM <= 25'd0;
|
||||
CPU_RESET <= 1'b1;
|
||||
RESET_N <= 1'b0;
|
||||
MUGS <= RESET_INS; //This is holding a <ctrl><alt><ins> across a reset to activate the Easter Egg
|
||||
end
|
||||
else
|
||||
begin
|
||||
@@ -2367,11 +2395,15 @@ begin
|
||||
end
|
||||
end
|
||||
|
||||
reg sync_rst1;
|
||||
|
||||
// Most of the latches for settings
|
||||
always @ (negedge clk_sys or negedge RESET_N)
|
||||
begin
|
||||
if(!RESET_N)
|
||||
begin
|
||||
sync_rst1 <= 1'b1; // Eliminating Latches
|
||||
|
||||
// FF00
|
||||
DD_REG1 <= 8'h00;
|
||||
// FF01
|
||||
@@ -2419,8 +2451,8 @@ begin
|
||||
ORCH_RIGHT_EXT_BUF <= 8'b10000000;
|
||||
// FF7F
|
||||
W_PROT <= 2'b11;
|
||||
MPI_SCS <= SWITCH[2:1];
|
||||
MPI_CTS <= SWITCH[2:1];
|
||||
// MPI_SCS <= SWITCH[2:1];
|
||||
// MPI_CTS <= SWITCH[2:1];
|
||||
// FF8E-FF8F
|
||||
GPIO_DIR <= 8'h00;
|
||||
GPIO_OUT <= 8'h00;
|
||||
@@ -2559,6 +2591,7 @@ begin
|
||||
// FFD2 / FFD3
|
||||
VERT[6] <= 1'b0;
|
||||
// FFD8 / FFD9
|
||||
RATE_PGM <= 3'b010;
|
||||
RATE <= 1'b0;
|
||||
// FFDE / FFDF
|
||||
RAM <= 1'b0;
|
||||
@@ -2571,10 +2604,16 @@ begin
|
||||
end
|
||||
else
|
||||
begin
|
||||
if (sync_rst1)
|
||||
begin
|
||||
sync_rst1 <= 1'b0; // Eliminating Latches
|
||||
MPI_SCS <= SWITCH[2:1];
|
||||
MPI_CTS <= SWITCH[2:1];
|
||||
end
|
||||
|
||||
// Sound Mux
|
||||
if (PH_2)
|
||||
begin
|
||||
|
||||
case ({SOUND_EN,SEL})
|
||||
3'b100:
|
||||
SOUND_DTOA <= DTOA_CODE;
|
||||
@@ -3288,10 +3327,21 @@ begin
|
||||
16'hFFD8:
|
||||
begin
|
||||
RATE <= 1'b0;
|
||||
RATE_PGM <= 3'b010;
|
||||
end
|
||||
16'hFFD9:
|
||||
begin
|
||||
RATE <= 1'b1;
|
||||
RATE_PGM <= 3'b010; // Normal Turbo
|
||||
if (RATE && (DATA_OUT==8'hA5))
|
||||
RATE_PGM <= 3'b011; // 2.68 Mhz
|
||||
else if (RATE && (DATA_OUT==8'h45))
|
||||
RATE_PGM <= 3'b101; // 7.16 Mhz
|
||||
else if (RATE && (DATA_OUT==8'h05))
|
||||
RATE_PGM <= 3'b110; // 9.54 Mhz
|
||||
else
|
||||
RATE_PGM <= 3'b010; // Normal Turbo
|
||||
|
||||
end
|
||||
16'hFFDE:
|
||||
begin
|
||||
|
||||
+1
-1
@@ -193,7 +193,7 @@ wire [7:0] RESET_TIME;
|
||||
|
||||
assign RESET_TIME = 8'h3f;
|
||||
|
||||
always @ (negedge CLK50MHZ)
|
||||
always @ (posedge CLK50MHZ)
|
||||
begin
|
||||
|
||||
if(RESET)
|
||||
|
||||
@@ -91,7 +91,8 @@ architecture RTL of COCO_ROM_16 is
|
||||
-- a07, a06, a05, a04, a03, a02, a01, a00
|
||||
-- d07, d06, d05, d04, d03, d02, d01, d00
|
||||
|
||||
x"00",x"00",x"00",x"00",x"00", -- valid, nc, nc, nc, nc, nc, nc, a24
|
||||
-- Clear $72 [Warm Start Jump]
|
||||
x"80",x"07",x"00",x"72",x"00", -- valid, nc, nc, nc, nc, nc, nc, a24
|
||||
-- a23, a22, a21, a20, a19, a18, a17, a16
|
||||
-- a15, a14, a13, a12, a11, a10, a09, a08
|
||||
-- a07, a06, a05, a04, a03, a02, a01, a00
|
||||
|
||||
+6
-6
@@ -372,12 +372,12 @@ begin
|
||||
sdc_busy <= 1'b1;
|
||||
state <= state_e1;
|
||||
end
|
||||
else if (LSN[23:16] == 8'H67) // This is g [Disable FDC emulation]
|
||||
begin
|
||||
cmd_done <= 1'b1;
|
||||
sdc_always <= 1'b1; // Disable floppy
|
||||
state <= state_idle;
|
||||
end
|
||||
// else if (LSN[23:16] == 8'H67) // This is g [Disable FDC emulation]
|
||||
// begin
|
||||
// cmd_done <= 1'b1;
|
||||
// sdc_always <= 1'b1; // Disable floppy
|
||||
// state <= state_idle;
|
||||
// end
|
||||
else
|
||||
begin
|
||||
cmd_done <= 1'b1; // All other ext commands...
|
||||
|
||||
Reference in new issue
Block a user