Compare commits
28
Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
def4bc0b5b | ||
|
|
dacbc5b7e1 | ||
|
|
5e1b2e4c33 | ||
|
|
bbbee96a30 | ||
|
|
8b8cf72d1f | ||
|
|
ede23da6b0 | ||
|
|
77ee8b8c8c | ||
|
|
0cc97c86d9 | ||
|
|
1da70a7929 | ||
|
|
a3373d34b9 | ||
|
|
06e91ee2ae | ||
|
|
f940be1a2b | ||
|
|
f93784660c | ||
|
|
49a8aee74d | ||
|
|
54420d958f | ||
|
|
44ffb00fb2 | ||
|
|
115fccc535 | ||
|
|
fdb2eb533a | ||
|
|
f20b0295cc | ||
|
|
be6069e7a2 | ||
|
|
49428a29a7 | ||
|
|
9fe94bc5e7 | ||
|
|
24ba4cd5fd | ||
|
|
57f064744e | ||
|
|
0f4a413eba | ||
|
|
d593e3fc4e | ||
|
|
060ebb2dc3 | ||
|
|
7e58577658 |
No files matched your search
@@ -9,3 +9,5 @@ jtag.cdf
|
|||||||
/*.qws
|
/*.qws
|
||||||
greybox_tmp/cbx_args.txt
|
greybox_tmp/cbx_args.txt
|
||||||
*/greybox_tmp/cbx_args.txt
|
*/greybox_tmp/cbx_args.txt
|
||||||
|
changes.txt
|
||||||
|
rtl/config_inc.sv
|
||||||
Binary file not shown.
@@ -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 OPTIMIZE_POWER_DURING_FITTING OFF
|
||||||
set_global_assignment -name FINAL_PLACEMENT_OPTIMIZATION ALWAYS
|
set_global_assignment -name FINAL_PLACEMENT_OPTIMIZATION ALWAYS
|
||||||
set_global_assignment -name FITTER_EFFORT "STANDARD FIT"
|
set_global_assignment -name FITTER_EFFORT "STANDARD FIT"
|
||||||
set_global_assignment -name OPTIMIZATION_MODE "AGGRESSIVE PERFORMANCE"
|
set_global_assignment -name OPTIMIZATION_MODE "HIGH PERFORMANCE EFFORT"
|
||||||
set_global_assignment -name ALLOW_POWER_UP_DONT_CARE ON
|
set_global_assignment -name ALLOW_POWER_UP_DONT_CARE ON
|
||||||
set_global_assignment -name QII_AUTO_PACKED_REGISTERS NORMAL
|
set_global_assignment -name QII_AUTO_PACKED_REGISTERS NORMAL
|
||||||
set_global_assignment -name ROUTER_LCELL_INSERTION_AND_LOGIC_DUPLICATION ON
|
set_global_assignment -name ROUTER_LCELL_INSERTION_AND_LOGIC_DUPLICATION ON
|
||||||
@@ -55,114 +55,126 @@ set_global_assignment -name SEED 1
|
|||||||
#enable it only if 8bit indexed mode is used in core
|
#enable it only if 8bit indexed mode is used in core
|
||||||
#set_global_assignment -name VERILOG_MACRO "MISTER_FB_PALETTE=1"
|
#set_global_assignment -name VERILOG_MACRO "MISTER_FB_PALETTE=1"
|
||||||
|
|
||||||
#set_global_assignment -name VERILOG_MACRO "MISTER_DUAL_SDRAM=1"
|
|
||||||
|
|
||||||
#do not enable DEBUG_NOHDMI in release!
|
#do not enable DEBUG_NOHDMI in release!
|
||||||
#set_global_assignment -name VERILOG_MACRO "MISTER_DEBUG_NOHDMI=1"
|
#set_global_assignment -name VERILOG_MACRO "MISTER_DEBUG_NOHDMI=1"
|
||||||
|
|
||||||
|
# disable bilinear filtering when downscaling
|
||||||
|
#set_global_assignment -name VERILOG_MACRO "MISTER_DOWNSCALE_NN=1"
|
||||||
|
|
||||||
|
# disable adaptive scanline filtering
|
||||||
|
#set_global_assignment -name VERILOG_MACRO "MISTER_DISABLE_ADAPTIVE=1"
|
||||||
|
|
||||||
|
#use only 1MB per frame for scaler to free ~21MB DDR3 RAM
|
||||||
|
#set_global_assignment -name VERILOG_MACRO "MISTER_SMALL_VBUF=1"
|
||||||
|
|
||||||
|
# Disable YC / Composite output to save some resources
|
||||||
|
#set_global_assignment -name VERILOG_MACRO "MISTER_DISABLE_YC=1"
|
||||||
|
|
||||||
|
# Disable ALSA audio output to save some resources
|
||||||
|
#set_global_assignment -name VERILOG_MACRO "MISTER_DISABLE_ALSA=1"
|
||||||
|
|
||||||
source sys/sys.tcl
|
source sys/sys.tcl
|
||||||
source sys/sys_analog.tcl
|
source sys/sys_analog.tcl
|
||||||
source files.qip
|
source files.qip
|
||||||
|
|
||||||
set_global_assignment -name ENABLE_SIGNALTAP ON
|
set_global_assignment -name ENABLE_SIGNALTAP ON
|
||||||
set_global_assignment -name USE_SIGNALTAP_FILE Vsync.stp
|
set_global_assignment -name USE_SIGNALTAP_FILE Video1.stp
|
||||||
set_global_assignment -name SIGNALTAP_FILE Video_Explorer.stp
|
set_global_assignment -name SLD_NODE_CREATOR_ID 110 -section_id Video1
|
||||||
set_global_assignment -name SIGNALTAP_FILE rom_Exploror.stp1
|
set_global_assignment -name SLD_NODE_ENTITY_NAME sld_signaltap -section_id Video1
|
||||||
set_global_assignment -name SOURCE_FILE rom_Exploror.stp1
|
set_instance_assignment -name CONNECT_TO_SLD_NODE_ENTITY_PORT acq_clk -to "emu:emu|video_mixer:video_mixer|CLK_VIDEO" -section_id Video1
|
||||||
set_global_assignment -name SIGNALTAP_FILE Serial.stp
|
set_instance_assignment -name CONNECT_TO_SLD_NODE_ENTITY_PORT acq_trigger_in[0] -to "emu:emu|VGA_DE" -section_id Video1
|
||||||
set_global_assignment -name SIGNALTAP_FILE AMW.stp
|
set_instance_assignment -name CONNECT_TO_SLD_NODE_ENTITY_PORT acq_trigger_in[1] -to "emu:emu|VGA_F1" -section_id Video1
|
||||||
set_global_assignment -name SIGNALTAP_FILE HD.stp
|
set_instance_assignment -name CONNECT_TO_SLD_NODE_ENTITY_PORT acq_trigger_in[2] -to "emu:emu|VGA_G[7]" -section_id Video1
|
||||||
set_global_assignment -name SIGNALTAP_FILE reset.stp
|
set_instance_assignment -name CONNECT_TO_SLD_NODE_ENTITY_PORT acq_trigger_in[3] -to "emu:emu|VGA_HS" -section_id Video1
|
||||||
set_global_assignment -name SLD_NODE_CREATOR_ID 110 -section_id auto_signaltap_0
|
set_instance_assignment -name CONNECT_TO_SLD_NODE_ENTITY_PORT acq_trigger_in[4] -to "emu:emu|VGA_VS" -section_id Video1
|
||||||
set_global_assignment -name SLD_NODE_ENTITY_NAME sld_signaltap -section_id auto_signaltap_0
|
set_instance_assignment -name CONNECT_TO_SLD_NODE_ENTITY_PORT acq_trigger_in[5] -to "emu:emu|video_mixer:video_mixer|HBlank" -section_id Video1
|
||||||
set_instance_assignment -name CONNECT_TO_SLD_NODE_ENTITY_PORT acq_clk -to "emu:emu|coco3fpga:coco3|CLK_57" -section_id auto_signaltap_0
|
set_instance_assignment -name CONNECT_TO_SLD_NODE_ENTITY_PORT acq_trigger_in[6] -to "emu:emu|video_mixer:video_mixer|HSync" -section_id Video1
|
||||||
set_global_assignment -name SLD_NODE_PARAMETER_ASSIGNMENT "SLD_RAM_BLOCK_TYPE=AUTO" -section_id auto_signaltap_0
|
set_instance_assignment -name CONNECT_TO_SLD_NODE_ENTITY_PORT acq_trigger_in[7] -to "emu:emu|video_mixer:video_mixer|VBlank" -section_id Video1
|
||||||
set_global_assignment -name SLD_NODE_PARAMETER_ASSIGNMENT "SLD_NODE_INFO=805334528" -section_id auto_signaltap_0
|
set_instance_assignment -name CONNECT_TO_SLD_NODE_ENTITY_PORT acq_trigger_in[8] -to "emu:emu|video_mixer:video_mixer|VSync" -section_id Video1
|
||||||
set_global_assignment -name SLD_NODE_PARAMETER_ASSIGNMENT "SLD_POWER_UP_TRIGGER=0" -section_id auto_signaltap_0
|
set_instance_assignment -name CONNECT_TO_SLD_NODE_ENTITY_PORT acq_trigger_in[9] -to "emu:emu|video_mixer:video_mixer|gamma_corr:gamma|ce_pix" -section_id Video1
|
||||||
set_global_assignment -name SLD_NODE_PARAMETER_ASSIGNMENT "SLD_STORAGE_QUALIFIER_INVERSION_MASK_LENGTH=0" -section_id auto_signaltap_0
|
set_instance_assignment -name CONNECT_TO_SLD_NODE_ENTITY_PORT acq_trigger_in[10] -to "emu:emu|video_mixer:video_mixer|gamma_corr:gamma|ctr[0]" -section_id Video1
|
||||||
set_global_assignment -name SLD_NODE_PARAMETER_ASSIGNMENT "SLD_SEGMENT_SIZE=16384" -section_id auto_signaltap_0
|
set_instance_assignment -name CONNECT_TO_SLD_NODE_ENTITY_PORT acq_trigger_in[11] -to "emu:emu|video_mixer:video_mixer|gamma_corr:gamma|ctr[1]" -section_id Video1
|
||||||
set_global_assignment -name SLD_NODE_PARAMETER_ASSIGNMENT "SLD_ATTRIBUTE_MEM_MODE=OFF" -section_id auto_signaltap_0
|
set_instance_assignment -name CONNECT_TO_SLD_NODE_ENTITY_PORT acq_trigger_in[12] -to "emu:emu|video_mixer:video_mixer|gamma_corr:gamma|hb" -section_id Video1
|
||||||
set_global_assignment -name SLD_NODE_PARAMETER_ASSIGNMENT "SLD_STATE_FLOW_USE_GENERATED=0" -section_id auto_signaltap_0
|
set_instance_assignment -name CONNECT_TO_SLD_NODE_ENTITY_PORT acq_trigger_in[13] -to "emu:emu|video_mixer:video_mixer|gamma_corr:gamma|hs" -section_id Video1
|
||||||
set_global_assignment -name SLD_NODE_PARAMETER_ASSIGNMENT "SLD_STATE_BITS=11" -section_id auto_signaltap_0
|
set_instance_assignment -name CONNECT_TO_SLD_NODE_ENTITY_PORT acq_trigger_in[14] -to "emu:emu|video_mixer:video_mixer|gamma_corr:gamma|old_ce" -section_id Video1
|
||||||
set_global_assignment -name SLD_NODE_PARAMETER_ASSIGNMENT "SLD_BUFFER_FULL_STOP=1" -section_id auto_signaltap_0
|
set_instance_assignment -name CONNECT_TO_SLD_NODE_ENTITY_PORT acq_trigger_in[15] -to "emu:emu|video_mixer:video_mixer|gamma_corr:gamma|vb" -section_id Video1
|
||||||
set_global_assignment -name SLD_NODE_PARAMETER_ASSIGNMENT "SLD_CURRENT_RESOURCE_WIDTH=1" -section_id auto_signaltap_0
|
set_instance_assignment -name CONNECT_TO_SLD_NODE_ENTITY_PORT acq_trigger_in[16] -to "emu:emu|video_mixer:video_mixer|gamma_corr:gamma|vs" -section_id Video1
|
||||||
set_global_assignment -name SLD_NODE_PARAMETER_ASSIGNMENT "SLD_INCREMENTAL_ROUTING=1" -section_id auto_signaltap_0
|
set_instance_assignment -name CONNECT_TO_SLD_NODE_ENTITY_PORT acq_trigger_in[17] -to "emu:emu|video_mixer:video_mixer|video_freezer:freezer|hs_out" -section_id Video1
|
||||||
set_instance_assignment -name POST_FIT_CONNECT_TO_SLD_NODE_ENTITY_PORT crc[0] -to auto_signaltap_0|vcc -section_id auto_signaltap_0
|
set_instance_assignment -name CONNECT_TO_SLD_NODE_ENTITY_PORT acq_trigger_in[18] -to "emu:emu|video_mixer:video_mixer|video_freezer:freezer|vs_out" -section_id Video1
|
||||||
set_instance_assignment -name POST_FIT_CONNECT_TO_SLD_NODE_ENTITY_PORT crc[1] -to auto_signaltap_0|gnd -section_id auto_signaltap_0
|
set_instance_assignment -name CONNECT_TO_SLD_NODE_ENTITY_PORT acq_data_in[0] -to "emu:emu|VGA_DE" -section_id Video1
|
||||||
set_instance_assignment -name POST_FIT_CONNECT_TO_SLD_NODE_ENTITY_PORT crc[3] -to auto_signaltap_0|vcc -section_id auto_signaltap_0
|
set_instance_assignment -name CONNECT_TO_SLD_NODE_ENTITY_PORT acq_data_in[1] -to "emu:emu|VGA_F1" -section_id Video1
|
||||||
set_instance_assignment -name POST_FIT_CONNECT_TO_SLD_NODE_ENTITY_PORT crc[4] -to auto_signaltap_0|vcc -section_id auto_signaltap_0
|
set_instance_assignment -name CONNECT_TO_SLD_NODE_ENTITY_PORT acq_data_in[2] -to "emu:emu|VGA_G[7]" -section_id Video1
|
||||||
set_instance_assignment -name POST_FIT_CONNECT_TO_SLD_NODE_ENTITY_PORT crc[5] -to auto_signaltap_0|gnd -section_id auto_signaltap_0
|
set_instance_assignment -name CONNECT_TO_SLD_NODE_ENTITY_PORT acq_data_in[3] -to "emu:emu|VGA_HS" -section_id Video1
|
||||||
set_instance_assignment -name POST_FIT_CONNECT_TO_SLD_NODE_ENTITY_PORT crc[8] -to auto_signaltap_0|vcc -section_id auto_signaltap_0
|
set_instance_assignment -name CONNECT_TO_SLD_NODE_ENTITY_PORT acq_data_in[4] -to "emu:emu|VGA_VS" -section_id Video1
|
||||||
set_instance_assignment -name POST_FIT_CONNECT_TO_SLD_NODE_ENTITY_PORT crc[11] -to auto_signaltap_0|gnd -section_id auto_signaltap_0
|
set_instance_assignment -name CONNECT_TO_SLD_NODE_ENTITY_PORT acq_data_in[5] -to "emu:emu|video_mixer:video_mixer|HBlank" -section_id Video1
|
||||||
set_instance_assignment -name POST_FIT_CONNECT_TO_SLD_NODE_ENTITY_PORT crc[12] -to auto_signaltap_0|gnd -section_id auto_signaltap_0
|
set_instance_assignment -name CONNECT_TO_SLD_NODE_ENTITY_PORT acq_data_in[6] -to "emu:emu|video_mixer:video_mixer|HSync" -section_id Video1
|
||||||
set_instance_assignment -name POST_FIT_CONNECT_TO_SLD_NODE_ENTITY_PORT crc[13] -to auto_signaltap_0|gnd -section_id auto_signaltap_0
|
set_instance_assignment -name CONNECT_TO_SLD_NODE_ENTITY_PORT acq_data_in[7] -to "emu:emu|video_mixer:video_mixer|VBlank" -section_id Video1
|
||||||
set_instance_assignment -name POST_FIT_CONNECT_TO_SLD_NODE_ENTITY_PORT crc[15] -to auto_signaltap_0|vcc -section_id auto_signaltap_0
|
set_instance_assignment -name CONNECT_TO_SLD_NODE_ENTITY_PORT acq_data_in[8] -to "emu:emu|video_mixer:video_mixer|VSync" -section_id Video1
|
||||||
set_instance_assignment -name POST_FIT_CONNECT_TO_SLD_NODE_ENTITY_PORT crc[17] -to auto_signaltap_0|vcc -section_id auto_signaltap_0
|
set_instance_assignment -name CONNECT_TO_SLD_NODE_ENTITY_PORT acq_data_in[9] -to "emu:emu|video_mixer:video_mixer|gamma_corr:gamma|ce_pix" -section_id Video1
|
||||||
set_instance_assignment -name POST_FIT_CONNECT_TO_SLD_NODE_ENTITY_PORT crc[20] -to auto_signaltap_0|vcc -section_id auto_signaltap_0
|
set_instance_assignment -name CONNECT_TO_SLD_NODE_ENTITY_PORT acq_data_in[10] -to "emu:emu|video_mixer:video_mixer|gamma_corr:gamma|ctr[0]" -section_id Video1
|
||||||
set_instance_assignment -name POST_FIT_CONNECT_TO_SLD_NODE_ENTITY_PORT crc[21] -to auto_signaltap_0|vcc -section_id auto_signaltap_0
|
set_instance_assignment -name CONNECT_TO_SLD_NODE_ENTITY_PORT acq_data_in[11] -to "emu:emu|video_mixer:video_mixer|gamma_corr:gamma|ctr[1]" -section_id Video1
|
||||||
set_instance_assignment -name POST_FIT_CONNECT_TO_SLD_NODE_ENTITY_PORT crc[29] -to auto_signaltap_0|vcc -section_id auto_signaltap_0
|
set_instance_assignment -name CONNECT_TO_SLD_NODE_ENTITY_PORT acq_data_in[12] -to "emu:emu|video_mixer:video_mixer|gamma_corr:gamma|hb" -section_id Video1
|
||||||
set_instance_assignment -name POST_FIT_CONNECT_TO_SLD_NODE_ENTITY_PORT crc[30] -to auto_signaltap_0|gnd -section_id auto_signaltap_0
|
set_instance_assignment -name CONNECT_TO_SLD_NODE_ENTITY_PORT acq_data_in[13] -to "emu:emu|video_mixer:video_mixer|gamma_corr:gamma|hs" -section_id Video1
|
||||||
set_instance_assignment -name POST_FIT_CONNECT_TO_SLD_NODE_ENTITY_PORT crc[31] -to auto_signaltap_0|vcc -section_id auto_signaltap_0
|
set_instance_assignment -name CONNECT_TO_SLD_NODE_ENTITY_PORT acq_data_in[14] -to "emu:emu|video_mixer:video_mixer|gamma_corr:gamma|old_ce" -section_id Video1
|
||||||
set_global_assignment -name SLD_NODE_PARAMETER_ASSIGNMENT "SLD_TRIGGER_LEVEL=1" -section_id auto_signaltap_0
|
set_instance_assignment -name CONNECT_TO_SLD_NODE_ENTITY_PORT acq_data_in[15] -to "emu:emu|video_mixer:video_mixer|gamma_corr:gamma|vb" -section_id Video1
|
||||||
set_global_assignment -name SLD_NODE_PARAMETER_ASSIGNMENT "SLD_SAMPLE_DEPTH=16384" -section_id auto_signaltap_0
|
set_instance_assignment -name CONNECT_TO_SLD_NODE_ENTITY_PORT acq_data_in[16] -to "emu:emu|video_mixer:video_mixer|gamma_corr:gamma|vs" -section_id Video1
|
||||||
set_global_assignment -name SLD_NODE_PARAMETER_ASSIGNMENT "SLD_TRIGGER_IN_ENABLED=0" -section_id auto_signaltap_0
|
set_instance_assignment -name CONNECT_TO_SLD_NODE_ENTITY_PORT acq_data_in[17] -to "emu:emu|video_mixer:video_mixer|video_freezer:freezer|hs_out" -section_id Video1
|
||||||
set_global_assignment -name SLD_NODE_PARAMETER_ASSIGNMENT "SLD_TRIGGER_PIPELINE=0" -section_id auto_signaltap_0
|
set_instance_assignment -name CONNECT_TO_SLD_NODE_ENTITY_PORT acq_data_in[18] -to "emu:emu|video_mixer:video_mixer|video_freezer:freezer|vs_out" -section_id Video1
|
||||||
set_global_assignment -name SLD_NODE_PARAMETER_ASSIGNMENT "SLD_RAM_PIPELINE=0" -section_id auto_signaltap_0
|
set_global_assignment -name SLD_NODE_PARAMETER_ASSIGNMENT "SLD_RAM_BLOCK_TYPE=AUTO" -section_id Video1
|
||||||
set_global_assignment -name SLD_NODE_PARAMETER_ASSIGNMENT "SLD_COUNTER_PIPELINE=0" -section_id auto_signaltap_0
|
set_global_assignment -name SLD_NODE_PARAMETER_ASSIGNMENT "SLD_DATA_BITS=19" -section_id Video1
|
||||||
set_global_assignment -name SLD_NODE_PARAMETER_ASSIGNMENT "SLD_ADVANCED_TRIGGER_ENTITY=basic,1," -section_id auto_signaltap_0
|
set_global_assignment -name SLD_NODE_PARAMETER_ASSIGNMENT "SLD_TRIGGER_BITS=19" -section_id Video1
|
||||||
set_global_assignment -name SLD_NODE_PARAMETER_ASSIGNMENT "SLD_TRIGGER_LEVEL_PIPELINE=1" -section_id auto_signaltap_0
|
set_global_assignment -name SLD_NODE_PARAMETER_ASSIGNMENT "SLD_STORAGE_QUALIFIER_BITS=19" -section_id Video1
|
||||||
set_global_assignment -name SLD_NODE_PARAMETER_ASSIGNMENT "SLD_ENABLE_ADVANCED_TRIGGER=0" -section_id auto_signaltap_0
|
set_global_assignment -name SLD_NODE_PARAMETER_ASSIGNMENT "SLD_NODE_INFO=805334528" -section_id Video1
|
||||||
set_instance_assignment -name POST_FIT_CONNECT_TO_SLD_NODE_ENTITY_PORT crc[19] -to auto_signaltap_0|vcc -section_id auto_signaltap_0
|
set_global_assignment -name SLD_NODE_PARAMETER_ASSIGNMENT "SLD_POWER_UP_TRIGGER=0" -section_id Video1
|
||||||
set_instance_assignment -name POST_FIT_CONNECT_TO_SLD_NODE_ENTITY_PORT crc[22] -to auto_signaltap_0|gnd -section_id auto_signaltap_0
|
set_global_assignment -name SLD_NODE_PARAMETER_ASSIGNMENT "SLD_INVERSION_MASK=000000000000000000000000000000000000000000000000000000000000000000000000000000000000" -section_id Video1
|
||||||
set_instance_assignment -name POST_FIT_CONNECT_TO_SLD_NODE_ENTITY_PORT crc[23] -to auto_signaltap_0|gnd -section_id auto_signaltap_0
|
set_global_assignment -name SLD_NODE_PARAMETER_ASSIGNMENT "SLD_INVERSION_MASK_LENGTH=84" -section_id Video1
|
||||||
set_instance_assignment -name POST_FIT_CONNECT_TO_SLD_NODE_ENTITY_PORT crc[2] -to auto_signaltap_0|vcc -section_id auto_signaltap_0
|
set_global_assignment -name SLD_NODE_PARAMETER_ASSIGNMENT "SLD_STORAGE_QUALIFIER_INVERSION_MASK_LENGTH=0" -section_id Video1
|
||||||
set_instance_assignment -name POST_FIT_CONNECT_TO_SLD_NODE_ENTITY_PORT crc[9] -to auto_signaltap_0|gnd -section_id auto_signaltap_0
|
set_global_assignment -name SLD_NODE_PARAMETER_ASSIGNMENT "SLD_SEGMENT_SIZE=8192" -section_id Video1
|
||||||
set_instance_assignment -name POST_FIT_CONNECT_TO_SLD_NODE_ENTITY_PORT crc[10] -to auto_signaltap_0|gnd -section_id auto_signaltap_0
|
set_global_assignment -name SLD_NODE_PARAMETER_ASSIGNMENT "SLD_ATTRIBUTE_MEM_MODE=OFF" -section_id Video1
|
||||||
set_instance_assignment -name POST_FIT_CONNECT_TO_SLD_NODE_ENTITY_PORT crc[14] -to auto_signaltap_0|gnd -section_id auto_signaltap_0
|
set_global_assignment -name SLD_NODE_PARAMETER_ASSIGNMENT "SLD_STATE_FLOW_USE_GENERATED=0" -section_id Video1
|
||||||
set_instance_assignment -name POST_FIT_CONNECT_TO_SLD_NODE_ENTITY_PORT crc[18] -to auto_signaltap_0|gnd -section_id auto_signaltap_0
|
set_global_assignment -name SLD_NODE_PARAMETER_ASSIGNMENT "SLD_STATE_BITS=11" -section_id Video1
|
||||||
set_instance_assignment -name POST_FIT_CONNECT_TO_SLD_NODE_ENTITY_PORT crc[24] -to auto_signaltap_0|vcc -section_id auto_signaltap_0
|
set_global_assignment -name SLD_NODE_PARAMETER_ASSIGNMENT "SLD_BUFFER_FULL_STOP=1" -section_id Video1
|
||||||
set_instance_assignment -name POST_FIT_CONNECT_TO_SLD_NODE_ENTITY_PORT crc[26] -to auto_signaltap_0|gnd -section_id auto_signaltap_0
|
set_global_assignment -name SLD_NODE_PARAMETER_ASSIGNMENT "SLD_CURRENT_RESOURCE_WIDTH=1" -section_id Video1
|
||||||
set_instance_assignment -name POST_FIT_CONNECT_TO_SLD_NODE_ENTITY_PORT crc[28] -to auto_signaltap_0|vcc -section_id auto_signaltap_0
|
set_global_assignment -name SLD_NODE_PARAMETER_ASSIGNMENT "SLD_INCREMENTAL_ROUTING=1" -section_id Video1
|
||||||
set_global_assignment -name SIGNALTAP_FILE Vsync.stp
|
set_instance_assignment -name POST_FIT_CONNECT_TO_SLD_NODE_ENTITY_PORT crc[0] -to Video1|vcc -section_id Video1
|
||||||
set_instance_assignment -name CONNECT_TO_SLD_NODE_ENTITY_PORT acq_trigger_in[0] -to "emu:emu|coco3fpga:coco3|COCO3VIDEO:MISTER_COCOVID|LINE[0]" -section_id auto_signaltap_0
|
set_instance_assignment -name POST_FIT_CONNECT_TO_SLD_NODE_ENTITY_PORT crc[1] -to Video1|gnd -section_id Video1
|
||||||
set_instance_assignment -name CONNECT_TO_SLD_NODE_ENTITY_PORT acq_trigger_in[1] -to "emu:emu|coco3fpga:coco3|COCO3VIDEO:MISTER_COCOVID|LINE[1]" -section_id auto_signaltap_0
|
set_instance_assignment -name POST_FIT_CONNECT_TO_SLD_NODE_ENTITY_PORT crc[2] -to Video1|vcc -section_id Video1
|
||||||
set_instance_assignment -name CONNECT_TO_SLD_NODE_ENTITY_PORT acq_trigger_in[2] -to "emu:emu|coco3fpga:coco3|COCO3VIDEO:MISTER_COCOVID|LINE[2]" -section_id auto_signaltap_0
|
set_instance_assignment -name POST_FIT_CONNECT_TO_SLD_NODE_ENTITY_PORT crc[3] -to Video1|gnd -section_id Video1
|
||||||
set_instance_assignment -name CONNECT_TO_SLD_NODE_ENTITY_PORT acq_trigger_in[3] -to "emu:emu|coco3fpga:coco3|COCO3VIDEO:MISTER_COCOVID|LINE[3]" -section_id auto_signaltap_0
|
set_instance_assignment -name POST_FIT_CONNECT_TO_SLD_NODE_ENTITY_PORT crc[4] -to Video1|vcc -section_id Video1
|
||||||
set_instance_assignment -name CONNECT_TO_SLD_NODE_ENTITY_PORT acq_trigger_in[4] -to "emu:emu|coco3fpga:coco3|COCO3VIDEO:MISTER_COCOVID|LINE[4]" -section_id auto_signaltap_0
|
set_instance_assignment -name POST_FIT_CONNECT_TO_SLD_NODE_ENTITY_PORT crc[5] -to Video1|vcc -section_id Video1
|
||||||
set_instance_assignment -name CONNECT_TO_SLD_NODE_ENTITY_PORT acq_trigger_in[5] -to "emu:emu|coco3fpga:coco3|COCO3VIDEO:MISTER_COCOVID|LINE[5]" -section_id auto_signaltap_0
|
set_instance_assignment -name POST_FIT_CONNECT_TO_SLD_NODE_ENTITY_PORT crc[6] -to Video1|gnd -section_id Video1
|
||||||
set_instance_assignment -name CONNECT_TO_SLD_NODE_ENTITY_PORT acq_trigger_in[6] -to "emu:emu|coco3fpga:coco3|COCO3VIDEO:MISTER_COCOVID|LINE[6]" -section_id auto_signaltap_0
|
set_instance_assignment -name POST_FIT_CONNECT_TO_SLD_NODE_ENTITY_PORT crc[7] -to Video1|gnd -section_id Video1
|
||||||
set_instance_assignment -name CONNECT_TO_SLD_NODE_ENTITY_PORT acq_trigger_in[7] -to "emu:emu|coco3fpga:coco3|COCO3VIDEO:MISTER_COCOVID|LINE[7]" -section_id auto_signaltap_0
|
set_instance_assignment -name POST_FIT_CONNECT_TO_SLD_NODE_ENTITY_PORT crc[8] -to Video1|gnd -section_id Video1
|
||||||
set_instance_assignment -name CONNECT_TO_SLD_NODE_ENTITY_PORT acq_trigger_in[8] -to "emu:emu|coco3fpga:coco3|COCO3VIDEO:MISTER_COCOVID|LINE[8]" -section_id auto_signaltap_0
|
set_instance_assignment -name POST_FIT_CONNECT_TO_SLD_NODE_ENTITY_PORT crc[9] -to Video1|gnd -section_id Video1
|
||||||
set_instance_assignment -name CONNECT_TO_SLD_NODE_ENTITY_PORT acq_trigger_in[9] -to "emu:emu|coco3fpga:coco3|COCO3VIDEO:MISTER_COCOVID|LINE[9]" -section_id auto_signaltap_0
|
set_instance_assignment -name POST_FIT_CONNECT_TO_SLD_NODE_ENTITY_PORT crc[10] -to Video1|vcc -section_id Video1
|
||||||
set_instance_assignment -name CONNECT_TO_SLD_NODE_ENTITY_PORT acq_trigger_in[10] -to "emu:emu|coco3fpga:coco3|COCO3VIDEO:MISTER_COCOVID|VSYNC_FLAG" -section_id auto_signaltap_0
|
set_instance_assignment -name POST_FIT_CONNECT_TO_SLD_NODE_ENTITY_PORT crc[11] -to Video1|vcc -section_id Video1
|
||||||
set_instance_assignment -name CONNECT_TO_SLD_NODE_ENTITY_PORT acq_trigger_in[11] -to "emu:emu|coco3fpga:coco3|COCO3VIDEO:MISTER_COCOVID|VSYNC_N" -section_id auto_signaltap_0
|
set_instance_assignment -name POST_FIT_CONNECT_TO_SLD_NODE_ENTITY_PORT crc[12] -to Video1|vcc -section_id Video1
|
||||||
set_instance_assignment -name CONNECT_TO_SLD_NODE_ENTITY_PORT acq_data_in[0] -to "emu:emu|coco3fpga:coco3|COCO3VIDEO:MISTER_COCOVID|LINE[0]" -section_id auto_signaltap_0
|
set_instance_assignment -name POST_FIT_CONNECT_TO_SLD_NODE_ENTITY_PORT crc[13] -to Video1|gnd -section_id Video1
|
||||||
set_instance_assignment -name CONNECT_TO_SLD_NODE_ENTITY_PORT acq_data_in[1] -to "emu:emu|coco3fpga:coco3|COCO3VIDEO:MISTER_COCOVID|LINE[1]" -section_id auto_signaltap_0
|
set_instance_assignment -name POST_FIT_CONNECT_TO_SLD_NODE_ENTITY_PORT crc[14] -to Video1|vcc -section_id Video1
|
||||||
set_instance_assignment -name CONNECT_TO_SLD_NODE_ENTITY_PORT acq_data_in[2] -to "emu:emu|coco3fpga:coco3|COCO3VIDEO:MISTER_COCOVID|LINE[2]" -section_id auto_signaltap_0
|
set_instance_assignment -name POST_FIT_CONNECT_TO_SLD_NODE_ENTITY_PORT crc[15] -to Video1|gnd -section_id Video1
|
||||||
set_instance_assignment -name CONNECT_TO_SLD_NODE_ENTITY_PORT acq_data_in[3] -to "emu:emu|coco3fpga:coco3|COCO3VIDEO:MISTER_COCOVID|LINE[3]" -section_id auto_signaltap_0
|
set_instance_assignment -name POST_FIT_CONNECT_TO_SLD_NODE_ENTITY_PORT crc[16] -to Video1|vcc -section_id Video1
|
||||||
set_instance_assignment -name CONNECT_TO_SLD_NODE_ENTITY_PORT acq_data_in[4] -to "emu:emu|coco3fpga:coco3|COCO3VIDEO:MISTER_COCOVID|LINE[4]" -section_id auto_signaltap_0
|
set_instance_assignment -name POST_FIT_CONNECT_TO_SLD_NODE_ENTITY_PORT crc[17] -to Video1|vcc -section_id Video1
|
||||||
set_instance_assignment -name CONNECT_TO_SLD_NODE_ENTITY_PORT acq_data_in[5] -to "emu:emu|coco3fpga:coco3|COCO3VIDEO:MISTER_COCOVID|LINE[5]" -section_id auto_signaltap_0
|
set_instance_assignment -name POST_FIT_CONNECT_TO_SLD_NODE_ENTITY_PORT crc[18] -to Video1|gnd -section_id Video1
|
||||||
set_instance_assignment -name CONNECT_TO_SLD_NODE_ENTITY_PORT acq_data_in[6] -to "emu:emu|coco3fpga:coco3|COCO3VIDEO:MISTER_COCOVID|LINE[6]" -section_id auto_signaltap_0
|
set_instance_assignment -name POST_FIT_CONNECT_TO_SLD_NODE_ENTITY_PORT crc[19] -to Video1|gnd -section_id Video1
|
||||||
set_instance_assignment -name CONNECT_TO_SLD_NODE_ENTITY_PORT acq_data_in[7] -to "emu:emu|coco3fpga:coco3|COCO3VIDEO:MISTER_COCOVID|LINE[7]" -section_id auto_signaltap_0
|
set_instance_assignment -name POST_FIT_CONNECT_TO_SLD_NODE_ENTITY_PORT crc[20] -to Video1|vcc -section_id Video1
|
||||||
set_instance_assignment -name CONNECT_TO_SLD_NODE_ENTITY_PORT acq_data_in[8] -to "emu:emu|coco3fpga:coco3|COCO3VIDEO:MISTER_COCOVID|LINE[8]" -section_id auto_signaltap_0
|
set_instance_assignment -name POST_FIT_CONNECT_TO_SLD_NODE_ENTITY_PORT crc[21] -to Video1|vcc -section_id Video1
|
||||||
set_instance_assignment -name CONNECT_TO_SLD_NODE_ENTITY_PORT acq_data_in[9] -to "emu:emu|coco3fpga:coco3|COCO3VIDEO:MISTER_COCOVID|LINE[9]" -section_id auto_signaltap_0
|
set_instance_assignment -name POST_FIT_CONNECT_TO_SLD_NODE_ENTITY_PORT crc[22] -to Video1|gnd -section_id Video1
|
||||||
set_instance_assignment -name CONNECT_TO_SLD_NODE_ENTITY_PORT acq_data_in[10] -to "emu:emu|coco3fpga:coco3|COCO3VIDEO:MISTER_COCOVID|VSYNC_FLAG" -section_id auto_signaltap_0
|
set_instance_assignment -name POST_FIT_CONNECT_TO_SLD_NODE_ENTITY_PORT crc[23] -to Video1|vcc -section_id Video1
|
||||||
set_instance_assignment -name CONNECT_TO_SLD_NODE_ENTITY_PORT acq_data_in[11] -to "emu:emu|coco3fpga:coco3|COCO3VIDEO:MISTER_COCOVID|VSYNC_N" -section_id auto_signaltap_0
|
set_instance_assignment -name POST_FIT_CONNECT_TO_SLD_NODE_ENTITY_PORT crc[24] -to Video1|gnd -section_id Video1
|
||||||
set_instance_assignment -name POST_FIT_CONNECT_TO_SLD_NODE_ENTITY_PORT crc[6] -to auto_signaltap_0|vcc -section_id auto_signaltap_0
|
set_instance_assignment -name POST_FIT_CONNECT_TO_SLD_NODE_ENTITY_PORT crc[25] -to Video1|gnd -section_id Video1
|
||||||
set_instance_assignment -name POST_FIT_CONNECT_TO_SLD_NODE_ENTITY_PORT crc[16] -to auto_signaltap_0|vcc -section_id auto_signaltap_0
|
set_instance_assignment -name POST_FIT_CONNECT_TO_SLD_NODE_ENTITY_PORT crc[26] -to Video1|vcc -section_id Video1
|
||||||
set_instance_assignment -name POST_FIT_CONNECT_TO_SLD_NODE_ENTITY_PORT crc[25] -to auto_signaltap_0|gnd -section_id auto_signaltap_0
|
set_instance_assignment -name POST_FIT_CONNECT_TO_SLD_NODE_ENTITY_PORT crc[27] -to Video1|gnd -section_id Video1
|
||||||
set_instance_assignment -name CONNECT_TO_SLD_NODE_ENTITY_PORT acq_trigger_in[12] -to "emu:emu|coco3fpga:coco3|RST_FF02_N" -section_id auto_signaltap_0
|
set_instance_assignment -name POST_FIT_CONNECT_TO_SLD_NODE_ENTITY_PORT crc[28] -to Video1|vcc -section_id Video1
|
||||||
set_instance_assignment -name CONNECT_TO_SLD_NODE_ENTITY_PORT acq_trigger_in[13] -to "emu:emu|coco3fpga:coco3|VSYNC1_IRQ_N" -section_id auto_signaltap_0
|
set_instance_assignment -name POST_FIT_CONNECT_TO_SLD_NODE_ENTITY_PORT crc[29] -to Video1|vcc -section_id Video1
|
||||||
set_instance_assignment -name CONNECT_TO_SLD_NODE_ENTITY_PORT acq_trigger_in[14] -to "emu:emu|coco3fpga:coco3|VSYNC1_IRQ_STAT_N" -section_id auto_signaltap_0
|
set_instance_assignment -name POST_FIT_CONNECT_TO_SLD_NODE_ENTITY_PORT crc[30] -to Video1|vcc -section_id Video1
|
||||||
set_instance_assignment -name CONNECT_TO_SLD_NODE_ENTITY_PORT acq_data_in[12] -to "emu:emu|coco3fpga:coco3|RST_FF02_N" -section_id auto_signaltap_0
|
set_instance_assignment -name POST_FIT_CONNECT_TO_SLD_NODE_ENTITY_PORT crc[31] -to Video1|gnd -section_id Video1
|
||||||
set_instance_assignment -name CONNECT_TO_SLD_NODE_ENTITY_PORT acq_data_in[13] -to "emu:emu|coco3fpga:coco3|VSYNC1_IRQ_N" -section_id auto_signaltap_0
|
set_global_assignment -name SLD_NODE_PARAMETER_ASSIGNMENT "SLD_TRIGGER_LEVEL=1" -section_id Video1
|
||||||
set_instance_assignment -name CONNECT_TO_SLD_NODE_ENTITY_PORT acq_data_in[14] -to "emu:emu|coco3fpga:coco3|VSYNC1_IRQ_STAT_N" -section_id auto_signaltap_0
|
set_global_assignment -name SLD_NODE_PARAMETER_ASSIGNMENT "SLD_SAMPLE_DEPTH=8192" -section_id Video1
|
||||||
set_global_assignment -name SLD_NODE_PARAMETER_ASSIGNMENT "SLD_DATA_BITS=15" -section_id auto_signaltap_0
|
set_global_assignment -name SLD_NODE_PARAMETER_ASSIGNMENT "SLD_TRIGGER_IN_ENABLED=0" -section_id Video1
|
||||||
set_global_assignment -name SLD_NODE_PARAMETER_ASSIGNMENT "SLD_TRIGGER_BITS=15" -section_id auto_signaltap_0
|
set_global_assignment -name SLD_NODE_PARAMETER_ASSIGNMENT "SLD_TRIGGER_PIPELINE=0" -section_id Video1
|
||||||
set_global_assignment -name SLD_NODE_PARAMETER_ASSIGNMENT "SLD_STORAGE_QUALIFIER_BITS=15" -section_id auto_signaltap_0
|
set_global_assignment -name SLD_NODE_PARAMETER_ASSIGNMENT "SLD_RAM_PIPELINE=0" -section_id Video1
|
||||||
set_global_assignment -name SLD_NODE_PARAMETER_ASSIGNMENT "SLD_INVERSION_MASK=0000000000000000000000000000000000000000000000000000000000000000000000000" -section_id auto_signaltap_0
|
set_global_assignment -name SLD_NODE_PARAMETER_ASSIGNMENT "SLD_COUNTER_PIPELINE=0" -section_id Video1
|
||||||
set_global_assignment -name SLD_NODE_PARAMETER_ASSIGNMENT "SLD_INVERSION_MASK_LENGTH=73" -section_id auto_signaltap_0
|
set_global_assignment -name SLD_NODE_PARAMETER_ASSIGNMENT "SLD_ADVANCED_TRIGGER_ENTITY=basic,1," -section_id Video1
|
||||||
set_instance_assignment -name POST_FIT_CONNECT_TO_SLD_NODE_ENTITY_PORT crc[7] -to auto_signaltap_0|gnd -section_id auto_signaltap_0
|
set_global_assignment -name SLD_NODE_PARAMETER_ASSIGNMENT "SLD_TRIGGER_LEVEL_PIPELINE=1" -section_id Video1
|
||||||
set_instance_assignment -name POST_FIT_CONNECT_TO_SLD_NODE_ENTITY_PORT crc[27] -to auto_signaltap_0|gnd -section_id auto_signaltap_0
|
set_global_assignment -name SLD_NODE_PARAMETER_ASSIGNMENT "SLD_ENABLE_ADVANCED_TRIGGER=0" -section_id Video1
|
||||||
|
set_global_assignment -name SLD_FILE db/Video1_auto_stripped.stp
|
||||||
set_instance_assignment -name PARTITION_HIERARCHY root_partition -to | -section_id Top
|
set_instance_assignment -name PARTITION_HIERARCHY root_partition -to | -section_id Top
|
||||||
set_global_assignment -name SLD_FILE db/Vsync_auto_stripped.stp
|
|
||||||
@@ -1,6 +1,6 @@
|
|||||||
//============================================================================
|
//============================================================================
|
||||||
// CoCo3 port to MiSTer
|
// CoCo3 port to MiSTer
|
||||||
// Copyright (c) 2019 Alan Steremberg - alanswx
|
// Copyright (c) 2019 Alan Steremberg - alanswx, Stan Hodge - MasterS3263827
|
||||||
//
|
//
|
||||||
//
|
//
|
||||||
//============================================================================
|
//============================================================================
|
||||||
@@ -43,6 +43,8 @@ module emu
|
|||||||
input [11:0] HDMI_WIDTH,
|
input [11:0] HDMI_WIDTH,
|
||||||
input [11:0] HDMI_HEIGHT,
|
input [11:0] HDMI_HEIGHT,
|
||||||
output HDMI_FREEZE,
|
output HDMI_FREEZE,
|
||||||
|
output HDMI_BLACKOUT,
|
||||||
|
output HDMI_BOB_DEINT,
|
||||||
|
|
||||||
`ifdef MISTER_FB
|
`ifdef MISTER_FB
|
||||||
// Use framebuffer in DDRAM
|
// Use framebuffer in DDRAM
|
||||||
@@ -180,6 +182,8 @@ assign LED_POWER = 0;
|
|||||||
|
|
||||||
assign VGA_SCALER = 0;
|
assign VGA_SCALER = 0;
|
||||||
assign HDMI_FREEZE = 0;
|
assign HDMI_FREEZE = 0;
|
||||||
|
assign HDMI_BLACKOUT = 0;
|
||||||
|
assign HDMI_BOB_DEINT = 0;
|
||||||
|
|
||||||
wire [1:0] ar = status[9:8];
|
wire [1:0] ar = status[9:8];
|
||||||
|
|
||||||
@@ -189,39 +193,48 @@ assign VIDEO_ARY = (!ar) ? 12'd3 : 12'd0;
|
|||||||
|
|
||||||
|
|
||||||
`include "build_id.v"
|
`include "build_id.v"
|
||||||
|
`include "build_id_num.v"
|
||||||
|
|
||||||
localparam CONF_STR = {
|
localparam CONF_STR = {
|
||||||
"COCO3;UART19200:9600:4800:2400:1200:300;",
|
"COCO3;UART19200:9600:4800:2400:1200:300;",
|
||||||
"-;",
|
"-;",
|
||||||
"OCD,Multi-Pak,(Slot 2) CoCoSDC,(Slot3) ECB /Cart,(Slot 4) Disk;",
|
"OCD,Multi-Pak,(Slot 1) FujiNet,(Slot 2) CoCoSDC,(Slot3) ECB /Cart,(Slot 4) Disk;",
|
||||||
"H3-;",
|
"H3-;",
|
||||||
"H3S0,DSK,Load Disk Drive 0;",
|
"H3S2,DSK,Load Disk Drive 0;",
|
||||||
"H3S1,DSK,Load Disk Drive 1;",
|
"H3S3,DSK,Load Disk Drive 1;",
|
||||||
"H3S2,DSK,Load Disk Drive 2;",
|
"H3S4,DSK,Load Disk Drive 2;",
|
||||||
"H3S3,DSK,Load Disk Drive 3;",
|
"H3S5,DSK,Load Disk Drive 3;",
|
||||||
"H2-;",
|
"H2-;",
|
||||||
"H2F1,CCC,Load Cartridge;",
|
"H2F1,CCC,Load Cartridge;",
|
||||||
"H1-;",
|
"H1-;",
|
||||||
"H1S4,DSKVHD,Load SDC Drive 0;",
|
"H1S0,DSKVHD,Load SDC Drive 0;",
|
||||||
"H1S5,DSKVHD,Load SDC Drive 1;",
|
"H1S1,DSKVHD,Load SDC Drive 1;",
|
||||||
"H1-;",
|
"H1-;",
|
||||||
"H1S0,DSK,Load OS9 Floppy /d0;",
|
"H1S2,DSK,Load OS9 Floppy /d0;",
|
||||||
"H1S1,DSK,Load OS9 Floppy /d1;",
|
"H1S3,DSK,Load OS9 Floppy /d1;",
|
||||||
"H1S2,DSK,Load OS9 Floppy /d3;",
|
"H1S4,DSK,Load OS9 Floppy /d3;",
|
||||||
"H1S3,DSK,Load OS9 Floppy /d4;",
|
"H1S5,DSK,Load OS9 Floppy /d4;",
|
||||||
|
"H0-;",
|
||||||
"-;",
|
"-;",
|
||||||
|
|
||||||
"F2,CAS,Load Cassette;",
|
"F2,CAS,Load Cassette;",
|
||||||
"TF,Stop & Rewind;",
|
"TF,Stop & Rewind;",
|
||||||
"OH,Monitor Tape Sound,No,Yes;",
|
"OH,Monitor Tape Sound,No,Yes;",
|
||||||
|
|
||||||
"-;",
|
"-;",
|
||||||
|
"S6,CAS,Save Cassette;",
|
||||||
|
"OE,Cass Rwd=0 / Rec=1,0,1;",
|
||||||
|
"-;",
|
||||||
|
|
||||||
"P1,Video Settings;",
|
"P1,Video Settings;",
|
||||||
"P1-;",
|
"P1-;",
|
||||||
"P1-, -= Video Settings =-;",
|
"P1-, -= Video Settings =-;",
|
||||||
"P1-;",
|
"P1-;",
|
||||||
"P1O89,Aspect ratio,Original,Full Screen,[ARC1],[ARC2];",
|
"P1O89,Aspect ratio,Original,Full Screen,Wide,[ARC1];",
|
||||||
"P1O35,Scandoubler Fx,None,HQ2x,CRT 25%,CRT 50%,CRT 75%;",
|
"P1O35,Scandoubler Fx,None,HQ2x,CRT 25%,CRT 50%,CRT 75%;",
|
||||||
"P1OL,Artifact Color,Off - SG4,On - SG6;",
|
"P1-;",
|
||||||
|
"P1OL,CoCo3 LC,Yes,No-(SG6=Yes);",
|
||||||
|
"P1-;",
|
||||||
|
"P1o56,Artifact Type,MESS,Simple,NONE;",
|
||||||
"P1OI,Artifact Color Set,0,1;",
|
"P1OI,Artifact Color Set,0,1;",
|
||||||
"-;",
|
"-;",
|
||||||
"P2,Debug Menu;",
|
"P2,Debug Menu;",
|
||||||
@@ -229,9 +242,9 @@ localparam CONF_STR = {
|
|||||||
"P2-, -= Debug Menu =-;",
|
"P2-, -= Debug Menu =-;",
|
||||||
"P2-;",
|
"P2-;",
|
||||||
"P2F3,BIN,Load COCO Font;",
|
"P2F3,BIN,Load COCO Font;",
|
||||||
"P2OG,Cart Interrupt Disabled,OFF,ON;",
|
"P2OG,Swap MiSTer Uart,RS CART,Default;",
|
||||||
//P2O?,Force Disk 0 DS,Off,On;"
|
"P2OU,Swap Uart to IO,RS IO,MiSTer;",
|
||||||
//P2O?,Force Disk 1 DS,Off,On;"
|
"P2OT,SAM Wrt Only Ena,Off,On;",
|
||||||
"-;",
|
"-;",
|
||||||
"ON,D-Pad Joystick emu,No,Yes;",
|
"ON,D-Pad Joystick emu,No,Yes;",
|
||||||
"O6,Swap Joysticks,Off,On;",
|
"O6,Swap Joysticks,Off,On;",
|
||||||
@@ -241,12 +254,14 @@ localparam CONF_STR = {
|
|||||||
"OO,Force Turbo,No,Yes;",
|
"OO,Force Turbo,No,Yes;",
|
||||||
"o02,Turbo Speed,CoCo Ctrl, 0.89 Mhz,1.78 Mhz,2.86 Mhz, 3.58 Mhz,7.16 Mhz,9.54 Mhz;",
|
"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;",
|
"OPR,Memory Size,512K,1M,2M,16M;",
|
||||||
|
"o89,Auto Run,No,DOS,AUTO.BAS;",
|
||||||
"-;",
|
"-;",
|
||||||
"RM,Cold Boot;",
|
"RM,Cold Boot;",
|
||||||
"R0,Reset;",
|
"R0,Reset;",
|
||||||
"J,Button1,Button2;",
|
"J,Button1,Button2;",
|
||||||
"jn,A,B;",
|
"jn,A,B;",
|
||||||
"V,v",`BUILD_DATE
|
"v,51;",
|
||||||
|
"V,v",{`BUILD_DATE,"-",`BUILD_NUMBER}
|
||||||
};
|
};
|
||||||
|
|
||||||
// Status bits Directory
|
// Status bits Directory
|
||||||
@@ -258,9 +273,9 @@ localparam CONF_STR = {
|
|||||||
// 0123456789ABCDEFGHIJKLMNOPQRSTUV 0123456789ABCDEFGHIJKLMNOPQRSTUV
|
// 0123456789ABCDEFGHIJKLMNOPQRSTUV 0123456789ABCDEFGHIJKLMNOPQRSTUV
|
||||||
//
|
//
|
||||||
|
|
||||||
// R OOOO OOR OO TOOOOOOROOOOOO ooo
|
// R OOOO OOR OOOTOOOOOOROOOOOOOO ooo oo oo
|
||||||
//F FF
|
//F FF
|
||||||
//S SSSSSS
|
//S SSSSSSS
|
||||||
|
|
||||||
//////////////////// CLOCKS ///////////////////
|
//////////////////// CLOCKS ///////////////////
|
||||||
|
|
||||||
@@ -271,7 +286,7 @@ assign clk_sys=CLK_57;
|
|||||||
wire pll_locked, pll2_locked;
|
wire pll_locked, pll2_locked;
|
||||||
wire CLK_114, CLK_57, CLK_28, CLK_14;
|
wire CLK_114, CLK_57, CLK_28, CLK_14;
|
||||||
|
|
||||||
|
assign VGA_DISABLE = 1'b0;
|
||||||
|
|
||||||
pll pll
|
pll pll
|
||||||
(
|
(
|
||||||
@@ -287,7 +302,7 @@ pll pll
|
|||||||
///////////////////////////////////////////////////
|
///////////////////////////////////////////////////
|
||||||
|
|
||||||
wire [63:0] status;
|
wire [63:0] status;
|
||||||
wire [63:0] status_in;
|
wire [63:0] status_in = 63'd0;
|
||||||
wire status_set;
|
wire status_set;
|
||||||
|
|
||||||
wire [1:0] buttons;
|
wire [1:0] buttons;
|
||||||
@@ -311,9 +326,10 @@ wire [21:0] gamma_bus;
|
|||||||
assign CLK_VIDEO = clk_sys;
|
assign CLK_VIDEO = clk_sys;
|
||||||
|
|
||||||
wire [64:0] RTC;
|
wire [64:0] RTC;
|
||||||
|
wire [15:0] sdram_sz;
|
||||||
|
|
||||||
// SD - 6 drives [4 fdc and 2 sdc] 512 size blocks [the wd1793 translates to a 256 byte sector size]
|
// SD - 7 drives [4 fdc, 2 sdc and 1 cass_wr] 512 size blocks [the wd1793 translates to a 256 byte sector size]
|
||||||
hps_io #(.CONF_STR(CONF_STR),.PS2DIV(2400), .VDNUM(6), .BLKSZ(2)) hps_io
|
hps_io #(.CONF_STR(CONF_STR),.PS2DIV(2400), .VDNUM(7), .BLKSZ(2)) hps_io
|
||||||
(
|
(
|
||||||
.clk_sys(clk_sys),
|
.clk_sys(clk_sys),
|
||||||
.HPS_BUS(HPS_BUS),
|
.HPS_BUS(HPS_BUS),
|
||||||
@@ -324,7 +340,7 @@ hps_io #(.CONF_STR(CONF_STR),.PS2DIV(2400), .VDNUM(6), .BLKSZ(2)) hps_io
|
|||||||
.status_in(status_in),
|
.status_in(status_in),
|
||||||
.status_set(status_set),
|
.status_set(status_set),
|
||||||
|
|
||||||
.status_menumask({ ~(mpi == 2'b11), ~(mpi == 2'b10),~(mpi == 2'b01), 1'b1}),
|
.status_menumask({ ~(mpi == 2'b11), ~(mpi == 2'b10),~(mpi == 2'b01), ~(mpi == 2'b00)}),
|
||||||
.forced_scandoubler(forced_scandoubler),
|
.forced_scandoubler(forced_scandoubler),
|
||||||
.RTC(RTC),
|
.RTC(RTC),
|
||||||
.gamma_bus(gamma_bus),
|
.gamma_bus(gamma_bus),
|
||||||
@@ -336,6 +352,8 @@ hps_io #(.CONF_STR(CONF_STR),.PS2DIV(2400), .VDNUM(6), .BLKSZ(2)) hps_io
|
|||||||
.ioctl_dout(ioctl_data),
|
.ioctl_dout(ioctl_data),
|
||||||
.ioctl_index(ioctl_index),
|
.ioctl_index(ioctl_index),
|
||||||
|
|
||||||
|
.sdram_sz(sdram_sz),
|
||||||
|
|
||||||
// SD block level interface
|
// SD block level interface
|
||||||
|
|
||||||
.img_mounted(img_mounted), // signaling that new image has been mounted
|
.img_mounted(img_mounted), // signaling that new image has been mounted
|
||||||
@@ -370,21 +388,21 @@ hps_io #(.CONF_STR(CONF_STR),.PS2DIV(2400), .VDNUM(6), .BLKSZ(2)) hps_io
|
|||||||
);
|
);
|
||||||
|
|
||||||
// SD block level interface
|
// SD block level interface
|
||||||
wire [5:0] img_mounted;
|
wire [6:0] img_mounted;
|
||||||
wire img_readonly;
|
wire img_readonly;
|
||||||
wire [63:0] img_size;
|
wire [63:0] img_size;
|
||||||
|
|
||||||
wire [31:0] sd_lba[6];
|
wire [31:0] sd_lba[7];
|
||||||
wire [3:0] sd_blk_cnt[6];
|
wire [5:0] sd_blk_cnt[7];
|
||||||
|
|
||||||
wire [5:0] sd_rd;
|
wire [6:0] sd_rd;
|
||||||
wire [5:0] sd_wr;
|
wire [6:0] sd_wr;
|
||||||
wire [5:0] sd_ack;
|
wire [6:0] sd_ack;
|
||||||
|
|
||||||
// SD byte level access. Signals for 2-PORT altsyncram.
|
// SD byte level access. Signals for 2-PORT altsyncram.
|
||||||
wire [8:0] sd_buff_addr;
|
wire [8:0] sd_buff_addr;
|
||||||
wire [7:0] sd_buff_dout;
|
wire [7:0] sd_buff_dout;
|
||||||
wire [7:0] sd_buff_din[6];
|
wire [7:0] sd_buff_din[7];
|
||||||
wire sd_buff_wr;
|
wire sd_buff_wr;
|
||||||
|
|
||||||
|
|
||||||
@@ -449,7 +467,9 @@ wire Programmed_EE;
|
|||||||
|
|
||||||
EE_Cold_Bt COCO3_EE_Cold_Bt (
|
EE_Cold_Bt COCO3_EE_Cold_Bt (
|
||||||
.CLK(CLK_14),
|
.CLK(CLK_14),
|
||||||
|
.RESET(1'b0),
|
||||||
|
|
||||||
|
// .Display_EE(1'b0), // from MISTer subsystem
|
||||||
.Display_EE(easter_egg), // from MISTer subsystem
|
.Display_EE(easter_egg), // from MISTer subsystem
|
||||||
.Cold_Boot(AMW_ACK), // from AMW system
|
.Cold_Boot(AMW_ACK), // from AMW system
|
||||||
|
|
||||||
@@ -468,10 +488,16 @@ wire [7:0] r;
|
|||||||
wire [7:0] g;
|
wire [7:0] g;
|
||||||
wire [7:0] b;
|
wire [7:0] b;
|
||||||
|
|
||||||
wire easter_egg = ~status[10];
|
wire easter_egg = status[10];
|
||||||
wire [31:0] probe;
|
wire [6:0] probe_o;
|
||||||
|
wire [6:0] probe_i;
|
||||||
|
|
||||||
assign USER_OUT[6:0] = probe[6:0];
|
assign USER_OUT[6:0] = probe_o[6:0];
|
||||||
|
assign probe_i[6:0] = USER_IN[6:0];
|
||||||
|
|
||||||
|
wire [71:0] Config_Data;
|
||||||
|
|
||||||
|
assign Config_Data = {`BUILD_DATE, `BUILD_NUMBER};
|
||||||
|
|
||||||
coco3fpga coco3 (
|
coco3fpga coco3 (
|
||||||
// CLOCKS
|
// CLOCKS
|
||||||
@@ -485,9 +511,9 @@ coco3fpga coco3 (
|
|||||||
// Reset
|
// Reset
|
||||||
.COCO_RESET_N((~reset & Programmed_RESET_N)),
|
.COCO_RESET_N((~reset & Programmed_RESET_N)),
|
||||||
|
|
||||||
.RED(r),
|
.RED_O(r),
|
||||||
.GREEN(g),
|
.GREEN_O(g),
|
||||||
.BLUE(b),
|
.BLUE_O(b),
|
||||||
|
|
||||||
.EE_N(Programmed_EE),
|
.EE_N(Programmed_EE),
|
||||||
.PHASE(PHASE),
|
.PHASE(PHASE),
|
||||||
@@ -516,7 +542,7 @@ coco3fpga coco3 (
|
|||||||
// R1, L2, R2, L1
|
// R1, L2, R2, L1
|
||||||
.P_SWITCH(~{coco_joy2[4],coco_joy1[5],coco_joy2[5],coco_joy1[4]}),
|
.P_SWITCH(~{coco_joy2[4],coco_joy1[5],coco_joy2[5],coco_joy1[4]}),
|
||||||
.SWITCH(switch),
|
.SWITCH(switch),
|
||||||
.SOUND_OUT(cocosound),
|
// .SOUND_OUT(cocosound),
|
||||||
.SOUND_LEFT(audio_left),
|
.SOUND_LEFT(audio_left),
|
||||||
.SOUND_RIGHT(AUDIO_R),
|
.SOUND_RIGHT(AUDIO_R),
|
||||||
|
|
||||||
@@ -527,6 +553,9 @@ coco3fpga coco3 (
|
|||||||
.ioctl_index(ioctl_index),
|
.ioctl_index(ioctl_index),
|
||||||
.ioctl_wr(ioctl_wr),
|
.ioctl_wr(ioctl_wr),
|
||||||
|
|
||||||
|
// SDRAM Info
|
||||||
|
.sdram_sz(sdram_sz),
|
||||||
|
|
||||||
// SD block level interface
|
// SD block level interface
|
||||||
|
|
||||||
.img_mounted(img_mounted), // signaling that new image has been mounted
|
.img_mounted(img_mounted), // signaling that new image has been mounted
|
||||||
@@ -546,7 +575,8 @@ coco3fpga coco3 (
|
|||||||
.sd_buff_din(sd_buff_din),
|
.sd_buff_din(sd_buff_din),
|
||||||
.sd_buff_wr(sd_buff_wr),
|
.sd_buff_wr(sd_buff_wr),
|
||||||
|
|
||||||
.PROBE(probe[31:0]),
|
.PROBE_O(probe_o),
|
||||||
|
.PROBE_I(probe_i),
|
||||||
.clk_Q_out(clk_Q_out),
|
.clk_Q_out(clk_Q_out),
|
||||||
.casdout( casdout),
|
.casdout( casdout),
|
||||||
.cas_relay(cas_relay),
|
.cas_relay(cas_relay),
|
||||||
@@ -574,12 +604,18 @@ coco3fpga coco3 (
|
|||||||
.RTC(RTC),
|
.RTC(RTC),
|
||||||
|
|
||||||
.AMW_Trigger(coldboot | mpi_reset | mem_reset),
|
.AMW_Trigger(coldboot | mpi_reset | mem_reset),
|
||||||
|
// .AMW_Trigger(coldboot),
|
||||||
.AMW_ACK(AMW_ACK),
|
.AMW_ACK(AMW_ACK),
|
||||||
|
|
||||||
.F_Turbo(F_Turbo),
|
.F_Turbo(F_Turbo),
|
||||||
|
|
||||||
.Mem_Size(Mem_Size),
|
.Mem_Size(Mem_Size),
|
||||||
|
|
||||||
|
.AUTO_MODE(Auto_Mode),
|
||||||
|
|
||||||
|
.Config_Data(Config_Data),
|
||||||
|
.SAM_WO(SAM_WO),
|
||||||
|
|
||||||
.UART_TXD(UART_TXD),
|
.UART_TXD(UART_TXD),
|
||||||
.UART_RXD(UART_RXD),
|
.UART_RXD(UART_RXD),
|
||||||
.UART_RTS(UART_RTS),
|
.UART_RTS(UART_RTS),
|
||||||
@@ -590,18 +626,22 @@ coco3fpga coco3 (
|
|||||||
|
|
||||||
assign status_set = 1'b0;
|
assign status_set = 1'b0;
|
||||||
|
|
||||||
wire [5:0] cocosound;
|
//wire [5:0] cocosound;
|
||||||
|
|
||||||
wire [2:0] turbo_speed = status[34:32];
|
wire [2:0] turbo_speed = status[34:32];
|
||||||
wire [2:0] assigned_turbo_speed;
|
wire [2:0] assigned_turbo_speed;
|
||||||
|
wire [1:0] art = status[38:37];
|
||||||
|
wire [1:0] Auto_Mode = status[41:40];
|
||||||
|
|
||||||
wire AMW_ACK;
|
wire AMW_ACK;
|
||||||
|
|
||||||
wire cpu_speed = status[11];
|
//wire cpu_speed = status[11];
|
||||||
|
|
||||||
wire [1:0] mpi = status[13:12] + 1'b1;
|
//wire [1:0] mpi = status[13:12] + 1'b1;
|
||||||
wire video=status[14];
|
wire [1:0] mpi = status[13:12];
|
||||||
wire cartint=status[16];
|
//wire video=status[14];
|
||||||
|
wire CASS_REW_RECORD=status[14];
|
||||||
|
wire rs_swap=status[16];
|
||||||
wire sg4v6 = status[21];
|
wire sg4v6 = status[21];
|
||||||
|
|
||||||
wire PHASE = status[18];
|
wire PHASE = status[18];
|
||||||
@@ -611,7 +651,8 @@ wire coldboot = status[22];
|
|||||||
wire F_Turbo = status[24];
|
wire F_Turbo = status[24];
|
||||||
wire [2:0] Mem_Size = status[27:25];
|
wire [2:0] Mem_Size = status[27:25];
|
||||||
wire SWAP_M_J = status[28];
|
wire SWAP_M_J = status[28];
|
||||||
|
wire SAM_WO = status[29];
|
||||||
|
wire UART_INPUT = status[30];
|
||||||
wire digitalJoy = status[23];
|
wire digitalJoy = status[23];
|
||||||
reg [2:0] mpi_d = 2'b00;
|
reg [2:0] mpi_d = 2'b00;
|
||||||
reg first_mpi_chg = 1'b0;
|
reg first_mpi_chg = 1'b0;
|
||||||
@@ -648,7 +689,7 @@ begin
|
|||||||
end
|
end
|
||||||
|
|
||||||
// Set bit 9 to swap serial ports...
|
// Set bit 9 to swap serial ports...
|
||||||
wire [9:0] switch = { 4'b1000,sg4v6,cartint,video,mpi,cpu_speed} ;
|
wire [9:0] switch = { 1'b0,UART_INPUT,art,sg4v6,rs_swap,CASS_REW_RECORD,mpi,1'b0};
|
||||||
|
|
||||||
|
|
||||||
wire reset = RESET | status[0] | buttons[1];
|
wire reset = RESET | status[0] | buttons[1];
|
||||||
@@ -730,7 +771,7 @@ cassette cassette(
|
|||||||
|
|
||||||
.sdram_addr(ram_addr),
|
.sdram_addr(ram_addr),
|
||||||
.sdram_data(ram_data_o),
|
.sdram_data(ram_data_o),
|
||||||
.sdram_rd(ram_rd), // Not connected for sram
|
// .sdram_rd(ram_rd), // Not connected for sram
|
||||||
|
|
||||||
.data(casdout)
|
.data(casdout)
|
||||||
);
|
);
|
||||||
|
|||||||
@@ -0,0 +1,448 @@
|
|||||||
|
<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>
|
||||||
|
<instance enabled="true" entity_name="sld_signaltap" is_auto_node="yes" is_expanded="true" 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="data horizontal scroll position" value="0"/>
|
||||||
|
<single attribute="data vertical scroll position" value="0"/>
|
||||||
|
<single attribute="setup horizontal scroll position" value="0"/>
|
||||||
|
<single attribute="setup vertical scroll position" value="18"/>
|
||||||
|
<single attribute="zoom level denominator" value="1"/>
|
||||||
|
<single attribute="zoom level numerator" value="1"/>
|
||||||
|
<single attribute="zoom offset denominator" value="1"/>
|
||||||
|
<single attribute="zoom offset numerator" value="114688"/>
|
||||||
|
<multi attribute="timebars" size="6" value="11867,4522,1536,8606,16341,8639"/>
|
||||||
|
</position_info>
|
||||||
|
<signal_set global_temp="1" name="signal_set: 2023/09/10 18:55:57 #0">
|
||||||
|
<clock name="emu:emu|coco3fpga:coco3|CLK_57" polarity="posedge" tap_mode="classic"/>
|
||||||
|
<config pipeline_level="0" 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|ADRS_FF_D" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|COCO_ROM_8K:CC3_DISK_ROM|ADDR[0]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|COCO_ROM_8K:CC3_DISK_ROM|ADDR[1]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|COCO_ROM_8K:CC3_DISK_ROM|ADDR[2]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|COCO_ROM_8K:CC3_DISK_ROM|ADDR[3]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|COCO_ROM_8K:CC3_DISK_ROM|ADDR[4]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|COCO_ROM_8K:CC3_DISK_ROM|ADDR[5]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|COCO_ROM_8K:CC3_DISK_ROM|ADDR[6]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|COCO_ROM_8K:CC3_DISK_ROM|ADDR[7]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|DATA_IN[0]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|DATA_IN[1]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|DATA_IN[2]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|DATA_IN[3]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|DATA_IN[4]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|DATA_IN[5]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|DATA_IN[6]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|DATA_IN[7]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|MPI_SCS[0]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|MPI_SCS[1]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|fdc:coco_fdc|FF40_ENA" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|fdc:coco_fdc|RD_E" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|fdc:coco_fdc|WD1793_RD_CTRL" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|fdc:coco_fdc|WD1793_WR_CTRL" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|mc6809x:GLBCPU09|RnW" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|sdc_top:coco_sdc_top|ext_response" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|sdc_top:coco_sdc_top|sdc:coco_sdc|SDC_DATA_IN[0]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|sdc_top:coco_sdc_top|sdc:coco_sdc|SDC_DATA_IN[1]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|sdc_top:coco_sdc_top|sdc:coco_sdc|SDC_DATA_IN[2]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|sdc_top:coco_sdc_top|sdc:coco_sdc|SDC_DATA_IN[3]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|sdc_top:coco_sdc_top|sdc:coco_sdc|SDC_DATA_IN[4]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|sdc_top:coco_sdc_top|sdc:coco_sdc|SDC_DATA_IN[5]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|sdc_top:coco_sdc_top|sdc:coco_sdc|SDC_DATA_IN[6]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|sdc_top:coco_sdc_top|sdc:coco_sdc|SDC_DATA_IN[7]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|sdc_top:coco_sdc_top|sdc:coco_sdc|SDC_RD" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|sdc_top:coco_sdc_top|sdc:coco_sdc|SDC_WR" tap_mode="classic"/>
|
||||||
|
</trigger_input_vec>
|
||||||
|
<data_input_vec>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|ADRS_FF_D" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|COCO_ROM_8K:CC3_DISK_ROM|ADDR[0]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|COCO_ROM_8K:CC3_DISK_ROM|ADDR[1]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|COCO_ROM_8K:CC3_DISK_ROM|ADDR[2]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|COCO_ROM_8K:CC3_DISK_ROM|ADDR[3]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|COCO_ROM_8K:CC3_DISK_ROM|ADDR[4]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|COCO_ROM_8K:CC3_DISK_ROM|ADDR[5]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|COCO_ROM_8K:CC3_DISK_ROM|ADDR[6]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|COCO_ROM_8K:CC3_DISK_ROM|ADDR[7]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|DATA_IN[0]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|DATA_IN[1]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|DATA_IN[2]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|DATA_IN[3]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|DATA_IN[4]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|DATA_IN[5]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|DATA_IN[6]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|DATA_IN[7]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|MPI_SCS[0]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|MPI_SCS[1]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|fdc:coco_fdc|FF40_ENA" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|fdc:coco_fdc|RD_E" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|fdc:coco_fdc|WD1793_RD_CTRL" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|fdc:coco_fdc|WD1793_WR_CTRL" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|mc6809x:GLBCPU09|RnW" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|sdc_top:coco_sdc_top|ext_response" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|sdc_top:coco_sdc_top|sdc:coco_sdc|SDC_DATA_IN[0]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|sdc_top:coco_sdc_top|sdc:coco_sdc|SDC_DATA_IN[1]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|sdc_top:coco_sdc_top|sdc:coco_sdc|SDC_DATA_IN[2]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|sdc_top:coco_sdc_top|sdc:coco_sdc|SDC_DATA_IN[3]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|sdc_top:coco_sdc_top|sdc:coco_sdc|SDC_DATA_IN[4]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|sdc_top:coco_sdc_top|sdc:coco_sdc|SDC_DATA_IN[5]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|sdc_top:coco_sdc_top|sdc:coco_sdc|SDC_DATA_IN[6]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|sdc_top:coco_sdc_top|sdc:coco_sdc|SDC_DATA_IN[7]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|sdc_top:coco_sdc_top|sdc:coco_sdc|SDC_RD" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|sdc_top:coco_sdc_top|sdc:coco_sdc|SDC_WR" tap_mode="classic"/>
|
||||||
|
</data_input_vec>
|
||||||
|
<storage_qualifier_input_vec>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|ADRS_FF_D" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|COCO_ROM_8K:CC3_DISK_ROM|ADDR[0]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|COCO_ROM_8K:CC3_DISK_ROM|ADDR[1]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|COCO_ROM_8K:CC3_DISK_ROM|ADDR[2]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|COCO_ROM_8K:CC3_DISK_ROM|ADDR[3]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|COCO_ROM_8K:CC3_DISK_ROM|ADDR[4]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|COCO_ROM_8K:CC3_DISK_ROM|ADDR[5]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|COCO_ROM_8K:CC3_DISK_ROM|ADDR[6]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|COCO_ROM_8K:CC3_DISK_ROM|ADDR[7]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|CPU_FIRQ_N" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|CPU_IRQ_N" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|DATA_IN[0]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|DATA_IN[1]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|DATA_IN[2]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|DATA_IN[3]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|DATA_IN[4]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|DATA_IN[5]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|DATA_IN[6]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|DATA_IN[7]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|HRES[0]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|HRES[1]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|HRES[2]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|HRES[3]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|MPI_SCS[0]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|MPI_SCS[1]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|NMI_09" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|VGA_SYNC_N" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|fdc:coco_fdc|FF40_ENA" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|fdc:coco_fdc|RD" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|fdc:coco_fdc|RD_E" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|fdc:coco_fdc|WD1793_RD_CTRL" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|fdc:coco_fdc|WD1793_WR_CTRL" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|fdc:coco_fdc|WR" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|fdc:coco_fdc|sd_ack[0]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|fdc:coco_fdc|sd_rd[0]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|fdc:coco_fdc|sd_wr[0]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|mc6809x:GLBCPU09|RnW" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|sdc_top:coco_sdc_top|ext_response" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|sdc_top:coco_sdc_top|sd_rd[0]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|sdc_top:coco_sdc_top|sd_wr[0]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|sdc_top:coco_sdc_top|sdc:coco_sdc|SDC_DATA_IN[0]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|sdc_top:coco_sdc_top|sdc:coco_sdc|SDC_DATA_IN[1]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|sdc_top:coco_sdc_top|sdc:coco_sdc|SDC_DATA_IN[2]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|sdc_top:coco_sdc_top|sdc:coco_sdc|SDC_DATA_IN[3]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|sdc_top:coco_sdc_top|sdc:coco_sdc|SDC_DATA_IN[4]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|sdc_top:coco_sdc_top|sdc:coco_sdc|SDC_DATA_IN[5]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|sdc_top:coco_sdc_top|sdc:coco_sdc|SDC_DATA_IN[6]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|sdc_top:coco_sdc_top|sdc:coco_sdc|SDC_DATA_IN[7]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|sdc_top:coco_sdc_top|sdc:coco_sdc|SDC_RD" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|sdc_top:coco_sdc_top|sdc:coco_sdc|SDC_WR" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|sdc_top:coco_sdc_top|sdc:coco_sdc|command[4]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|sdc_top:coco_sdc_top|sdc:coco_sdc|command[5]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|sdc_top:coco_sdc_top|sdc:coco_sdc|command[6]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|sdc_top:coco_sdc_top|sdc:coco_sdc|command[7]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|sdc_top:coco_sdc_top|sdc:coco_sdc|data_inc" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|sdc_top:coco_sdc_top|sdc:coco_sdc|sd_ack[0]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|sdc_top:coco_sdc_top|sdc:coco_sdc|sd_buff_addr[0]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|sdc_top:coco_sdc_top|sdc:coco_sdc|sd_buff_addr[8]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|sdc_top:coco_sdc_top|sdc:coco_sdc|sd_buff_wr" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|sdc_top:coco_sdc_top|sdc:coco_sdc|transfer_address[0]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|sdc_top:coco_sdc_top|sdc:coco_sdc|transfer_address[7]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|sdc_top:coco_sdc_top|sdc:coco_sdc|wr_cmd" tap_mode="classic"/>
|
||||||
|
</storage_qualifier_input_vec>
|
||||||
|
</signal_vec>
|
||||||
|
<presentation>
|
||||||
|
<unified_setup_data_view>
|
||||||
|
<node data_index="29" duplicate_name_allowed="false" is_data_input="false" is_node_valid="true" is_selected="false" is_storage_input="true" is_trigger_input="false" level-0="dont_care" level-1="dont_care" level-2="dont_care" level-3="dont_care" level-4="dont_care" name="emu:emu|coco3fpga:coco3|sdc_top:coco_sdc_top|sdc:coco_sdc|data_inc" pwr_level-0="dont_care" pwr_level-1="dont_care" pwr_level-2="dont_care" pwr_level-3="dont_care" pwr_level-4="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="54" tap_mode="classic" trigger_index="29" type="unknown"/>
|
||||||
|
<node data_index="34" duplicate_name_allowed="false" is_data_input="false" is_node_valid="true" is_selected="false" is_storage_input="true" is_trigger_input="false" level-0="dont_care" level-1="dont_care" level-2="dont_care" level-3="dont_care" level-4="dont_care" name="emu:emu|coco3fpga:coco3|sdc_top:coco_sdc_top|sdc:coco_sdc|transfer_address[0]" pwr_level-0="dont_care" pwr_level-1="dont_care" pwr_level-2="dont_care" pwr_level-3="dont_care" pwr_level-4="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="59" tap_mode="classic" trigger_index="34" type="unknown"/>
|
||||||
|
<node data_index="35" duplicate_name_allowed="false" is_data_input="false" is_node_valid="true" is_selected="false" is_storage_input="true" is_trigger_input="false" level-0="dont_care" level-1="dont_care" level-2="dont_care" level-3="dont_care" level-4="dont_care" name="emu:emu|coco3fpga:coco3|sdc_top:coco_sdc_top|sdc:coco_sdc|transfer_address[7]" pwr_level-0="dont_care" pwr_level-1="dont_care" pwr_level-2="dont_care" pwr_level-3="dont_care" pwr_level-4="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="60" tap_mode="classic" trigger_index="35" type="unknown"/>
|
||||||
|
<node data_index="32" duplicate_name_allowed="false" is_data_input="false" is_node_valid="true" is_selected="false" is_storage_input="true" is_trigger_input="false" level-0="dont_care" level-1="dont_care" level-2="dont_care" level-3="dont_care" level-4="dont_care" name="emu:emu|coco3fpga:coco3|sdc_top:coco_sdc_top|sdc:coco_sdc|wr_cmd" pwr_level-0="dont_care" pwr_level-1="dont_care" pwr_level-2="dont_care" pwr_level-3="dont_care" pwr_level-4="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="61" tap_mode="classic" trigger_index="32" type="unknown"/>
|
||||||
|
<node is_selected="false" level-0="alt_or" level-1="alt_or" level-2="alt_or" level-3="alt_or" level-4="alt_or" name="emu:emu|coco3fpga:coco3|sdc_top:coco_sdc_top|sd_rd[1..0]" order="msb_to_lsb" state="expand" storage-0="alt_or" storage-1="alt_or" storage-2="alt_or" type="combinatorial">
|
||||||
|
<node data_index="8" duplicate_name_allowed="false" is_data_input="false" is_node_valid="true" is_selected="false" is_storage_input="true" is_trigger_input="false" level-0="dont_care" level-1="dont_care" level-2="dont_care" level-3="dont_care" level-4="dont_care" name="emu:emu|coco3fpga:coco3|sdc_top:coco_sdc_top|sd_rd[0]" pwr_level-0="dont_care" pwr_level-1="dont_care" pwr_level-2="dont_care" pwr_level-3="dont_care" pwr_level-4="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="38" tap_mode="classic" trigger_index="8" type="unknown"/>
|
||||||
|
</node>
|
||||||
|
<node is_selected="false" level-0="alt_or" level-1="alt_or" level-2="alt_or" level-3="alt_or" level-4="alt_or" name="emu:emu|coco3fpga:coco3|sdc_top:coco_sdc_top|sd_wr[1..0]" order="msb_to_lsb" state="expand" storage-0="alt_or" storage-1="alt_or" storage-2="alt_or" type="combinatorial">
|
||||||
|
<node data_index="9" duplicate_name_allowed="false" is_data_input="false" is_node_valid="true" is_selected="false" is_storage_input="true" is_trigger_input="false" level-0="rising edge" level-1="dont_care" level-2="dont_care" level-3="dont_care" level-4="dont_care" name="emu:emu|coco3fpga:coco3|sdc_top:coco_sdc_top|sd_wr[0]" pwr_level-0="dont_care" pwr_level-1="dont_care" pwr_level-2="dont_care" pwr_level-3="dont_care" pwr_level-4="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="39" tap_mode="classic" trigger_index="9" type="unknown"/>
|
||||||
|
</node>
|
||||||
|
<node data_index="33" 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" level-1="dont_care" level-2="dont_care" level-3="dont_care" level-4="dont_care" name="emu:emu|coco3fpga:coco3|sdc_top:coco_sdc_top|sdc:coco_sdc|SDC_RD" pwr_level-0="dont_care" pwr_level-1="dont_care" pwr_level-2="dont_care" pwr_level-3="dont_care" pwr_level-4="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="48" tap_mode="classic" trigger_index="33" type="unknown"/>
|
||||||
|
<node data_index="34" 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" level-1="dont_care" level-2="dont_care" level-3="dont_care" level-4="dont_care" name="emu:emu|coco3fpga:coco3|sdc_top:coco_sdc_top|sdc:coco_sdc|SDC_WR" pwr_level-0="dont_care" pwr_level-1="dont_care" pwr_level-2="dont_care" pwr_level-3="dont_care" pwr_level-4="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="49" tap_mode="classic" trigger_index="34" type="unknown"/>
|
||||||
|
<node data_index="31" duplicate_name_allowed="false" is_data_input="false" is_node_valid="true" is_selected="false" is_storage_input="true" is_trigger_input="false" level-0="dont_care" level-1="dont_care" level-2="dont_care" level-3="dont_care" level-4="dont_care" name="emu:emu|coco3fpga:coco3|sdc_top:coco_sdc_top|sdc:coco_sdc|sd_buff_wr" pwr_level-0="dont_care" pwr_level-1="dont_care" pwr_level-2="dont_care" pwr_level-3="dont_care" pwr_level-4="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="58" tap_mode="classic" trigger_index="31" type="unknown"/>
|
||||||
|
<node data_index="27" duplicate_name_allowed="false" is_data_input="false" is_node_valid="true" is_selected="false" is_storage_input="true" is_trigger_input="false" level-0="dont_care" level-1="dont_care" level-2="dont_care" level-3="dont_care" level-4="dont_care" name="emu:emu|coco3fpga:coco3|sdc_top:coco_sdc_top|sdc:coco_sdc|command[7]" pwr_level-0="dont_care" pwr_level-1="dont_care" pwr_level-2="dont_care" pwr_level-3="dont_care" pwr_level-4="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="53" tap_mode="classic" trigger_index="27" type="unknown"/>
|
||||||
|
<node data_index="26" duplicate_name_allowed="false" is_data_input="false" is_node_valid="true" is_selected="false" is_storage_input="true" is_trigger_input="false" level-0="dont_care" level-1="dont_care" level-2="dont_care" level-3="dont_care" level-4="dont_care" name="emu:emu|coco3fpga:coco3|sdc_top:coco_sdc_top|sdc:coco_sdc|command[6]" pwr_level-0="dont_care" pwr_level-1="dont_care" pwr_level-2="dont_care" pwr_level-3="dont_care" pwr_level-4="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="52" tap_mode="classic" trigger_index="26" type="unknown"/>
|
||||||
|
<node data_index="25" duplicate_name_allowed="false" is_data_input="false" is_node_valid="true" is_selected="false" is_storage_input="true" is_trigger_input="false" level-0="dont_care" level-1="dont_care" level-2="dont_care" level-3="dont_care" level-4="dont_care" name="emu:emu|coco3fpga:coco3|sdc_top:coco_sdc_top|sdc:coco_sdc|command[5]" pwr_level-0="dont_care" pwr_level-1="dont_care" pwr_level-2="dont_care" pwr_level-3="dont_care" pwr_level-4="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="51" tap_mode="classic" trigger_index="25" type="unknown"/>
|
||||||
|
<node data_index="24" duplicate_name_allowed="false" is_data_input="false" is_node_valid="true" is_selected="false" is_storage_input="true" is_trigger_input="false" level-0="dont_care" level-1="dont_care" level-2="dont_care" level-3="dont_care" level-4="dont_care" name="emu:emu|coco3fpga:coco3|sdc_top:coco_sdc_top|sdc:coco_sdc|command[4]" pwr_level-0="dont_care" pwr_level-1="dont_care" pwr_level-2="dont_care" pwr_level-3="dont_care" pwr_level-4="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="50" tap_mode="classic" trigger_index="24" type="unknown"/>
|
||||||
|
<node data_index="33" duplicate_name_allowed="false" is_data_input="false" is_node_valid="true" is_selected="false" is_storage_input="true" is_trigger_input="false" level-0="dont_care" level-1="dont_care" level-2="dont_care" level-3="dont_care" level-4="dont_care" name="emu:emu|coco3fpga:coco3|sdc_top:coco_sdc_top|sdc:coco_sdc|sd_buff_addr[0]" pwr_level-0="dont_care" pwr_level-1="dont_care" pwr_level-2="dont_care" pwr_level-3="dont_care" pwr_level-4="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="56" tap_mode="classic" trigger_index="33" type="unknown"/>
|
||||||
|
<node data_index="34" duplicate_name_allowed="false" is_data_input="false" is_node_valid="true" is_selected="false" is_storage_input="true" is_trigger_input="false" level-0="dont_care" level-1="dont_care" level-2="dont_care" level-3="dont_care" level-4="dont_care" name="emu:emu|coco3fpga:coco3|sdc_top:coco_sdc_top|sdc:coco_sdc|sd_buff_addr[8]" pwr_level-0="dont_care" pwr_level-1="dont_care" pwr_level-2="dont_care" pwr_level-3="dont_care" pwr_level-4="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="57" tap_mode="classic" trigger_index="34" type="unknown"/>
|
||||||
|
<node data_index="28" duplicate_name_allowed="false" is_data_input="false" is_node_valid="true" is_selected="false" is_storage_input="true" is_trigger_input="false" level-0="dont_care" level-1="dont_care" level-2="dont_care" level-3="dont_care" level-4="dont_care" name="emu:emu|coco3fpga:coco3|sdc_top:coco_sdc_top|sdc:coco_sdc|sd_ack[0]" pwr_level-0="dont_care" pwr_level-1="dont_care" pwr_level-2="dont_care" pwr_level-3="dont_care" pwr_level-4="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="55" tap_mode="classic" trigger_index="28" type="unknown"/>
|
||||||
|
<node is_selected="false" level-0="alt_or" level-1="alt_or" level-2="alt_or" level-3="alt_or" level-4="alt_or" name="emu:emu|coco3fpga:coco3|sdc_top:coco_sdc_top|sdc:coco_sdc|SDC_DATA_IN[7..0]" order="msb_to_lsb" radix="hex" state="collapse" storage-0="alt_or" storage-1="alt_or" storage-2="alt_or" type="combinatorial">
|
||||||
|
<node data_index="32" 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" level-1="dont_care" level-2="dont_care" level-3="dont_care" level-4="dont_care" name="emu:emu|coco3fpga:coco3|sdc_top:coco_sdc_top|sdc:coco_sdc|SDC_DATA_IN[7]" pwr_level-0="dont_care" pwr_level-1="dont_care" pwr_level-2="dont_care" pwr_level-3="dont_care" pwr_level-4="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="47" tap_mode="classic" trigger_index="32" type="unknown"/>
|
||||||
|
<node data_index="31" 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" level-1="dont_care" level-2="dont_care" level-3="dont_care" level-4="dont_care" name="emu:emu|coco3fpga:coco3|sdc_top:coco_sdc_top|sdc:coco_sdc|SDC_DATA_IN[6]" pwr_level-0="dont_care" pwr_level-1="dont_care" pwr_level-2="dont_care" pwr_level-3="dont_care" pwr_level-4="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="46" tap_mode="classic" trigger_index="31" type="unknown"/>
|
||||||
|
<node data_index="30" 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" level-1="dont_care" level-2="dont_care" level-3="dont_care" level-4="dont_care" name="emu:emu|coco3fpga:coco3|sdc_top:coco_sdc_top|sdc:coco_sdc|SDC_DATA_IN[5]" pwr_level-0="dont_care" pwr_level-1="dont_care" pwr_level-2="dont_care" pwr_level-3="dont_care" pwr_level-4="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="45" tap_mode="classic" trigger_index="30" type="unknown"/>
|
||||||
|
<node data_index="29" 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" level-1="dont_care" level-2="dont_care" level-3="dont_care" level-4="dont_care" name="emu:emu|coco3fpga:coco3|sdc_top:coco_sdc_top|sdc:coco_sdc|SDC_DATA_IN[4]" pwr_level-0="dont_care" pwr_level-1="dont_care" pwr_level-2="dont_care" pwr_level-3="dont_care" pwr_level-4="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="44" tap_mode="classic" trigger_index="29" type="unknown"/>
|
||||||
|
<node data_index="28" 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" level-1="dont_care" level-2="dont_care" level-3="dont_care" level-4="dont_care" name="emu:emu|coco3fpga:coco3|sdc_top:coco_sdc_top|sdc:coco_sdc|SDC_DATA_IN[3]" pwr_level-0="dont_care" pwr_level-1="dont_care" pwr_level-2="dont_care" pwr_level-3="dont_care" pwr_level-4="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="43" tap_mode="classic" trigger_index="28" type="unknown"/>
|
||||||
|
<node data_index="27" 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" level-1="dont_care" level-2="dont_care" level-3="dont_care" level-4="dont_care" name="emu:emu|coco3fpga:coco3|sdc_top:coco_sdc_top|sdc:coco_sdc|SDC_DATA_IN[2]" pwr_level-0="dont_care" pwr_level-1="dont_care" pwr_level-2="dont_care" pwr_level-3="dont_care" pwr_level-4="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="42" tap_mode="classic" trigger_index="27" type="unknown"/>
|
||||||
|
<node data_index="26" 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" level-1="dont_care" level-2="dont_care" level-3="dont_care" level-4="dont_care" name="emu:emu|coco3fpga:coco3|sdc_top:coco_sdc_top|sdc:coco_sdc|SDC_DATA_IN[1]" pwr_level-0="dont_care" pwr_level-1="dont_care" pwr_level-2="dont_care" pwr_level-3="dont_care" pwr_level-4="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="41" tap_mode="classic" trigger_index="26" type="unknown"/>
|
||||||
|
<node data_index="25" 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" level-1="dont_care" level-2="dont_care" level-3="dont_care" level-4="dont_care" name="emu:emu|coco3fpga:coco3|sdc_top:coco_sdc_top|sdc:coco_sdc|SDC_DATA_IN[0]" pwr_level-0="dont_care" pwr_level-1="dont_care" pwr_level-2="dont_care" pwr_level-3="dont_care" pwr_level-4="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="40" tap_mode="classic" trigger_index="25" type="unknown"/>
|
||||||
|
</node>
|
||||||
|
<node is_selected="false" level-0="alt_or" level-1="alt_or" level-2="alt_or" level-3="alt_or" level-4="alt_or" name="emu:emu|coco3fpga:coco3|DATA_IN[7..0]" order="msb_to_lsb" storage-0="alt_or" storage-1="alt_or" storage-2="alt_or" type="combinatorial">
|
||||||
|
<node data_index="16" 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" level-1="dont_care" level-2="dont_care" level-3="dont_care" level-4="dont_care" name="emu:emu|coco3fpga:coco3|DATA_IN[7]" pwr_level-0="dont_care" pwr_level-1="dont_care" pwr_level-2="dont_care" pwr_level-3="dont_care" pwr_level-4="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="18" tap_mode="classic" trigger_index="16" type="unknown"/>
|
||||||
|
<node data_index="15" 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" level-1="dont_care" level-2="dont_care" level-3="dont_care" level-4="dont_care" name="emu:emu|coco3fpga:coco3|DATA_IN[6]" pwr_level-0="dont_care" pwr_level-1="dont_care" pwr_level-2="dont_care" pwr_level-3="dont_care" pwr_level-4="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="17" tap_mode="classic" trigger_index="15" type="unknown"/>
|
||||||
|
<node data_index="14" 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" level-1="dont_care" level-2="dont_care" level-3="dont_care" level-4="dont_care" name="emu:emu|coco3fpga:coco3|DATA_IN[5]" pwr_level-0="dont_care" pwr_level-1="dont_care" pwr_level-2="dont_care" pwr_level-3="dont_care" pwr_level-4="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="16" tap_mode="classic" trigger_index="14" type="unknown"/>
|
||||||
|
<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" level-0="dont_care" level-1="dont_care" level-2="dont_care" level-3="dont_care" level-4="dont_care" name="emu:emu|coco3fpga:coco3|DATA_IN[4]" pwr_level-0="dont_care" pwr_level-1="dont_care" pwr_level-2="dont_care" pwr_level-3="dont_care" pwr_level-4="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="15" 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" level-0="dont_care" level-1="dont_care" level-2="dont_care" level-3="dont_care" level-4="dont_care" name="emu:emu|coco3fpga:coco3|DATA_IN[3]" pwr_level-0="dont_care" pwr_level-1="dont_care" pwr_level-2="dont_care" pwr_level-3="dont_care" pwr_level-4="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="14" 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" level-0="dont_care" level-1="dont_care" level-2="dont_care" level-3="dont_care" level-4="dont_care" name="emu:emu|coco3fpga:coco3|DATA_IN[2]" pwr_level-0="dont_care" pwr_level-1="dont_care" pwr_level-2="dont_care" pwr_level-3="dont_care" pwr_level-4="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="13" tap_mode="classic" trigger_index="11" 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" level-1="dont_care" level-2="dont_care" level-3="dont_care" level-4="dont_care" name="emu:emu|coco3fpga:coco3|DATA_IN[1]" pwr_level-0="dont_care" pwr_level-1="dont_care" pwr_level-2="dont_care" pwr_level-3="dont_care" pwr_level-4="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="12" tap_mode="classic" trigger_index="10" type="unknown"/>
|
||||||
|
<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" level-0="dont_care" level-1="dont_care" level-2="dont_care" level-3="dont_care" level-4="dont_care" name="emu:emu|coco3fpga:coco3|DATA_IN[0]" pwr_level-0="dont_care" pwr_level-1="dont_care" pwr_level-2="dont_care" pwr_level-3="dont_care" pwr_level-4="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="11" tap_mode="classic" trigger_index="9" type="unknown"/>
|
||||||
|
</node>
|
||||||
|
<node data_index="19" 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" level-1="dont_care" level-2="dont_care" level-3="dont_care" level-4="dont_care" name="emu:emu|coco3fpga:coco3|fdc:coco_fdc|FF40_ENA" pwr_level-0="dont_care" pwr_level-1="dont_care" pwr_level-2="dont_care" pwr_level-3="dont_care" pwr_level-4="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="27" tap_mode="classic" trigger_index="19" type="unknown"/>
|
||||||
|
<node data_index="13" duplicate_name_allowed="false" is_data_input="false" is_node_valid="true" is_selected="false" is_storage_input="true" is_trigger_input="false" level-0="dont_care" level-1="dont_care" level-2="dont_care" level-3="dont_care" level-4="dont_care" name="emu:emu|coco3fpga:coco3|fdc:coco_fdc|RD" pwr_level-0="dont_care" pwr_level-1="dont_care" pwr_level-2="dont_care" pwr_level-3="dont_care" pwr_level-4="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="28" tap_mode="classic" trigger_index="13" type="unknown"/>
|
||||||
|
<node data_index="20" 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" level-1="dont_care" level-2="dont_care" level-3="dont_care" level-4="dont_care" name="emu:emu|coco3fpga:coco3|fdc:coco_fdc|RD_E" pwr_level-0="dont_care" pwr_level-1="dont_care" pwr_level-2="dont_care" pwr_level-3="dont_care" pwr_level-4="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="29" tap_mode="classic" trigger_index="20" type="unknown"/>
|
||||||
|
<node data_index="21" 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" level-1="dont_care" level-2="dont_care" level-3="dont_care" level-4="dont_care" name="emu:emu|coco3fpga:coco3|fdc:coco_fdc|WD1793_RD_CTRL" pwr_level-0="dont_care" pwr_level-1="dont_care" pwr_level-2="dont_care" pwr_level-3="dont_care" pwr_level-4="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="30" tap_mode="classic" trigger_index="21" type="unknown"/>
|
||||||
|
<node data_index="22" 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" level-1="dont_care" level-2="dont_care" level-3="dont_care" level-4="dont_care" name="emu:emu|coco3fpga:coco3|fdc:coco_fdc|WD1793_WR_CTRL" pwr_level-0="dont_care" pwr_level-1="dont_care" pwr_level-2="dont_care" pwr_level-3="dont_care" pwr_level-4="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="31" tap_mode="classic" trigger_index="22" type="unknown"/>
|
||||||
|
<node data_index="17" duplicate_name_allowed="false" is_data_input="false" is_node_valid="true" is_selected="false" is_storage_input="true" is_trigger_input="false" level-0="dont_care" level-1="dont_care" level-2="dont_care" level-3="dont_care" level-4="dont_care" name="emu:emu|coco3fpga:coco3|fdc:coco_fdc|WR" pwr_level-0="dont_care" pwr_level-1="dont_care" pwr_level-2="dont_care" pwr_level-3="dont_care" pwr_level-4="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="32" tap_mode="classic" trigger_index="17" type="unknown"/>
|
||||||
|
<node data_index="23" duplicate_name_allowed="false" is_data_input="false" is_node_valid="true" is_selected="false" is_storage_input="true" is_trigger_input="false" level-0="dont_care" level-1="dont_care" level-2="dont_care" level-3="dont_care" level-4="dont_care" name="emu:emu|coco3fpga:coco3|fdc:coco_fdc|sd_ack[0]" pwr_level-0="dont_care" pwr_level-1="dont_care" pwr_level-2="dont_care" pwr_level-3="dont_care" pwr_level-4="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="33" tap_mode="classic" trigger_index="23" type="unknown"/>
|
||||||
|
<node data_index="24" duplicate_name_allowed="false" is_data_input="false" is_node_valid="true" is_selected="false" is_storage_input="true" is_trigger_input="false" level-0="dont_care" level-1="dont_care" level-2="dont_care" level-3="dont_care" level-4="dont_care" name="emu:emu|coco3fpga:coco3|fdc:coco_fdc|sd_rd[0]" pwr_level-0="dont_care" pwr_level-1="dont_care" pwr_level-2="dont_care" pwr_level-3="dont_care" pwr_level-4="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="34" tap_mode="classic" trigger_index="24" type="unknown"/>
|
||||||
|
<node data_index="25" duplicate_name_allowed="false" is_data_input="false" is_node_valid="true" is_selected="false" is_storage_input="true" is_trigger_input="false" level-0="dont_care" level-1="dont_care" level-2="dont_care" level-3="dont_care" level-4="dont_care" name="emu:emu|coco3fpga:coco3|fdc:coco_fdc|sd_wr[0]" pwr_level-0="dont_care" pwr_level-1="dont_care" pwr_level-2="dont_care" pwr_level-3="dont_care" pwr_level-4="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="35" tap_mode="classic" trigger_index="25" type="unknown"/>
|
||||||
|
<node is_selected="false" level-0="alt_or" level-1="alt_or" level-2="alt_or" level-3="alt_or" level-4="alt_or" name="emu:emu|coco3fpga:coco3|HRES[3..0]" order="msb_to_lsb" storage-0="alt_or" storage-1="alt_or" storage-2="alt_or" type="register">
|
||||||
|
<node data_index="11" duplicate_name_allowed="false" is_data_input="false" is_node_valid="true" is_selected="false" is_storage_input="true" is_trigger_input="false" level-0="dont_care" level-1="dont_care" level-2="dont_care" level-3="dont_care" level-4="dont_care" name="emu:emu|coco3fpga:coco3|HRES[3]" pwr_level-0="dont_care" pwr_level-1="dont_care" pwr_level-2="dont_care" pwr_level-3="dont_care" pwr_level-4="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="22" tap_mode="classic" trigger_index="11" type="unknown"/>
|
||||||
|
<node data_index="10" duplicate_name_allowed="false" is_data_input="false" is_node_valid="true" is_selected="false" is_storage_input="true" is_trigger_input="false" level-0="dont_care" level-1="dont_care" level-2="dont_care" level-3="dont_care" level-4="dont_care" name="emu:emu|coco3fpga:coco3|HRES[2]" pwr_level-0="dont_care" pwr_level-1="dont_care" pwr_level-2="dont_care" pwr_level-3="dont_care" pwr_level-4="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="21" tap_mode="classic" trigger_index="10" type="unknown"/>
|
||||||
|
<node data_index="9" duplicate_name_allowed="false" is_data_input="false" is_node_valid="true" is_selected="false" is_storage_input="true" is_trigger_input="false" level-0="dont_care" level-1="dont_care" level-2="dont_care" level-3="dont_care" level-4="dont_care" name="emu:emu|coco3fpga:coco3|HRES[1]" pwr_level-0="dont_care" pwr_level-1="dont_care" pwr_level-2="dont_care" pwr_level-3="dont_care" pwr_level-4="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="20" tap_mode="classic" trigger_index="9" type="unknown"/>
|
||||||
|
<node data_index="8" duplicate_name_allowed="false" is_data_input="false" is_node_valid="true" is_selected="false" is_storage_input="true" is_trigger_input="false" level-0="dont_care" level-1="dont_care" level-2="dont_care" level-3="dont_care" level-4="dont_care" name="emu:emu|coco3fpga:coco3|HRES[0]" pwr_level-0="dont_care" pwr_level-1="dont_care" pwr_level-2="dont_care" pwr_level-3="dont_care" pwr_level-4="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="19" tap_mode="classic" trigger_index="8" type="unknown"/>
|
||||||
|
</node>
|
||||||
|
<node data_index="8" duplicate_name_allowed="false" is_data_input="false" is_node_valid="true" is_selected="false" is_storage_input="true" is_trigger_input="false" name="emu:emu|coco3fpga:coco3|VGA_SYNC_N" storage_index="26" tap_mode="classic" trigger_index="8" type="unknown"/>
|
||||||
|
<node data_index="12" duplicate_name_allowed="false" is_data_input="false" is_node_valid="true" is_selected="false" is_storage_input="true" is_trigger_input="false" level-0="dont_care" name="emu:emu|coco3fpga:coco3|NMI_09" storage_index="25" tap_mode="classic" trigger_index="12" type="unknown"/>
|
||||||
|
<node data_index="0" duplicate_name_allowed="false" is_data_input="false" is_node_valid="true" is_selected="false" is_storage_input="true" is_trigger_input="false" level-0="dont_care" name="emu:emu|coco3fpga:coco3|CPU_FIRQ_N" storage_index="9" tap_mode="classic" trigger_index="0" type="unknown"/>
|
||||||
|
<node data_index="1" duplicate_name_allowed="false" is_data_input="false" is_node_valid="true" is_selected="false" is_storage_input="true" is_trigger_input="false" level-0="dont_care" name="emu:emu|coco3fpga:coco3|CPU_IRQ_N" storage_index="10" tap_mode="classic" trigger_index="1" type="unknown"/>
|
||||||
|
<node is_selected="false" level-0="alt_or" level-1="alt_or" level-2="alt_or" level-3="alt_or" level-4="alt_or" name="emu:emu|coco3fpga:coco3|MPI_SCS[1..0]" order="msb_to_lsb" type="register">
|
||||||
|
<node data_index="18" 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|MPI_SCS[1]" storage_index="24" tap_mode="classic" trigger_index="18" type="unknown"/>
|
||||||
|
<node data_index="17" 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|MPI_SCS[0]" storage_index="23" tap_mode="classic" trigger_index="17" type="unknown"/>
|
||||||
|
</node>
|
||||||
|
<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" name="emu:emu|coco3fpga:coco3|ADRS_FF_D" storage_index="0" tap_mode="classic" trigger_index="0" type="unknown"/>
|
||||||
|
<node is_selected="false" level-0="alt_or" level-1="alt_or" level-2="alt_or" level-3="alt_or" level-4="alt_or" name="emu:emu|coco3fpga:coco3|COCO_ROM_8K:CC3_DISK_ROM|ADDR[7..7]" order="msb_to_lsb" state="collapse" 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|COCO_ROM_8K:CC3_DISK_ROM|ADDR[7]" 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|COCO_ROM_8K:CC3_DISK_ROM|ADDR[6]" storage_index="7" tap_mode="classic" trigger_index="7" 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|COCO_ROM_8K:CC3_DISK_ROM|ADDR[5]" storage_index="6" tap_mode="classic" trigger_index="6" 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" name="emu:emu|coco3fpga:coco3|COCO_ROM_8K:CC3_DISK_ROM|ADDR[4]" storage_index="5" tap_mode="classic" trigger_index="5" type="unknown"/>
|
||||||
|
<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" name="emu:emu|coco3fpga:coco3|COCO_ROM_8K:CC3_DISK_ROM|ADDR[3]" storage_index="4" tap_mode="classic" trigger_index="4" type="unknown"/>
|
||||||
|
<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|COCO_ROM_8K:CC3_DISK_ROM|ADDR[2]" storage_index="3" tap_mode="classic" trigger_index="3" 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" name="emu:emu|coco3fpga:coco3|COCO_ROM_8K:CC3_DISK_ROM|ADDR[1]" storage_index="2" tap_mode="classic" trigger_index="2" 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" name="emu:emu|coco3fpga:coco3|COCO_ROM_8K:CC3_DISK_ROM|ADDR[0]" storage_index="1" tap_mode="classic" trigger_index="1" type="unknown"/>
|
||||||
|
</node>
|
||||||
|
<node data_index="23" 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|mc6809x:GLBCPU09|RnW" storage_index="36" tap_mode="classic" trigger_index="23" type="unknown"/>
|
||||||
|
<node data_index="24" 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|sdc_top:coco_sdc_top|ext_response" storage_index="37" tap_mode="classic" trigger_index="24" type="unknown"/>
|
||||||
|
</unified_setup_data_view>
|
||||||
|
<data_view>
|
||||||
|
<net data_index="33" 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" level-1="dont_care" level-2="dont_care" level-3="dont_care" level-4="dont_care" name="emu:emu|coco3fpga:coco3|sdc_top:coco_sdc_top|sdc:coco_sdc|SDC_RD" pwr_level-0="dont_care" pwr_level-1="dont_care" pwr_level-2="dont_care" pwr_level-3="dont_care" pwr_level-4="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="48" tap_mode="classic" trigger_index="33" type="unknown"/>
|
||||||
|
<net data_index="34" 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" level-1="dont_care" level-2="dont_care" level-3="dont_care" level-4="dont_care" name="emu:emu|coco3fpga:coco3|sdc_top:coco_sdc_top|sdc:coco_sdc|SDC_WR" pwr_level-0="dont_care" pwr_level-1="dont_care" pwr_level-2="dont_care" pwr_level-3="dont_care" pwr_level-4="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="49" tap_mode="classic" trigger_index="34" type="unknown"/>
|
||||||
|
<bus is_selected="false" level-0="alt_or" level-1="alt_or" level-2="alt_or" level-3="alt_or" level-4="alt_or" name="emu:emu|coco3fpga:coco3|sdc_top:coco_sdc_top|sdc:coco_sdc|SDC_DATA_IN[7..0]" order="msb_to_lsb" radix="hex" state="collapse" storage-0="alt_or" storage-1="alt_or" storage-2="alt_or" type="combinatorial">
|
||||||
|
<net data_index="32" 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" level-1="dont_care" level-2="dont_care" level-3="dont_care" level-4="dont_care" name="emu:emu|coco3fpga:coco3|sdc_top:coco_sdc_top|sdc:coco_sdc|SDC_DATA_IN[7]" pwr_level-0="dont_care" pwr_level-1="dont_care" pwr_level-2="dont_care" pwr_level-3="dont_care" pwr_level-4="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="47" tap_mode="classic" trigger_index="32" type="unknown"/>
|
||||||
|
<net data_index="31" 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" level-1="dont_care" level-2="dont_care" level-3="dont_care" level-4="dont_care" name="emu:emu|coco3fpga:coco3|sdc_top:coco_sdc_top|sdc:coco_sdc|SDC_DATA_IN[6]" pwr_level-0="dont_care" pwr_level-1="dont_care" pwr_level-2="dont_care" pwr_level-3="dont_care" pwr_level-4="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="46" tap_mode="classic" trigger_index="31" type="unknown"/>
|
||||||
|
<net data_index="30" 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" level-1="dont_care" level-2="dont_care" level-3="dont_care" level-4="dont_care" name="emu:emu|coco3fpga:coco3|sdc_top:coco_sdc_top|sdc:coco_sdc|SDC_DATA_IN[5]" pwr_level-0="dont_care" pwr_level-1="dont_care" pwr_level-2="dont_care" pwr_level-3="dont_care" pwr_level-4="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="45" tap_mode="classic" trigger_index="30" type="unknown"/>
|
||||||
|
<net data_index="29" 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" level-1="dont_care" level-2="dont_care" level-3="dont_care" level-4="dont_care" name="emu:emu|coco3fpga:coco3|sdc_top:coco_sdc_top|sdc:coco_sdc|SDC_DATA_IN[4]" pwr_level-0="dont_care" pwr_level-1="dont_care" pwr_level-2="dont_care" pwr_level-3="dont_care" pwr_level-4="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="44" tap_mode="classic" trigger_index="29" type="unknown"/>
|
||||||
|
<net data_index="28" 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" level-1="dont_care" level-2="dont_care" level-3="dont_care" level-4="dont_care" name="emu:emu|coco3fpga:coco3|sdc_top:coco_sdc_top|sdc:coco_sdc|SDC_DATA_IN[3]" pwr_level-0="dont_care" pwr_level-1="dont_care" pwr_level-2="dont_care" pwr_level-3="dont_care" pwr_level-4="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="43" tap_mode="classic" trigger_index="28" type="unknown"/>
|
||||||
|
<net data_index="27" 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" level-1="dont_care" level-2="dont_care" level-3="dont_care" level-4="dont_care" name="emu:emu|coco3fpga:coco3|sdc_top:coco_sdc_top|sdc:coco_sdc|SDC_DATA_IN[2]" pwr_level-0="dont_care" pwr_level-1="dont_care" pwr_level-2="dont_care" pwr_level-3="dont_care" pwr_level-4="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="42" tap_mode="classic" trigger_index="27" type="unknown"/>
|
||||||
|
<net data_index="26" 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" level-1="dont_care" level-2="dont_care" level-3="dont_care" level-4="dont_care" name="emu:emu|coco3fpga:coco3|sdc_top:coco_sdc_top|sdc:coco_sdc|SDC_DATA_IN[1]" pwr_level-0="dont_care" pwr_level-1="dont_care" pwr_level-2="dont_care" pwr_level-3="dont_care" pwr_level-4="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="41" tap_mode="classic" trigger_index="26" type="unknown"/>
|
||||||
|
<net data_index="25" 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" level-1="dont_care" level-2="dont_care" level-3="dont_care" level-4="dont_care" name="emu:emu|coco3fpga:coco3|sdc_top:coco_sdc_top|sdc:coco_sdc|SDC_DATA_IN[0]" pwr_level-0="dont_care" pwr_level-1="dont_care" pwr_level-2="dont_care" pwr_level-3="dont_care" pwr_level-4="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="40" tap_mode="classic" trigger_index="25" type="unknown"/>
|
||||||
|
</bus>
|
||||||
|
<bus is_selected="false" level-0="alt_or" level-1="alt_or" level-2="alt_or" level-3="alt_or" level-4="alt_or" name="emu:emu|coco3fpga:coco3|DATA_IN[7..0]" order="msb_to_lsb" storage-0="alt_or" storage-1="alt_or" storage-2="alt_or" type="combinatorial">
|
||||||
|
<net data_index="16" 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" level-1="dont_care" level-2="dont_care" level-3="dont_care" level-4="dont_care" name="emu:emu|coco3fpga:coco3|DATA_IN[7]" pwr_level-0="dont_care" pwr_level-1="dont_care" pwr_level-2="dont_care" pwr_level-3="dont_care" pwr_level-4="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="18" tap_mode="classic" trigger_index="16" type="unknown"/>
|
||||||
|
<net data_index="15" 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" level-1="dont_care" level-2="dont_care" level-3="dont_care" level-4="dont_care" name="emu:emu|coco3fpga:coco3|DATA_IN[6]" pwr_level-0="dont_care" pwr_level-1="dont_care" pwr_level-2="dont_care" pwr_level-3="dont_care" pwr_level-4="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="17" tap_mode="classic" trigger_index="15" type="unknown"/>
|
||||||
|
<net data_index="14" 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" level-1="dont_care" level-2="dont_care" level-3="dont_care" level-4="dont_care" name="emu:emu|coco3fpga:coco3|DATA_IN[5]" pwr_level-0="dont_care" pwr_level-1="dont_care" pwr_level-2="dont_care" pwr_level-3="dont_care" pwr_level-4="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="16" tap_mode="classic" trigger_index="14" type="unknown"/>
|
||||||
|
<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" level-0="dont_care" level-1="dont_care" level-2="dont_care" level-3="dont_care" level-4="dont_care" name="emu:emu|coco3fpga:coco3|DATA_IN[4]" pwr_level-0="dont_care" pwr_level-1="dont_care" pwr_level-2="dont_care" pwr_level-3="dont_care" pwr_level-4="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="15" 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" level-0="dont_care" level-1="dont_care" level-2="dont_care" level-3="dont_care" level-4="dont_care" name="emu:emu|coco3fpga:coco3|DATA_IN[3]" pwr_level-0="dont_care" pwr_level-1="dont_care" pwr_level-2="dont_care" pwr_level-3="dont_care" pwr_level-4="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="14" 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" level-0="dont_care" level-1="dont_care" level-2="dont_care" level-3="dont_care" level-4="dont_care" name="emu:emu|coco3fpga:coco3|DATA_IN[2]" pwr_level-0="dont_care" pwr_level-1="dont_care" pwr_level-2="dont_care" pwr_level-3="dont_care" pwr_level-4="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="13" tap_mode="classic" trigger_index="11" 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" level-1="dont_care" level-2="dont_care" level-3="dont_care" level-4="dont_care" name="emu:emu|coco3fpga:coco3|DATA_IN[1]" pwr_level-0="dont_care" pwr_level-1="dont_care" pwr_level-2="dont_care" pwr_level-3="dont_care" pwr_level-4="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="12" tap_mode="classic" trigger_index="10" type="unknown"/>
|
||||||
|
<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" level-0="dont_care" level-1="dont_care" level-2="dont_care" level-3="dont_care" level-4="dont_care" name="emu:emu|coco3fpga:coco3|DATA_IN[0]" pwr_level-0="dont_care" pwr_level-1="dont_care" pwr_level-2="dont_care" pwr_level-3="dont_care" pwr_level-4="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="11" tap_mode="classic" trigger_index="9" type="unknown"/>
|
||||||
|
</bus>
|
||||||
|
<net data_index="19" 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" level-1="dont_care" level-2="dont_care" level-3="dont_care" level-4="dont_care" name="emu:emu|coco3fpga:coco3|fdc:coco_fdc|FF40_ENA" pwr_level-0="dont_care" pwr_level-1="dont_care" pwr_level-2="dont_care" pwr_level-3="dont_care" pwr_level-4="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="27" tap_mode="classic" trigger_index="19" type="unknown"/>
|
||||||
|
<net data_index="20" 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" level-1="dont_care" level-2="dont_care" level-3="dont_care" level-4="dont_care" name="emu:emu|coco3fpga:coco3|fdc:coco_fdc|RD_E" pwr_level-0="dont_care" pwr_level-1="dont_care" pwr_level-2="dont_care" pwr_level-3="dont_care" pwr_level-4="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="29" tap_mode="classic" trigger_index="20" type="unknown"/>
|
||||||
|
<net data_index="21" 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" level-1="dont_care" level-2="dont_care" level-3="dont_care" level-4="dont_care" name="emu:emu|coco3fpga:coco3|fdc:coco_fdc|WD1793_RD_CTRL" pwr_level-0="dont_care" pwr_level-1="dont_care" pwr_level-2="dont_care" pwr_level-3="dont_care" pwr_level-4="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="30" tap_mode="classic" trigger_index="21" type="unknown"/>
|
||||||
|
<net data_index="22" 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" level-1="dont_care" level-2="dont_care" level-3="dont_care" level-4="dont_care" name="emu:emu|coco3fpga:coco3|fdc:coco_fdc|WD1793_WR_CTRL" pwr_level-0="dont_care" pwr_level-1="dont_care" pwr_level-2="dont_care" pwr_level-3="dont_care" pwr_level-4="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="31" tap_mode="classic" trigger_index="22" type="unknown"/>
|
||||||
|
<bus is_selected="false" level-0="alt_or" level-1="alt_or" level-2="alt_or" level-3="alt_or" level-4="alt_or" name="emu:emu|coco3fpga:coco3|MPI_SCS[1..0]" order="msb_to_lsb" type="register">
|
||||||
|
<net data_index="18" 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|MPI_SCS[1]" storage_index="24" tap_mode="classic" trigger_index="18" type="unknown"/>
|
||||||
|
<net data_index="17" 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|MPI_SCS[0]" storage_index="23" tap_mode="classic" trigger_index="17" type="unknown"/>
|
||||||
|
</bus>
|
||||||
|
<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" name="emu:emu|coco3fpga:coco3|ADRS_FF_D" storage_index="0" tap_mode="classic" trigger_index="0" type="unknown"/>
|
||||||
|
<bus is_selected="false" level-0="alt_or" level-1="alt_or" level-2="alt_or" level-3="alt_or" level-4="alt_or" name="emu:emu|coco3fpga:coco3|COCO_ROM_8K:CC3_DISK_ROM|ADDR[7..7]" order="msb_to_lsb" state="collapse" 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|COCO_ROM_8K:CC3_DISK_ROM|ADDR[7]" 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|COCO_ROM_8K:CC3_DISK_ROM|ADDR[6]" storage_index="7" tap_mode="classic" trigger_index="7" 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|COCO_ROM_8K:CC3_DISK_ROM|ADDR[5]" storage_index="6" tap_mode="classic" trigger_index="6" 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" name="emu:emu|coco3fpga:coco3|COCO_ROM_8K:CC3_DISK_ROM|ADDR[4]" storage_index="5" tap_mode="classic" trigger_index="5" type="unknown"/>
|
||||||
|
<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" name="emu:emu|coco3fpga:coco3|COCO_ROM_8K:CC3_DISK_ROM|ADDR[3]" storage_index="4" tap_mode="classic" trigger_index="4" type="unknown"/>
|
||||||
|
<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|COCO_ROM_8K:CC3_DISK_ROM|ADDR[2]" storage_index="3" tap_mode="classic" trigger_index="3" 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" name="emu:emu|coco3fpga:coco3|COCO_ROM_8K:CC3_DISK_ROM|ADDR[1]" storage_index="2" tap_mode="classic" trigger_index="2" 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" name="emu:emu|coco3fpga:coco3|COCO_ROM_8K:CC3_DISK_ROM|ADDR[0]" storage_index="1" tap_mode="classic" trigger_index="1" type="unknown"/>
|
||||||
|
</bus>
|
||||||
|
<net data_index="23" 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|mc6809x:GLBCPU09|RnW" storage_index="36" tap_mode="classic" trigger_index="23" type="unknown"/>
|
||||||
|
<net data_index="24" 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|sdc_top:coco_sdc_top|ext_response" storage_index="37" tap_mode="classic" trigger_index="24" type="unknown"/>
|
||||||
|
</data_view>
|
||||||
|
<setup_view>
|
||||||
|
<net data_index="29" duplicate_name_allowed="false" is_data_input="false" is_node_valid="true" is_selected="false" is_storage_input="true" is_trigger_input="false" level-0="dont_care" level-1="dont_care" level-2="dont_care" level-3="dont_care" level-4="dont_care" name="emu:emu|coco3fpga:coco3|sdc_top:coco_sdc_top|sdc:coco_sdc|data_inc" pwr_level-0="dont_care" pwr_level-1="dont_care" pwr_level-2="dont_care" pwr_level-3="dont_care" pwr_level-4="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="54" tap_mode="classic" trigger_index="29" type="unknown"/>
|
||||||
|
<net data_index="34" duplicate_name_allowed="false" is_data_input="false" is_node_valid="true" is_selected="false" is_storage_input="true" is_trigger_input="false" level-0="dont_care" level-1="dont_care" level-2="dont_care" level-3="dont_care" level-4="dont_care" name="emu:emu|coco3fpga:coco3|sdc_top:coco_sdc_top|sdc:coco_sdc|transfer_address[0]" pwr_level-0="dont_care" pwr_level-1="dont_care" pwr_level-2="dont_care" pwr_level-3="dont_care" pwr_level-4="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="59" tap_mode="classic" trigger_index="34" type="unknown"/>
|
||||||
|
<net data_index="35" duplicate_name_allowed="false" is_data_input="false" is_node_valid="true" is_selected="false" is_storage_input="true" is_trigger_input="false" level-0="dont_care" level-1="dont_care" level-2="dont_care" level-3="dont_care" level-4="dont_care" name="emu:emu|coco3fpga:coco3|sdc_top:coco_sdc_top|sdc:coco_sdc|transfer_address[7]" pwr_level-0="dont_care" pwr_level-1="dont_care" pwr_level-2="dont_care" pwr_level-3="dont_care" pwr_level-4="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="60" tap_mode="classic" trigger_index="35" type="unknown"/>
|
||||||
|
<net data_index="32" duplicate_name_allowed="false" is_data_input="false" is_node_valid="true" is_selected="false" is_storage_input="true" is_trigger_input="false" level-0="dont_care" level-1="dont_care" level-2="dont_care" level-3="dont_care" level-4="dont_care" name="emu:emu|coco3fpga:coco3|sdc_top:coco_sdc_top|sdc:coco_sdc|wr_cmd" pwr_level-0="dont_care" pwr_level-1="dont_care" pwr_level-2="dont_care" pwr_level-3="dont_care" pwr_level-4="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="61" tap_mode="classic" trigger_index="32" type="unknown"/>
|
||||||
|
<bus is_selected="false" level-0="alt_or" level-1="alt_or" level-2="alt_or" level-3="alt_or" level-4="alt_or" name="emu:emu|coco3fpga:coco3|sdc_top:coco_sdc_top|sd_rd[1..0]" order="msb_to_lsb" state="expand" storage-0="alt_or" storage-1="alt_or" storage-2="alt_or" type="combinatorial">
|
||||||
|
<net data_index="8" duplicate_name_allowed="false" is_data_input="false" is_node_valid="true" is_selected="false" is_storage_input="true" is_trigger_input="false" level-0="dont_care" level-1="dont_care" level-2="dont_care" level-3="dont_care" level-4="dont_care" name="emu:emu|coco3fpga:coco3|sdc_top:coco_sdc_top|sd_rd[0]" pwr_level-0="dont_care" pwr_level-1="dont_care" pwr_level-2="dont_care" pwr_level-3="dont_care" pwr_level-4="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="38" tap_mode="classic" trigger_index="8" type="unknown"/>
|
||||||
|
</bus>
|
||||||
|
<bus is_selected="false" level-0="alt_or" level-1="alt_or" level-2="alt_or" level-3="alt_or" level-4="alt_or" name="emu:emu|coco3fpga:coco3|sdc_top:coco_sdc_top|sd_wr[1..0]" order="msb_to_lsb" state="expand" storage-0="alt_or" storage-1="alt_or" storage-2="alt_or" type="combinatorial">
|
||||||
|
<net data_index="9" duplicate_name_allowed="false" is_data_input="false" is_node_valid="true" is_selected="false" is_storage_input="true" is_trigger_input="false" level-0="rising edge" level-1="dont_care" level-2="dont_care" level-3="dont_care" level-4="dont_care" name="emu:emu|coco3fpga:coco3|sdc_top:coco_sdc_top|sd_wr[0]" pwr_level-0="dont_care" pwr_level-1="dont_care" pwr_level-2="dont_care" pwr_level-3="dont_care" pwr_level-4="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="39" tap_mode="classic" trigger_index="9" type="unknown"/>
|
||||||
|
</bus>
|
||||||
|
<net data_index="33" 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" level-1="dont_care" level-2="dont_care" level-3="dont_care" level-4="dont_care" name="emu:emu|coco3fpga:coco3|sdc_top:coco_sdc_top|sdc:coco_sdc|SDC_RD" pwr_level-0="dont_care" pwr_level-1="dont_care" pwr_level-2="dont_care" pwr_level-3="dont_care" pwr_level-4="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="48" tap_mode="classic" trigger_index="33" type="unknown"/>
|
||||||
|
<net data_index="34" 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" level-1="dont_care" level-2="dont_care" level-3="dont_care" level-4="dont_care" name="emu:emu|coco3fpga:coco3|sdc_top:coco_sdc_top|sdc:coco_sdc|SDC_WR" pwr_level-0="dont_care" pwr_level-1="dont_care" pwr_level-2="dont_care" pwr_level-3="dont_care" pwr_level-4="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="49" tap_mode="classic" trigger_index="34" type="unknown"/>
|
||||||
|
<net data_index="31" duplicate_name_allowed="false" is_data_input="false" is_node_valid="true" is_selected="false" is_storage_input="true" is_trigger_input="false" level-0="dont_care" level-1="dont_care" level-2="dont_care" level-3="dont_care" level-4="dont_care" name="emu:emu|coco3fpga:coco3|sdc_top:coco_sdc_top|sdc:coco_sdc|sd_buff_wr" pwr_level-0="dont_care" pwr_level-1="dont_care" pwr_level-2="dont_care" pwr_level-3="dont_care" pwr_level-4="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="58" tap_mode="classic" trigger_index="31" type="unknown"/>
|
||||||
|
<net data_index="27" duplicate_name_allowed="false" is_data_input="false" is_node_valid="true" is_selected="false" is_storage_input="true" is_trigger_input="false" level-0="dont_care" level-1="dont_care" level-2="dont_care" level-3="dont_care" level-4="dont_care" name="emu:emu|coco3fpga:coco3|sdc_top:coco_sdc_top|sdc:coco_sdc|command[7]" pwr_level-0="dont_care" pwr_level-1="dont_care" pwr_level-2="dont_care" pwr_level-3="dont_care" pwr_level-4="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="53" tap_mode="classic" trigger_index="27" type="unknown"/>
|
||||||
|
<net data_index="26" duplicate_name_allowed="false" is_data_input="false" is_node_valid="true" is_selected="false" is_storage_input="true" is_trigger_input="false" level-0="dont_care" level-1="dont_care" level-2="dont_care" level-3="dont_care" level-4="dont_care" name="emu:emu|coco3fpga:coco3|sdc_top:coco_sdc_top|sdc:coco_sdc|command[6]" pwr_level-0="dont_care" pwr_level-1="dont_care" pwr_level-2="dont_care" pwr_level-3="dont_care" pwr_level-4="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="52" tap_mode="classic" trigger_index="26" type="unknown"/>
|
||||||
|
<net data_index="25" duplicate_name_allowed="false" is_data_input="false" is_node_valid="true" is_selected="false" is_storage_input="true" is_trigger_input="false" level-0="dont_care" level-1="dont_care" level-2="dont_care" level-3="dont_care" level-4="dont_care" name="emu:emu|coco3fpga:coco3|sdc_top:coco_sdc_top|sdc:coco_sdc|command[5]" pwr_level-0="dont_care" pwr_level-1="dont_care" pwr_level-2="dont_care" pwr_level-3="dont_care" pwr_level-4="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="51" tap_mode="classic" trigger_index="25" type="unknown"/>
|
||||||
|
<net data_index="24" duplicate_name_allowed="false" is_data_input="false" is_node_valid="true" is_selected="false" is_storage_input="true" is_trigger_input="false" level-0="dont_care" level-1="dont_care" level-2="dont_care" level-3="dont_care" level-4="dont_care" name="emu:emu|coco3fpga:coco3|sdc_top:coco_sdc_top|sdc:coco_sdc|command[4]" pwr_level-0="dont_care" pwr_level-1="dont_care" pwr_level-2="dont_care" pwr_level-3="dont_care" pwr_level-4="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="50" tap_mode="classic" trigger_index="24" type="unknown"/>
|
||||||
|
<net data_index="33" duplicate_name_allowed="false" is_data_input="false" is_node_valid="true" is_selected="false" is_storage_input="true" is_trigger_input="false" level-0="dont_care" level-1="dont_care" level-2="dont_care" level-3="dont_care" level-4="dont_care" name="emu:emu|coco3fpga:coco3|sdc_top:coco_sdc_top|sdc:coco_sdc|sd_buff_addr[0]" pwr_level-0="dont_care" pwr_level-1="dont_care" pwr_level-2="dont_care" pwr_level-3="dont_care" pwr_level-4="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="56" tap_mode="classic" trigger_index="33" type="unknown"/>
|
||||||
|
<net data_index="34" duplicate_name_allowed="false" is_data_input="false" is_node_valid="true" is_selected="false" is_storage_input="true" is_trigger_input="false" level-0="dont_care" level-1="dont_care" level-2="dont_care" level-3="dont_care" level-4="dont_care" name="emu:emu|coco3fpga:coco3|sdc_top:coco_sdc_top|sdc:coco_sdc|sd_buff_addr[8]" pwr_level-0="dont_care" pwr_level-1="dont_care" pwr_level-2="dont_care" pwr_level-3="dont_care" pwr_level-4="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="57" tap_mode="classic" trigger_index="34" type="unknown"/>
|
||||||
|
<net data_index="28" duplicate_name_allowed="false" is_data_input="false" is_node_valid="true" is_selected="false" is_storage_input="true" is_trigger_input="false" level-0="dont_care" level-1="dont_care" level-2="dont_care" level-3="dont_care" level-4="dont_care" name="emu:emu|coco3fpga:coco3|sdc_top:coco_sdc_top|sdc:coco_sdc|sd_ack[0]" pwr_level-0="dont_care" pwr_level-1="dont_care" pwr_level-2="dont_care" pwr_level-3="dont_care" pwr_level-4="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="55" tap_mode="classic" trigger_index="28" type="unknown"/>
|
||||||
|
<bus is_selected="false" level-0="alt_or" level-1="alt_or" level-2="alt_or" level-3="alt_or" level-4="alt_or" name="emu:emu|coco3fpga:coco3|sdc_top:coco_sdc_top|sdc:coco_sdc|SDC_DATA_IN[7..0]" order="msb_to_lsb" radix="hex" state="collapse" storage-0="alt_or" storage-1="alt_or" storage-2="alt_or" type="combinatorial">
|
||||||
|
<net data_index="32" 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" level-1="dont_care" level-2="dont_care" level-3="dont_care" level-4="dont_care" name="emu:emu|coco3fpga:coco3|sdc_top:coco_sdc_top|sdc:coco_sdc|SDC_DATA_IN[7]" pwr_level-0="dont_care" pwr_level-1="dont_care" pwr_level-2="dont_care" pwr_level-3="dont_care" pwr_level-4="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="47" tap_mode="classic" trigger_index="32" type="unknown"/>
|
||||||
|
<net data_index="31" 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" level-1="dont_care" level-2="dont_care" level-3="dont_care" level-4="dont_care" name="emu:emu|coco3fpga:coco3|sdc_top:coco_sdc_top|sdc:coco_sdc|SDC_DATA_IN[6]" pwr_level-0="dont_care" pwr_level-1="dont_care" pwr_level-2="dont_care" pwr_level-3="dont_care" pwr_level-4="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="46" tap_mode="classic" trigger_index="31" type="unknown"/>
|
||||||
|
<net data_index="30" 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" level-1="dont_care" level-2="dont_care" level-3="dont_care" level-4="dont_care" name="emu:emu|coco3fpga:coco3|sdc_top:coco_sdc_top|sdc:coco_sdc|SDC_DATA_IN[5]" pwr_level-0="dont_care" pwr_level-1="dont_care" pwr_level-2="dont_care" pwr_level-3="dont_care" pwr_level-4="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="45" tap_mode="classic" trigger_index="30" type="unknown"/>
|
||||||
|
<net data_index="29" 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" level-1="dont_care" level-2="dont_care" level-3="dont_care" level-4="dont_care" name="emu:emu|coco3fpga:coco3|sdc_top:coco_sdc_top|sdc:coco_sdc|SDC_DATA_IN[4]" pwr_level-0="dont_care" pwr_level-1="dont_care" pwr_level-2="dont_care" pwr_level-3="dont_care" pwr_level-4="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="44" tap_mode="classic" trigger_index="29" type="unknown"/>
|
||||||
|
<net data_index="28" 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" level-1="dont_care" level-2="dont_care" level-3="dont_care" level-4="dont_care" name="emu:emu|coco3fpga:coco3|sdc_top:coco_sdc_top|sdc:coco_sdc|SDC_DATA_IN[3]" pwr_level-0="dont_care" pwr_level-1="dont_care" pwr_level-2="dont_care" pwr_level-3="dont_care" pwr_level-4="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="43" tap_mode="classic" trigger_index="28" type="unknown"/>
|
||||||
|
<net data_index="27" 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" level-1="dont_care" level-2="dont_care" level-3="dont_care" level-4="dont_care" name="emu:emu|coco3fpga:coco3|sdc_top:coco_sdc_top|sdc:coco_sdc|SDC_DATA_IN[2]" pwr_level-0="dont_care" pwr_level-1="dont_care" pwr_level-2="dont_care" pwr_level-3="dont_care" pwr_level-4="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="42" tap_mode="classic" trigger_index="27" type="unknown"/>
|
||||||
|
<net data_index="26" 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" level-1="dont_care" level-2="dont_care" level-3="dont_care" level-4="dont_care" name="emu:emu|coco3fpga:coco3|sdc_top:coco_sdc_top|sdc:coco_sdc|SDC_DATA_IN[1]" pwr_level-0="dont_care" pwr_level-1="dont_care" pwr_level-2="dont_care" pwr_level-3="dont_care" pwr_level-4="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="41" tap_mode="classic" trigger_index="26" type="unknown"/>
|
||||||
|
<net data_index="25" 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" level-1="dont_care" level-2="dont_care" level-3="dont_care" level-4="dont_care" name="emu:emu|coco3fpga:coco3|sdc_top:coco_sdc_top|sdc:coco_sdc|SDC_DATA_IN[0]" pwr_level-0="dont_care" pwr_level-1="dont_care" pwr_level-2="dont_care" pwr_level-3="dont_care" pwr_level-4="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="40" tap_mode="classic" trigger_index="25" type="unknown"/>
|
||||||
|
</bus>
|
||||||
|
<bus is_selected="false" level-0="alt_or" level-1="alt_or" level-2="alt_or" level-3="alt_or" level-4="alt_or" name="emu:emu|coco3fpga:coco3|DATA_IN[7..0]" order="msb_to_lsb" storage-0="alt_or" storage-1="alt_or" storage-2="alt_or" type="combinatorial">
|
||||||
|
<net data_index="16" 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" level-1="dont_care" level-2="dont_care" level-3="dont_care" level-4="dont_care" name="emu:emu|coco3fpga:coco3|DATA_IN[7]" pwr_level-0="dont_care" pwr_level-1="dont_care" pwr_level-2="dont_care" pwr_level-3="dont_care" pwr_level-4="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="18" tap_mode="classic" trigger_index="16" type="unknown"/>
|
||||||
|
<net data_index="15" 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" level-1="dont_care" level-2="dont_care" level-3="dont_care" level-4="dont_care" name="emu:emu|coco3fpga:coco3|DATA_IN[6]" pwr_level-0="dont_care" pwr_level-1="dont_care" pwr_level-2="dont_care" pwr_level-3="dont_care" pwr_level-4="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="17" tap_mode="classic" trigger_index="15" type="unknown"/>
|
||||||
|
<net data_index="14" 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" level-1="dont_care" level-2="dont_care" level-3="dont_care" level-4="dont_care" name="emu:emu|coco3fpga:coco3|DATA_IN[5]" pwr_level-0="dont_care" pwr_level-1="dont_care" pwr_level-2="dont_care" pwr_level-3="dont_care" pwr_level-4="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="16" tap_mode="classic" trigger_index="14" type="unknown"/>
|
||||||
|
<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" level-0="dont_care" level-1="dont_care" level-2="dont_care" level-3="dont_care" level-4="dont_care" name="emu:emu|coco3fpga:coco3|DATA_IN[4]" pwr_level-0="dont_care" pwr_level-1="dont_care" pwr_level-2="dont_care" pwr_level-3="dont_care" pwr_level-4="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="15" 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" level-0="dont_care" level-1="dont_care" level-2="dont_care" level-3="dont_care" level-4="dont_care" name="emu:emu|coco3fpga:coco3|DATA_IN[3]" pwr_level-0="dont_care" pwr_level-1="dont_care" pwr_level-2="dont_care" pwr_level-3="dont_care" pwr_level-4="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="14" 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" level-0="dont_care" level-1="dont_care" level-2="dont_care" level-3="dont_care" level-4="dont_care" name="emu:emu|coco3fpga:coco3|DATA_IN[2]" pwr_level-0="dont_care" pwr_level-1="dont_care" pwr_level-2="dont_care" pwr_level-3="dont_care" pwr_level-4="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="13" tap_mode="classic" trigger_index="11" 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" level-1="dont_care" level-2="dont_care" level-3="dont_care" level-4="dont_care" name="emu:emu|coco3fpga:coco3|DATA_IN[1]" pwr_level-0="dont_care" pwr_level-1="dont_care" pwr_level-2="dont_care" pwr_level-3="dont_care" pwr_level-4="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="12" tap_mode="classic" trigger_index="10" type="unknown"/>
|
||||||
|
<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" level-0="dont_care" level-1="dont_care" level-2="dont_care" level-3="dont_care" level-4="dont_care" name="emu:emu|coco3fpga:coco3|DATA_IN[0]" pwr_level-0="dont_care" pwr_level-1="dont_care" pwr_level-2="dont_care" pwr_level-3="dont_care" pwr_level-4="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="11" tap_mode="classic" trigger_index="9" type="unknown"/>
|
||||||
|
</bus>
|
||||||
|
<net data_index="19" 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" level-1="dont_care" level-2="dont_care" level-3="dont_care" level-4="dont_care" name="emu:emu|coco3fpga:coco3|fdc:coco_fdc|FF40_ENA" pwr_level-0="dont_care" pwr_level-1="dont_care" pwr_level-2="dont_care" pwr_level-3="dont_care" pwr_level-4="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="27" tap_mode="classic" trigger_index="19" type="unknown"/>
|
||||||
|
<net data_index="13" duplicate_name_allowed="false" is_data_input="false" is_node_valid="true" is_selected="false" is_storage_input="true" is_trigger_input="false" level-0="dont_care" level-1="dont_care" level-2="dont_care" level-3="dont_care" level-4="dont_care" name="emu:emu|coco3fpga:coco3|fdc:coco_fdc|RD" pwr_level-0="dont_care" pwr_level-1="dont_care" pwr_level-2="dont_care" pwr_level-3="dont_care" pwr_level-4="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="28" tap_mode="classic" trigger_index="13" type="unknown"/>
|
||||||
|
<net data_index="20" 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" level-1="dont_care" level-2="dont_care" level-3="dont_care" level-4="dont_care" name="emu:emu|coco3fpga:coco3|fdc:coco_fdc|RD_E" pwr_level-0="dont_care" pwr_level-1="dont_care" pwr_level-2="dont_care" pwr_level-3="dont_care" pwr_level-4="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="29" tap_mode="classic" trigger_index="20" type="unknown"/>
|
||||||
|
<net data_index="21" 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" level-1="dont_care" level-2="dont_care" level-3="dont_care" level-4="dont_care" name="emu:emu|coco3fpga:coco3|fdc:coco_fdc|WD1793_RD_CTRL" pwr_level-0="dont_care" pwr_level-1="dont_care" pwr_level-2="dont_care" pwr_level-3="dont_care" pwr_level-4="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="30" tap_mode="classic" trigger_index="21" type="unknown"/>
|
||||||
|
<net data_index="22" 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" level-1="dont_care" level-2="dont_care" level-3="dont_care" level-4="dont_care" name="emu:emu|coco3fpga:coco3|fdc:coco_fdc|WD1793_WR_CTRL" pwr_level-0="dont_care" pwr_level-1="dont_care" pwr_level-2="dont_care" pwr_level-3="dont_care" pwr_level-4="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="31" tap_mode="classic" trigger_index="22" type="unknown"/>
|
||||||
|
<net data_index="17" duplicate_name_allowed="false" is_data_input="false" is_node_valid="true" is_selected="false" is_storage_input="true" is_trigger_input="false" level-0="dont_care" level-1="dont_care" level-2="dont_care" level-3="dont_care" level-4="dont_care" name="emu:emu|coco3fpga:coco3|fdc:coco_fdc|WR" pwr_level-0="dont_care" pwr_level-1="dont_care" pwr_level-2="dont_care" pwr_level-3="dont_care" pwr_level-4="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="32" tap_mode="classic" trigger_index="17" type="unknown"/>
|
||||||
|
<net data_index="23" duplicate_name_allowed="false" is_data_input="false" is_node_valid="true" is_selected="false" is_storage_input="true" is_trigger_input="false" level-0="dont_care" level-1="dont_care" level-2="dont_care" level-3="dont_care" level-4="dont_care" name="emu:emu|coco3fpga:coco3|fdc:coco_fdc|sd_ack[0]" pwr_level-0="dont_care" pwr_level-1="dont_care" pwr_level-2="dont_care" pwr_level-3="dont_care" pwr_level-4="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="33" tap_mode="classic" trigger_index="23" type="unknown"/>
|
||||||
|
<net data_index="24" duplicate_name_allowed="false" is_data_input="false" is_node_valid="true" is_selected="false" is_storage_input="true" is_trigger_input="false" level-0="dont_care" level-1="dont_care" level-2="dont_care" level-3="dont_care" level-4="dont_care" name="emu:emu|coco3fpga:coco3|fdc:coco_fdc|sd_rd[0]" pwr_level-0="dont_care" pwr_level-1="dont_care" pwr_level-2="dont_care" pwr_level-3="dont_care" pwr_level-4="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="34" tap_mode="classic" trigger_index="24" type="unknown"/>
|
||||||
|
<net data_index="25" duplicate_name_allowed="false" is_data_input="false" is_node_valid="true" is_selected="false" is_storage_input="true" is_trigger_input="false" level-0="dont_care" level-1="dont_care" level-2="dont_care" level-3="dont_care" level-4="dont_care" name="emu:emu|coco3fpga:coco3|fdc:coco_fdc|sd_wr[0]" pwr_level-0="dont_care" pwr_level-1="dont_care" pwr_level-2="dont_care" pwr_level-3="dont_care" pwr_level-4="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="35" tap_mode="classic" trigger_index="25" type="unknown"/>
|
||||||
|
<bus is_selected="false" level-0="alt_or" level-1="alt_or" level-2="alt_or" level-3="alt_or" level-4="alt_or" name="emu:emu|coco3fpga:coco3|HRES[3..0]" order="msb_to_lsb" storage-0="alt_or" storage-1="alt_or" storage-2="alt_or" type="register">
|
||||||
|
<net data_index="11" duplicate_name_allowed="false" is_data_input="false" is_node_valid="true" is_selected="false" is_storage_input="true" is_trigger_input="false" level-0="dont_care" level-1="dont_care" level-2="dont_care" level-3="dont_care" level-4="dont_care" name="emu:emu|coco3fpga:coco3|HRES[3]" pwr_level-0="dont_care" pwr_level-1="dont_care" pwr_level-2="dont_care" pwr_level-3="dont_care" pwr_level-4="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="22" tap_mode="classic" trigger_index="11" type="unknown"/>
|
||||||
|
<net data_index="10" duplicate_name_allowed="false" is_data_input="false" is_node_valid="true" is_selected="false" is_storage_input="true" is_trigger_input="false" level-0="dont_care" level-1="dont_care" level-2="dont_care" level-3="dont_care" level-4="dont_care" name="emu:emu|coco3fpga:coco3|HRES[2]" pwr_level-0="dont_care" pwr_level-1="dont_care" pwr_level-2="dont_care" pwr_level-3="dont_care" pwr_level-4="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="21" tap_mode="classic" trigger_index="10" type="unknown"/>
|
||||||
|
<net data_index="9" duplicate_name_allowed="false" is_data_input="false" is_node_valid="true" is_selected="false" is_storage_input="true" is_trigger_input="false" level-0="dont_care" level-1="dont_care" level-2="dont_care" level-3="dont_care" level-4="dont_care" name="emu:emu|coco3fpga:coco3|HRES[1]" pwr_level-0="dont_care" pwr_level-1="dont_care" pwr_level-2="dont_care" pwr_level-3="dont_care" pwr_level-4="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="20" tap_mode="classic" trigger_index="9" type="unknown"/>
|
||||||
|
<net data_index="8" duplicate_name_allowed="false" is_data_input="false" is_node_valid="true" is_selected="false" is_storage_input="true" is_trigger_input="false" level-0="dont_care" level-1="dont_care" level-2="dont_care" level-3="dont_care" level-4="dont_care" name="emu:emu|coco3fpga:coco3|HRES[0]" pwr_level-0="dont_care" pwr_level-1="dont_care" pwr_level-2="dont_care" pwr_level-3="dont_care" pwr_level-4="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="19" tap_mode="classic" trigger_index="8" type="unknown"/>
|
||||||
|
</bus>
|
||||||
|
<net data_index="8" duplicate_name_allowed="false" is_data_input="false" is_node_valid="true" is_selected="false" is_storage_input="true" is_trigger_input="false" name="emu:emu|coco3fpga:coco3|VGA_SYNC_N" storage_index="26" tap_mode="classic" trigger_index="8" type="unknown"/>
|
||||||
|
<net data_index="12" duplicate_name_allowed="false" is_data_input="false" is_node_valid="true" is_selected="false" is_storage_input="true" is_trigger_input="false" level-0="dont_care" name="emu:emu|coco3fpga:coco3|NMI_09" storage_index="25" tap_mode="classic" trigger_index="12" type="unknown"/>
|
||||||
|
<net data_index="0" duplicate_name_allowed="false" is_data_input="false" is_node_valid="true" is_selected="false" is_storage_input="true" is_trigger_input="false" level-0="dont_care" name="emu:emu|coco3fpga:coco3|CPU_FIRQ_N" storage_index="9" tap_mode="classic" trigger_index="0" type="unknown"/>
|
||||||
|
<net data_index="1" duplicate_name_allowed="false" is_data_input="false" is_node_valid="true" is_selected="false" is_storage_input="true" is_trigger_input="false" level-0="dont_care" name="emu:emu|coco3fpga:coco3|CPU_IRQ_N" storage_index="10" tap_mode="classic" trigger_index="1" type="unknown"/>
|
||||||
|
<bus is_selected="false" level-0="alt_or" level-1="alt_or" level-2="alt_or" level-3="alt_or" level-4="alt_or" name="emu:emu|coco3fpga:coco3|MPI_SCS[1..0]" order="msb_to_lsb" type="register">
|
||||||
|
<net data_index="18" 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|MPI_SCS[1]" storage_index="24" tap_mode="classic" trigger_index="18" type="unknown"/>
|
||||||
|
<net data_index="17" 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|MPI_SCS[0]" storage_index="23" tap_mode="classic" trigger_index="17" type="unknown"/>
|
||||||
|
</bus>
|
||||||
|
<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" name="emu:emu|coco3fpga:coco3|ADRS_FF_D" storage_index="0" tap_mode="classic" trigger_index="0" type="unknown"/>
|
||||||
|
<bus is_selected="false" level-0="alt_or" level-1="alt_or" level-2="alt_or" level-3="alt_or" level-4="alt_or" name="emu:emu|coco3fpga:coco3|COCO_ROM_8K:CC3_DISK_ROM|ADDR[7..7]" order="msb_to_lsb" state="collapse" 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|COCO_ROM_8K:CC3_DISK_ROM|ADDR[7]" 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|COCO_ROM_8K:CC3_DISK_ROM|ADDR[6]" storage_index="7" tap_mode="classic" trigger_index="7" 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|COCO_ROM_8K:CC3_DISK_ROM|ADDR[5]" storage_index="6" tap_mode="classic" trigger_index="6" 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" name="emu:emu|coco3fpga:coco3|COCO_ROM_8K:CC3_DISK_ROM|ADDR[4]" storage_index="5" tap_mode="classic" trigger_index="5" type="unknown"/>
|
||||||
|
<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" name="emu:emu|coco3fpga:coco3|COCO_ROM_8K:CC3_DISK_ROM|ADDR[3]" storage_index="4" tap_mode="classic" trigger_index="4" type="unknown"/>
|
||||||
|
<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|COCO_ROM_8K:CC3_DISK_ROM|ADDR[2]" storage_index="3" tap_mode="classic" trigger_index="3" 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" name="emu:emu|coco3fpga:coco3|COCO_ROM_8K:CC3_DISK_ROM|ADDR[1]" storage_index="2" tap_mode="classic" trigger_index="2" 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" name="emu:emu|coco3fpga:coco3|COCO_ROM_8K:CC3_DISK_ROM|ADDR[0]" storage_index="1" tap_mode="classic" trigger_index="1" type="unknown"/>
|
||||||
|
</bus>
|
||||||
|
<net data_index="23" 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|mc6809x:GLBCPU09|RnW" storage_index="36" tap_mode="classic" trigger_index="23" type="unknown"/>
|
||||||
|
<net data_index="24" 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|sdc_top:coco_sdc_top|ext_response" storage_index="37" tap_mode="classic" trigger_index="24" type="unknown"/>
|
||||||
|
</setup_view>
|
||||||
|
<trigger_in_editor/>
|
||||||
|
<trigger_out_editor/>
|
||||||
|
</presentation>
|
||||||
|
<trigger CRC="E99B958C" attribute_mem_mode="false" gap_record="true" global_temp="1" name="trigger: 2023/09/10 19:44:36 #0" position="pre" power_up_trigger_mode="false" record_data_gap="true" segment_size="16384" storage_mode="off" storage_qualifier_disabled="yes" storage_qualifier_port_is_pin="false" 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|sdc_top:coco_sdc_top|ext_response' == rising edge
|
||||||
|
<power_up enabled="yes">
|
||||||
|
</power_up>
|
||||||
|
<op_node/>
|
||||||
|
</level>
|
||||||
|
<level enabled="yes" name="condition2" type="basic">
|
||||||
|
<power_up enabled="yes">
|
||||||
|
</power_up>
|
||||||
|
<op_node/>
|
||||||
|
</level>
|
||||||
|
<level enabled="yes" name="condition3" type="basic">
|
||||||
|
<power_up enabled="yes">
|
||||||
|
</power_up>
|
||||||
|
<op_node/>
|
||||||
|
</level>
|
||||||
|
<level enabled="yes" name="condition4" type="basic">
|
||||||
|
<power_up enabled="yes">
|
||||||
|
</power_up>
|
||||||
|
<op_node/>
|
||||||
|
</level>
|
||||||
|
<level enabled="yes" name="condition5" type="basic">
|
||||||
|
<power_up enabled="yes">
|
||||||
|
</power_up>
|
||||||
|
<op_node/>
|
||||||
|
</level>
|
||||||
|
<custom_flow_control>
|
||||||
|
<runtime_configurable comparison_operator="yes" counter_action="no" flag_action="no" logical_operator="yes" numerical_value="yes" state_transition="yes"/>
|
||||||
|
<flow_expression><![CDATA[state ST1:
|
||||||
|
trigger;]]>
|
||||||
|
</flow_expression>
|
||||||
|
<power_up_flow_expression><![CDATA[state ST1:
|
||||||
|
trigger;]]>
|
||||||
|
</power_up_flow_expression>
|
||||||
|
</custom_flow_control>
|
||||||
|
</events>
|
||||||
|
<storage_qualifier_events>
|
||||||
|
<transitional>11111111111111111111111111111111111111111111111111111111111111
|
||||||
|
<pwr_up_transitional>11111111111111111111111111111111111111111111111111111111111111</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 @ 2023/09/10 21:49:28 (0:0:3.6 elapsed)" power_up_mode="false" sample_depth="16384" trigger_position="2048">0011010111010101010000010000000000000110101110101010100000100000000000001101011101010101000001000000000000011010111010101010000010000000000000110101110101010100000100000000000001101011101010101000001000000000000011010111010101010000010000000000000110101110101010100000100000000000001101011101010101000001000000000000011010111010101010000010000000000000110101110101010100000100000000000001101011101010101000001000000000000011010111010101010000010000000000000110101110101010100000100000000000001101011101010101000001000000000000011010111010101010000010000000000000110101110101010100000100000000000001101011101010101000001000000000000011010111010101010000010000000000000110101110101010100000100000000000001101011101010101000001000000000000011010111010101010000010000000000000110101110101010100000100000000000001101011101010101000001000000000000011010111010101010000010000000000000110101110101010100000100000000000001101011101010101000001000000000000011010111010101010000010000000000000110101110101010100000100000000000001101011011011001000001000000000000111010111010101010000010000000000001110101110101010100000100000000000011101011101010101000001000000000000111010111010101010000010000000000001110101110101010100000100000000000011101011101010101000001000000000000111010111010101010000010000000000001110101110101010100000100000000000011101011101010101000001000000000000111010111010101010000010000000000001110101110101010100000100000000000011101011101010101000001000000000000111010111010101010000010000000000001110101110101010100000100000000000011101011101010101000001000000000000111010111010101010000010000000000001110101110101010100000100000000000011101011101010101000001000000000000111010111010101010000010000000000001110101110101010100000100000000000011101011101010101000001000000000000111010111010101010000010000000000001110101110101010100000100000000000011101011101010101000001000000000000111010111010101010000010000000000001110101110101010100000100000000000011101011101011001000001000000000000111111111000100010000010000000000011111111111011000100000100000000000111111111110110001000001000000000001111111111101100010000010000000000011111111111011000100000100000000000111111111110110001000001000000000001111111111101100010000010000000000011111111111011000100000100000000000111111111110110001000001000000000001111111111101100010000010000000000011111111111011000100000100000000000111111111110110001000001000000000001111111111101100010000010000000000011111111111011000100000100000000000111111111110110001000001000000000001111111111101100010000010000000000011111111111011000100000100000000000111111111110110001000001000000000001111111111101100010000010000000000011111111111011000100000100000000000111111111110110001000001000000000001111111111101100010000010000000000011111111111011000100000100000000000111111111110110001000001000000000001111111111101100010000010000000000011111111111011000100000100000000000111111111110110001000001000000000001111111111101100010000010000000000011111111111011000100000100000000000111111111110110001000001000000000001111111111101100010000010000000000011111111111011000100000100000000000100000010000000001000000011000010011000000100000000010000000110000100110000001000000000100000001100001001100000010000000001000000011000010011000000100000000010000000110000100110000001000000000100000001100001001100000010000000001000000011000010011000000100000000010000000110000100110000001000000000100000001100001001100000010000000001000000011000010011000000100000000010000000110000100110000001000000000100000001100001001100000010000000001000000011000010011000000100000000010000000110000100110000001000000000100000001100001001100000010000000001000000011000010011000000100000000010000000110000100110000001000000000100000001100001001100000010000000001000000011000010011000000100000000010000000110000100110000001000000000100000001100001001100000010000000001000000011000010011000000100000000010000000110000100110000001000000000100000001100001001100000010000000001000000011000010011000000100000000010000000110000100110000001000000000100000001100001001100000010000000001000000011000010011000000100000000010000000110000100110000001000000000100000001100001001100000010000000001000000011000010011000000100000000010000000110000100111110101110101010100000100000000000011101011101010101000001000000000000111010111010101010000010000000000001110101110101010100000100000000000011101011101010101000001000000000000111010111010101010000010000000000001110101110101010100000100000000000011101011101010101000001000000000000111010111010101010000010000000000001110101110101010100000100000000000011101011101010101000001000000000000111010111010101010000010000000000001110101110101010100000100000000000011101011101010101000001000000000000111010111010101010000010000000000001110101110101010100000100000000000011101011101010101000001000000000000111010111010Line truncated
|
||||||
|
<extradata>11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111T1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111Line truncated
|
||||||
|
</log>
|
||||||
|
</trigger>
|
||||||
|
</signal_set>
|
||||||
|
</instance>
|
||||||
|
<mnemonics/>
|
||||||
|
<static_plugin_mnemonics/>
|
||||||
|
<global_info>
|
||||||
|
<single attribute="active instance" value="0"/>
|
||||||
|
<single attribute="config widget visible" value="1"/>
|
||||||
|
<single attribute="data log widget visible" value="0"/>
|
||||||
|
<single attribute="hierarchy widget height" value="96"/>
|
||||||
|
<single attribute="hierarchy widget visible" value="0"/>
|
||||||
|
<single attribute="instance widget visible" value="1"/>
|
||||||
|
<single attribute="jtag widget visible" value="1"/>
|
||||||
|
<single attribute="lock mode" value="0"/>
|
||||||
|
<multi attribute="column width" size="23" value="34,34,466,74,68,78,95,96,98,98,88,88,110,101,101,101,101,101,101,101,101,107,78"/>
|
||||||
|
<multi attribute="frame size" size="2" value="1438,810"/>
|
||||||
|
<multi attribute="jtag widget size" size="2" value="519,135"/>
|
||||||
|
</global_info>
|
||||||
|
</session>
|
||||||
@@ -10,7 +10,7 @@ This is a port of Gary Becker's famous CoCo3 in an FPGA to the MiSTer platform b
|
|||||||
* boot0.rom - 32K coco3 rom
|
* boot0.rom - 32K coco3 rom
|
||||||
* boot1.rom - 8K Disk extended color basic rom
|
* boot1.rom - 8K Disk extended color basic rom
|
||||||
|
|
||||||
Note: This core requires the external sdram memory module to function.
|
Note: This core requires the external sdram memory module (128M) to function.
|
||||||
|
|
||||||
Rename your roms, and place them in the games/CoCo3/ directory
|
Rename your roms, and place them in the games/CoCo3/ directory
|
||||||
otherwise you will get a black screen
|
otherwise you will get a black screen
|
||||||
|
|||||||
+214
@@ -0,0 +1,214 @@
|
|||||||
|
<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="Video1" log="USE_GLOBAL_TEMP" signal_set="USE_GLOBAL_TEMP" trigger="USE_GLOBAL_TEMP"/>
|
||||||
|
</display_tree>
|
||||||
|
<instance enabled="true" entity_name="sld_signaltap" is_auto_node="yes" is_expanded="true" name="Video1" source_file="sld_signaltap.vhd">
|
||||||
|
<node_ip_info instance_id="0" mfg_id="110" node_id="0" version="6"/>
|
||||||
|
<signal_set global_temp="1" is_expanded="true" name="signal_set: 2026/01/10 19:34:25 #0">
|
||||||
|
<clock name="emu:emu|video_mixer:video_mixer|CLK_VIDEO" polarity="posedge" tap_mode="classic"/>
|
||||||
|
<config pipeline_level="0" ram_type="AUTO" reserved_data_nodes="0" reserved_storage_qualifier_nodes="0" reserved_trigger_nodes="0" sample_depth="8192" trigger_in_enable="no" trigger_out_enable="no"/>
|
||||||
|
<top_entity/>
|
||||||
|
<signal_vec>
|
||||||
|
<trigger_input_vec>
|
||||||
|
<wire name="emu:emu|VGA_DE" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|VGA_F1" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|VGA_G[7]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|VGA_HS" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|VGA_VS" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|video_mixer:video_mixer|HBlank" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|video_mixer:video_mixer|HSync" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|video_mixer:video_mixer|VBlank" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|video_mixer:video_mixer|VSync" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|video_mixer:video_mixer|gamma_corr:gamma|ce_pix" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|video_mixer:video_mixer|gamma_corr:gamma|ctr[0]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|video_mixer:video_mixer|gamma_corr:gamma|ctr[1]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|video_mixer:video_mixer|gamma_corr:gamma|hb" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|video_mixer:video_mixer|gamma_corr:gamma|hs" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|video_mixer:video_mixer|gamma_corr:gamma|old_ce" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|video_mixer:video_mixer|gamma_corr:gamma|vb" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|video_mixer:video_mixer|gamma_corr:gamma|vs" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|video_mixer:video_mixer|video_freezer:freezer|hs_out" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|video_mixer:video_mixer|video_freezer:freezer|vs_out" tap_mode="classic"/>
|
||||||
|
</trigger_input_vec>
|
||||||
|
<data_input_vec>
|
||||||
|
<wire name="emu:emu|VGA_DE" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|VGA_F1" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|VGA_G[7]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|VGA_HS" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|VGA_VS" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|video_mixer:video_mixer|HBlank" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|video_mixer:video_mixer|HSync" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|video_mixer:video_mixer|VBlank" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|video_mixer:video_mixer|VSync" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|video_mixer:video_mixer|gamma_corr:gamma|ce_pix" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|video_mixer:video_mixer|gamma_corr:gamma|ctr[0]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|video_mixer:video_mixer|gamma_corr:gamma|ctr[1]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|video_mixer:video_mixer|gamma_corr:gamma|hb" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|video_mixer:video_mixer|gamma_corr:gamma|hs" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|video_mixer:video_mixer|gamma_corr:gamma|old_ce" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|video_mixer:video_mixer|gamma_corr:gamma|vb" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|video_mixer:video_mixer|gamma_corr:gamma|vs" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|video_mixer:video_mixer|video_freezer:freezer|hs_out" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|video_mixer:video_mixer|video_freezer:freezer|vs_out" tap_mode="classic"/>
|
||||||
|
</data_input_vec>
|
||||||
|
<storage_qualifier_input_vec>
|
||||||
|
<wire name="emu:emu|VGA_DE" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|VGA_F1" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|VGA_G[7]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|VGA_HS" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|VGA_VS" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|video_mixer:video_mixer|HBlank" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|video_mixer:video_mixer|HSync" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|video_mixer:video_mixer|VBlank" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|video_mixer:video_mixer|VSync" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|video_mixer:video_mixer|gamma_corr:gamma|ce_pix" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|video_mixer:video_mixer|gamma_corr:gamma|ctr[0]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|video_mixer:video_mixer|gamma_corr:gamma|ctr[1]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|video_mixer:video_mixer|gamma_corr:gamma|hb" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|video_mixer:video_mixer|gamma_corr:gamma|hs" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|video_mixer:video_mixer|gamma_corr:gamma|old_ce" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|video_mixer:video_mixer|gamma_corr:gamma|vb" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|video_mixer:video_mixer|gamma_corr:gamma|vs" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|video_mixer:video_mixer|video_freezer:freezer|hs_out" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|video_mixer:video_mixer|video_freezer:freezer|vs_out" tap_mode="classic"/>
|
||||||
|
</storage_qualifier_input_vec>
|
||||||
|
</signal_vec>
|
||||||
|
<presentation>
|
||||||
|
<unified_setup_data_view>
|
||||||
|
<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="rising edge" name="emu:emu|VGA_G[7]" pwr_level-0="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="2" tap_mode="classic" trigger_index="2" type="unknown"/>
|
||||||
|
<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|VGA_VS" pwr_level-0="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="4" tap_mode="classic" trigger_index="4" type="unknown"/>
|
||||||
|
<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" level-0="dont_care" name="emu:emu|VGA_HS" pwr_level-0="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="3" tap_mode="classic" trigger_index="3" 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|VGA_DE" pwr_level-0="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" 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|VGA_F1" pwr_level-0="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="1" tap_mode="classic" trigger_index="1" 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" level-0="dont_care" name="emu:emu|video_mixer:video_mixer|VSync" pwr_level-0="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="8" tap_mode="classic" trigger_index="8" 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" level-0="dont_care" name="emu:emu|video_mixer:video_mixer|HSync" pwr_level-0="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="6" tap_mode="classic" trigger_index="6" 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" level-0="dont_care" name="emu:emu|video_mixer:video_mixer|VBlank" pwr_level-0="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="7" tap_mode="classic" trigger_index="7" 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="dont_care" name="emu:emu|video_mixer:video_mixer|HBlank" pwr_level-0="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="5" tap_mode="classic" trigger_index="5" type="unknown"/>
|
||||||
|
<node data_index="17" 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|video_mixer:video_mixer|video_freezer:freezer|hs_out" pwr_level-0="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="17" tap_mode="classic" trigger_index="17" type="unknown"/>
|
||||||
|
<node data_index="18" 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|video_mixer:video_mixer|video_freezer:freezer|vs_out" pwr_level-0="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="18" tap_mode="classic" trigger_index="18" type="unknown"/>
|
||||||
|
<node data_index="14" 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|video_mixer:video_mixer|gamma_corr:gamma|old_ce" pwr_level-0="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="14" tap_mode="classic" trigger_index="14" type="unknown"/>
|
||||||
|
<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" level-0="dont_care" name="emu:emu|video_mixer:video_mixer|gamma_corr:gamma|hs" pwr_level-0="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="13" tap_mode="classic" trigger_index="13" type="unknown"/>
|
||||||
|
<node data_index="16" 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|video_mixer:video_mixer|gamma_corr:gamma|vs" pwr_level-0="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="16" tap_mode="classic" trigger_index="16" 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" level-0="dont_care" name="emu:emu|video_mixer:video_mixer|gamma_corr:gamma|hb" pwr_level-0="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="12" tap_mode="classic" trigger_index="12" type="unknown"/>
|
||||||
|
<node data_index="15" 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|video_mixer:video_mixer|gamma_corr:gamma|vb" pwr_level-0="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="15" tap_mode="classic" trigger_index="15" type="unknown"/>
|
||||||
|
<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" level-0="dont_care" name="emu:emu|video_mixer:video_mixer|gamma_corr:gamma|ce_pix" pwr_level-0="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="9" tap_mode="classic" trigger_index="9" type="unknown"/>
|
||||||
|
<node is_selected="false" level-0="alt_or" name="emu:emu|video_mixer:video_mixer|gamma_corr:gamma|ctr[1..0]" order="msb_to_lsb" storage-0="alt_or" storage-1="alt_or" storage-2="alt_or" type="register">
|
||||||
|
<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" level-0="dont_care" name="emu:emu|video_mixer:video_mixer|gamma_corr:gamma|ctr[1]" pwr_level-0="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="11" tap_mode="classic" trigger_index="11" 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|video_mixer:video_mixer|gamma_corr:gamma|ctr[0]" pwr_level-0="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="10" tap_mode="classic" trigger_index="10" type="unknown"/>
|
||||||
|
</node>
|
||||||
|
</unified_setup_data_view>
|
||||||
|
<data_view>
|
||||||
|
<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="rising edge" name="emu:emu|VGA_G[7]" pwr_level-0="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="2" tap_mode="classic" trigger_index="2" type="unknown"/>
|
||||||
|
<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|VGA_VS" pwr_level-0="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="4" tap_mode="classic" trigger_index="4" type="unknown"/>
|
||||||
|
<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" level-0="dont_care" name="emu:emu|VGA_HS" pwr_level-0="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="3" tap_mode="classic" trigger_index="3" 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|VGA_DE" pwr_level-0="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" 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|VGA_F1" pwr_level-0="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="1" tap_mode="classic" trigger_index="1" 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" level-0="dont_care" name="emu:emu|video_mixer:video_mixer|VSync" pwr_level-0="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="8" tap_mode="classic" trigger_index="8" 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" level-0="dont_care" name="emu:emu|video_mixer:video_mixer|HSync" pwr_level-0="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="6" tap_mode="classic" trigger_index="6" 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" level-0="dont_care" name="emu:emu|video_mixer:video_mixer|VBlank" pwr_level-0="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="7" tap_mode="classic" trigger_index="7" 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="dont_care" name="emu:emu|video_mixer:video_mixer|HBlank" pwr_level-0="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="5" tap_mode="classic" trigger_index="5" type="unknown"/>
|
||||||
|
<net data_index="17" 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|video_mixer:video_mixer|video_freezer:freezer|hs_out" pwr_level-0="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="17" tap_mode="classic" trigger_index="17" type="unknown"/>
|
||||||
|
<net data_index="18" 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|video_mixer:video_mixer|video_freezer:freezer|vs_out" pwr_level-0="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="18" tap_mode="classic" trigger_index="18" type="unknown"/>
|
||||||
|
<net data_index="14" 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|video_mixer:video_mixer|gamma_corr:gamma|old_ce" pwr_level-0="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="14" tap_mode="classic" trigger_index="14" type="unknown"/>
|
||||||
|
<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" level-0="dont_care" name="emu:emu|video_mixer:video_mixer|gamma_corr:gamma|hs" pwr_level-0="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="13" tap_mode="classic" trigger_index="13" type="unknown"/>
|
||||||
|
<net data_index="16" 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|video_mixer:video_mixer|gamma_corr:gamma|vs" pwr_level-0="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="16" tap_mode="classic" trigger_index="16" 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" level-0="dont_care" name="emu:emu|video_mixer:video_mixer|gamma_corr:gamma|hb" pwr_level-0="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="12" tap_mode="classic" trigger_index="12" type="unknown"/>
|
||||||
|
<net data_index="15" 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|video_mixer:video_mixer|gamma_corr:gamma|vb" pwr_level-0="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="15" tap_mode="classic" trigger_index="15" type="unknown"/>
|
||||||
|
<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" level-0="dont_care" name="emu:emu|video_mixer:video_mixer|gamma_corr:gamma|ce_pix" pwr_level-0="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="9" tap_mode="classic" trigger_index="9" type="unknown"/>
|
||||||
|
<bus is_selected="false" level-0="alt_or" name="emu:emu|video_mixer:video_mixer|gamma_corr:gamma|ctr[1..0]" order="msb_to_lsb" storage-0="alt_or" storage-1="alt_or" storage-2="alt_or" type="register">
|
||||||
|
<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" level-0="dont_care" name="emu:emu|video_mixer:video_mixer|gamma_corr:gamma|ctr[1]" pwr_level-0="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="11" tap_mode="classic" trigger_index="11" 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|video_mixer:video_mixer|gamma_corr:gamma|ctr[0]" pwr_level-0="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="10" tap_mode="classic" trigger_index="10" type="unknown"/>
|
||||||
|
</bus>
|
||||||
|
</data_view>
|
||||||
|
<setup_view>
|
||||||
|
<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="rising edge" name="emu:emu|VGA_G[7]" pwr_level-0="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="2" tap_mode="classic" trigger_index="2" type="unknown"/>
|
||||||
|
<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|VGA_VS" pwr_level-0="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="4" tap_mode="classic" trigger_index="4" type="unknown"/>
|
||||||
|
<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" level-0="dont_care" name="emu:emu|VGA_HS" pwr_level-0="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="3" tap_mode="classic" trigger_index="3" 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|VGA_DE" pwr_level-0="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" 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|VGA_F1" pwr_level-0="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="1" tap_mode="classic" trigger_index="1" 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" level-0="dont_care" name="emu:emu|video_mixer:video_mixer|VSync" pwr_level-0="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="8" tap_mode="classic" trigger_index="8" 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" level-0="dont_care" name="emu:emu|video_mixer:video_mixer|HSync" pwr_level-0="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="6" tap_mode="classic" trigger_index="6" 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" level-0="dont_care" name="emu:emu|video_mixer:video_mixer|VBlank" pwr_level-0="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="7" tap_mode="classic" trigger_index="7" 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="dont_care" name="emu:emu|video_mixer:video_mixer|HBlank" pwr_level-0="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="5" tap_mode="classic" trigger_index="5" type="unknown"/>
|
||||||
|
<net data_index="17" 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|video_mixer:video_mixer|video_freezer:freezer|hs_out" pwr_level-0="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="17" tap_mode="classic" trigger_index="17" type="unknown"/>
|
||||||
|
<net data_index="18" 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|video_mixer:video_mixer|video_freezer:freezer|vs_out" pwr_level-0="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="18" tap_mode="classic" trigger_index="18" type="unknown"/>
|
||||||
|
<net data_index="14" 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|video_mixer:video_mixer|gamma_corr:gamma|old_ce" pwr_level-0="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="14" tap_mode="classic" trigger_index="14" type="unknown"/>
|
||||||
|
<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" level-0="dont_care" name="emu:emu|video_mixer:video_mixer|gamma_corr:gamma|hs" pwr_level-0="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="13" tap_mode="classic" trigger_index="13" type="unknown"/>
|
||||||
|
<net data_index="16" 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|video_mixer:video_mixer|gamma_corr:gamma|vs" pwr_level-0="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="16" tap_mode="classic" trigger_index="16" 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" level-0="dont_care" name="emu:emu|video_mixer:video_mixer|gamma_corr:gamma|hb" pwr_level-0="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="12" tap_mode="classic" trigger_index="12" type="unknown"/>
|
||||||
|
<net data_index="15" 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|video_mixer:video_mixer|gamma_corr:gamma|vb" pwr_level-0="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="15" tap_mode="classic" trigger_index="15" type="unknown"/>
|
||||||
|
<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" level-0="dont_care" name="emu:emu|video_mixer:video_mixer|gamma_corr:gamma|ce_pix" pwr_level-0="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="9" tap_mode="classic" trigger_index="9" type="unknown"/>
|
||||||
|
<bus is_selected="false" level-0="alt_or" name="emu:emu|video_mixer:video_mixer|gamma_corr:gamma|ctr[1..0]" order="msb_to_lsb" storage-0="alt_or" storage-1="alt_or" storage-2="alt_or" type="register">
|
||||||
|
<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" level-0="dont_care" name="emu:emu|video_mixer:video_mixer|gamma_corr:gamma|ctr[1]" pwr_level-0="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="11" tap_mode="classic" trigger_index="11" 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|video_mixer:video_mixer|gamma_corr:gamma|ctr[0]" pwr_level-0="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="10" tap_mode="classic" trigger_index="10" type="unknown"/>
|
||||||
|
</bus>
|
||||||
|
</setup_view>
|
||||||
|
<trigger_in_editor/>
|
||||||
|
<trigger_out_editor/>
|
||||||
|
</presentation>
|
||||||
|
<trigger CRC="74B35C35" attribute_mem_mode="false" gap_record="true" global_temp="1" name="trigger: 2026/01/13 02:01:16 #0" position="pre" power_up_trigger_mode="false" record_data_gap="true" segment_size="2048" 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|VGA_G[7]' == rising edge
|
||||||
|
<power_up enabled="yes">
|
||||||
|
</power_up>
|
||||||
|
<op_node>
|
||||||
|
<op_node left="452" top="174" type="Advanced Trigger Level Result"/>
|
||||||
|
</op_node>
|
||||||
|
</level>
|
||||||
|
</events>
|
||||||
|
<storage_qualifier_events>
|
||||||
|
<transitional>1111111111111111111
|
||||||
|
<pwr_up_transitional>1111111111111111111</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 @ 2026/01/13 02:05:12 (0:0:0.2 elapsed)" power_up_mode="false" sample_depth="8192" trigger_position="1024">10000000000100100001000000000110000000100000000100000000010000000011000100001000000000010010000100000000011000000010000000010000000001000000001100010000100000000001001000010000000001100000001000000001000000000100000000110001000010000000000100100001000000000110000000100000000100000000010000000011000100001000000000010010000100000000011000000010000000010000000001000000001100010000100000000001001000010000000001100000001000000001000000000100000000110001000010000000000100100001000000000110000000100000000100000000010000000011000100001000000000010010000100000000011000000010000000010000000001000000001100010000100000000001001000010000000001100000001000000001000000000100000000110001000010000000000100100001000000000110000000100000000100000000010000000011000100001000000000010010000100000000011000000010000000010000000001000000001100010000100000000001001000010000000001100000001000000001000000000100000000110001000010000000000100100001000000000110000000100000000100000000010000000011000100001000000000010010000100000000011000000010000000010000000001000000001100010000100000000001001000010000000001100000001000000001000000000100000000110001000010000000000100100001000000000110000000100000000100000000010000000011000100001000000000010010000100000000011000000010000000010000000001000000001100010000100000000001001000010000000001100000001000000001000000000100000000110001000010000000000100100001000000000110000000100000000100000000010000000011000100001000000000010010000100000000011000000010000000010000000001000000001100010000100000000001001000010000000001100000001000000001000000000100000000110001000010000000000100100001000000000110000000100000000100000000010000000011000100001000000000010010000100000000011000000010000000010000000001000000001100010000100000000001001000010000000001100000001000000001000000000100000000110001000010000000000100100001000000000110000000100000000100000000010000000011000100001000000000010010000100000000011000000010000000010000000001000000001100010000100000000001001000010000000001100000001000000001000000000100000000110001000010000000000100100001000000000110000000100000000100000000010000000011000100001000000000010010000100000000011000000010000000010000000001000000001100010000100000000001001000010000000001100000001000000001000000000100000000110001000010000000000100100001000000000110000000100000000100000000010000000011000100001000000000010010000100000000011000000010000000010000000001000000001100010000100000000001001000010000000001100000001000000001000000000100000000110001000010000000000100100001000000000110000000100000000100000000010000000011000100001000000000010010000100000000011000000010000000010000000001000000001100010000100000000001001000010000000001100000001000000001000000000100000000110001000010000000000100100001000000000110000000100000000100000000010000000011000100001000000000010010000100000000011000000010000000010000000001000000001100010000100000000001001000010000000001100000001000000001000000000100000000110001000010000000000100100001000000000110000000100000000100000000010000000011000100001000000000010010000100000000011000000010000000010000000001000000001100010000100000000001001000010000000001100000001000000001000000000100000000110001000010000000000100100001000000000110000000100000000100000000010000000011000100001000000000010010000100000000011000000010000000010000000001000000001100010000100000000001001000010000000001100000001000000001000000000100000000110001000010000000000100100001000000000110000000100000000100000000010000000011000100001000000000010010000100000000011000000010000000010000000001000000001100010000100000000001001000010000000001100000001000000001000000000100000000110001000010000000000100100001000000000110000000100000000100000000010000000011000100001000000000010010000100000000011000000010000100010000000001000010001101010000100001000001101000010000100001110000001000010001001000000100001000110101000010000100000110100001000010000111000000100001000100100000010000100011010100000000010000011010000000001000011100000000000100010010000000000010001101010000000001000001101000000000100001110000000000010001001000000000001000110101000000000100000110100000000010000111000000000001000100100000000000100011010100000000010000011010000000001000011100000000000100010010000000000010001101010000000001000001101000000000100001110000000000010001001000000000001000110101000000000100000110100000000010000111000000000001000100100000000000100011010100000000010000011010000000001000011100000000000100010010000000000010001101010000000001000001101000000000100001110000000000010001001000000000001000110101000000000100000110100000000010000111000000000001000100100000000000100011010100000000010000011010000000001000011100000000000100010010000000000010001101010000000001000001101000000000100001110000000000010001001000000000001000110101000000000100000110100000000010000111000000000001000100100000Line truncated
|
||||||
|
<extradata>1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111T11111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111Line truncated
|
||||||
|
</log>
|
||||||
|
</trigger>
|
||||||
|
</signal_set>
|
||||||
|
<position_info>
|
||||||
|
<single attribute="active tab" value="0"/>
|
||||||
|
<single attribute="data horizontal scroll position" value="0"/>
|
||||||
|
<single attribute="data vertical scroll position" value="0"/>
|
||||||
|
<single attribute="setup horizontal scroll position" value="0"/>
|
||||||
|
<single attribute="setup vertical scroll position" value="0"/>
|
||||||
|
<single attribute="zoom level denominator" value="1"/>
|
||||||
|
<single attribute="zoom level numerator" value="1"/>
|
||||||
|
<single attribute="zoom offset denominator" value="1"/>
|
||||||
|
<single attribute="zoom offset numerator" value="122880"/>
|
||||||
|
<multi attribute="timebars" size="2" value="1626,4678"/>
|
||||||
|
</position_info>
|
||||||
|
</instance>
|
||||||
|
<mnemonics/>
|
||||||
|
<static_plugin_mnemonics/>
|
||||||
|
<global_info>
|
||||||
|
<single attribute="active instance" value="0"/>
|
||||||
|
<single attribute="config widget visible" value="1"/>
|
||||||
|
<single attribute="data log widget visible" value="0"/>
|
||||||
|
<single attribute="hierarchy widget height" value="96"/>
|
||||||
|
<single attribute="hierarchy widget visible" value="0"/>
|
||||||
|
<single attribute="instance widget visible" value="1"/>
|
||||||
|
<single attribute="jtag widget visible" value="1"/>
|
||||||
|
<single attribute="lock mode" value="0"/>
|
||||||
|
<multi attribute="column width" size="23" value="34,34,443,74,68,78,95,96,98,98,88,88,110,101,101,101,101,101,101,101,101,107,66"/>
|
||||||
|
<multi attribute="frame size" size="2" value="1204,686"/>
|
||||||
|
<multi attribute="jtag widget size" size="2" value="348,135"/>
|
||||||
|
</global_info>
|
||||||
|
</session>
|
||||||
@@ -0,0 +1,301 @@
|
|||||||
|
<session jtag_chain="DE-SoC on 192.168.2.129 [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>
|
||||||
|
<instance enabled="true" entity_name="sld_signaltap" is_auto_node="yes" is_expanded="true" 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="data horizontal scroll position" value="0"/>
|
||||||
|
<single attribute="data vertical scroll position" value="0"/>
|
||||||
|
<single attribute="setup horizontal scroll position" value="296"/>
|
||||||
|
<single attribute="setup vertical scroll position" value="2"/>
|
||||||
|
<single attribute="zoom level denominator" value="1"/>
|
||||||
|
<single attribute="zoom level numerator" value="1"/>
|
||||||
|
<single attribute="zoom offset denominator" value="1"/>
|
||||||
|
<single attribute="zoom offset numerator" value="129024"/>
|
||||||
|
<multi attribute="timebars" size="0" value=""/>
|
||||||
|
</position_info>
|
||||||
|
<signal_set global_temp="1" name="signal_set: 2024/03/24 14:53:29 #0">
|
||||||
|
<clock name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|clk_sample" polarity="posedge" tap_mode="classic"/>
|
||||||
|
<config pipeline_level="1" ram_type="AUTO" reserved_data_nodes="0" reserved_storage_qualifier_nodes="0" reserved_trigger_nodes="0" sample_depth="2048" trigger_in_enable="no" trigger_out_enable="no"/>
|
||||||
|
<top_entity/>
|
||||||
|
<signal_vec>
|
||||||
|
<trigger_input_vec>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|CASS_REWIND_RECORD" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|MOTOR_ON" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|blk_type[0]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|blk_type[1]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|blk_type[2]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|blk_type[3]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|blk_type[4]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|blk_type[5]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|blk_type[6]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|blk_type[7]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|buf_address[0]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|buf_address[1]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|buf_address[2]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|buf_address[3]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|buf_address[4]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|buf_address[5]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|buf_address[6]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|buf_address[7]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|buf_address[8]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|buf_data_in[0]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|buf_data_in[1]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|buf_data_in[2]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|buf_data_in[3]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|buf_data_in[4]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|buf_data_in[5]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|buf_data_in[6]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|buf_data_in[7]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|look_for_sync" tap_mode="classic"/>
|
||||||
|
</trigger_input_vec>
|
||||||
|
<data_input_vec>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|CASS_REWIND_RECORD" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|MOTOR_ON" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|blk_type[0]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|blk_type[1]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|blk_type[2]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|blk_type[3]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|blk_type[4]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|blk_type[5]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|blk_type[6]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|blk_type[7]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|buf_address[0]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|buf_address[1]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|buf_address[2]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|buf_address[3]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|buf_address[4]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|buf_address[5]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|buf_address[6]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|buf_address[7]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|buf_address[8]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|buf_data_in[0]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|buf_data_in[1]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|buf_data_in[2]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|buf_data_in[3]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|buf_data_in[4]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|buf_data_in[5]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|buf_data_in[6]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|buf_data_in[7]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|look_for_sync" tap_mode="classic"/>
|
||||||
|
</data_input_vec>
|
||||||
|
<storage_qualifier_input_vec>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|CASS_REWIND_RECORD" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|MOTOR_ON" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|blk_type[0]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|blk_type[1]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|blk_type[2]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|blk_type[3]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|blk_type[4]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|blk_type[5]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|blk_type[6]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|blk_type[7]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|buf_address[0]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|buf_address[1]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|buf_address[2]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|buf_address[3]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|buf_address[4]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|buf_address[5]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|buf_address[6]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|buf_address[7]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|buf_address[8]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|buf_data_in[0]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|buf_data_in[1]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|buf_data_in[2]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|buf_data_in[3]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|buf_data_in[4]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|buf_data_in[5]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|buf_data_in[6]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|buf_data_in[7]" tap_mode="classic"/>
|
||||||
|
<wire name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|look_for_sync" tap_mode="classic"/>
|
||||||
|
</storage_qualifier_input_vec>
|
||||||
|
</signal_vec>
|
||||||
|
<presentation>
|
||||||
|
<unified_setup_data_view>
|
||||||
|
<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" level-1="dont_care" level-2="dont_care" name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|MOTOR_ON" pwr_level-0="dont_care" pwr_level-1="dont_care" pwr_level-2="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="1" tap_mode="classic" trigger_index="1" 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" level-1="dont_care" level-2="dont_care" name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|CASS_REWIND_RECORD" pwr_level-0="dont_care" pwr_level-1="dont_care" pwr_level-2="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="0" tap_mode="classic" trigger_index="0" type="unknown"/>
|
||||||
|
<node is_selected="false" level-0="alt_or" level-1="alt_or" level-2="alt_or" name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|buf_data_in[7..0]" order="msb_to_lsb" storage-0="alt_or" storage-1="alt_or" storage-2="alt_or" type="register">
|
||||||
|
<node data_index="26" 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" level-1="dont_care" level-2="dont_care" name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|buf_data_in[7]" pwr_level-0="dont_care" pwr_level-1="dont_care" pwr_level-2="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="26" tap_mode="classic" trigger_index="26" type="unknown"/>
|
||||||
|
<node data_index="25" 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" level-1="dont_care" level-2="dont_care" name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|buf_data_in[6]" pwr_level-0="dont_care" pwr_level-1="dont_care" pwr_level-2="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="25" tap_mode="classic" trigger_index="25" type="unknown"/>
|
||||||
|
<node data_index="24" 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" level-1="dont_care" level-2="dont_care" name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|buf_data_in[5]" pwr_level-0="dont_care" pwr_level-1="dont_care" pwr_level-2="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="24" tap_mode="classic" trigger_index="24" type="unknown"/>
|
||||||
|
<node data_index="23" 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" level-1="dont_care" level-2="dont_care" name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|buf_data_in[4]" pwr_level-0="dont_care" pwr_level-1="dont_care" pwr_level-2="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="23" tap_mode="classic" trigger_index="23" type="unknown"/>
|
||||||
|
<node data_index="22" 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" level-1="dont_care" level-2="dont_care" name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|buf_data_in[3]" pwr_level-0="dont_care" pwr_level-1="dont_care" pwr_level-2="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="22" tap_mode="classic" trigger_index="22" type="unknown"/>
|
||||||
|
<node data_index="21" 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" level-1="dont_care" level-2="dont_care" name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|buf_data_in[2]" pwr_level-0="dont_care" pwr_level-1="dont_care" pwr_level-2="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="21" tap_mode="classic" trigger_index="21" type="unknown"/>
|
||||||
|
<node data_index="20" 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" level-1="dont_care" level-2="dont_care" name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|buf_data_in[1]" pwr_level-0="dont_care" pwr_level-1="dont_care" pwr_level-2="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="20" tap_mode="classic" trigger_index="20" type="unknown"/>
|
||||||
|
<node data_index="19" 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" level-1="dont_care" level-2="dont_care" name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|buf_data_in[0]" pwr_level-0="dont_care" pwr_level-1="dont_care" pwr_level-2="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="19" tap_mode="classic" trigger_index="19" type="unknown"/>
|
||||||
|
</node>
|
||||||
|
<node data_index="27" 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="falling edge" level-1="dont_care" level-2="dont_care" name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|look_for_sync" pwr_level-0="dont_care" pwr_level-1="dont_care" pwr_level-2="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="27" tap_mode="classic" trigger_index="27" type="unknown"/>
|
||||||
|
<node is_selected="false" level-0="alt_or" level-1="alt_or" level-2="alt_or" name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|buf_address[8..0]" order="msb_to_lsb" type="register">
|
||||||
|
<node data_index="18" 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|Cassette_Write:CoCo3_Cassette_Write|buf_address[8]" storage_index="18" tap_mode="classic" trigger_index="18" type="unknown"/>
|
||||||
|
<node data_index="17" 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|Cassette_Write:CoCo3_Cassette_Write|buf_address[7]" storage_index="17" tap_mode="classic" trigger_index="17" type="unknown"/>
|
||||||
|
<node data_index="16" 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|Cassette_Write:CoCo3_Cassette_Write|buf_address[6]" storage_index="16" tap_mode="classic" trigger_index="16" type="unknown"/>
|
||||||
|
<node data_index="15" 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|Cassette_Write:CoCo3_Cassette_Write|buf_address[5]" storage_index="15" tap_mode="classic" trigger_index="15" type="unknown"/>
|
||||||
|
<node data_index="14" 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|Cassette_Write:CoCo3_Cassette_Write|buf_address[4]" storage_index="14" tap_mode="classic" trigger_index="14" type="unknown"/>
|
||||||
|
<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|Cassette_Write:CoCo3_Cassette_Write|buf_address[3]" 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|Cassette_Write:CoCo3_Cassette_Write|buf_address[2]" 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|Cassette_Write:CoCo3_Cassette_Write|buf_address[1]" storage_index="11" tap_mode="classic" trigger_index="11" 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" name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|buf_address[0]" storage_index="10" tap_mode="classic" trigger_index="10" type="unknown"/>
|
||||||
|
</node>
|
||||||
|
<node is_selected="false" level-0="alt_or" level-1="alt_or" level-2="alt_or" name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|blk_type[7..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" level-1="low" level-2="high" name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|blk_type[7]" 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" level-1="low" level-2="high" name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|blk_type[6]" 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" level-1="low" level-2="high" name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|blk_type[5]" storage_index="7" tap_mode="classic" trigger_index="7" 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" level-1="low" level-2="high" name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|blk_type[4]" storage_index="6" tap_mode="classic" trigger_index="6" 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-1="low" level-2="high" name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|blk_type[3]" storage_index="5" tap_mode="classic" trigger_index="5" type="unknown"/>
|
||||||
|
<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-1="low" level-2="high" name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|blk_type[2]" storage_index="4" tap_mode="classic" trigger_index="4" type="unknown"/>
|
||||||
|
<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" level-1="low" level-2="high" name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|blk_type[1]" storage_index="3" tap_mode="classic" trigger_index="3" 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-1="low" level-2="high" name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|blk_type[0]" storage_index="2" tap_mode="classic" trigger_index="2" type="unknown"/>
|
||||||
|
</node>
|
||||||
|
</unified_setup_data_view>
|
||||||
|
<data_view>
|
||||||
|
<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" level-1="dont_care" level-2="dont_care" name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|MOTOR_ON" pwr_level-0="dont_care" pwr_level-1="dont_care" pwr_level-2="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="1" tap_mode="classic" trigger_index="1" 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" level-1="dont_care" level-2="dont_care" name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|CASS_REWIND_RECORD" pwr_level-0="dont_care" pwr_level-1="dont_care" pwr_level-2="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="0" tap_mode="classic" trigger_index="0" type="unknown"/>
|
||||||
|
<bus is_selected="false" level-0="alt_or" level-1="alt_or" level-2="alt_or" name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|buf_data_in[7..0]" order="msb_to_lsb" storage-0="alt_or" storage-1="alt_or" storage-2="alt_or" type="register">
|
||||||
|
<net data_index="26" 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" level-1="dont_care" level-2="dont_care" name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|buf_data_in[7]" pwr_level-0="dont_care" pwr_level-1="dont_care" pwr_level-2="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="26" tap_mode="classic" trigger_index="26" type="unknown"/>
|
||||||
|
<net data_index="25" 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" level-1="dont_care" level-2="dont_care" name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|buf_data_in[6]" pwr_level-0="dont_care" pwr_level-1="dont_care" pwr_level-2="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="25" tap_mode="classic" trigger_index="25" type="unknown"/>
|
||||||
|
<net data_index="24" 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" level-1="dont_care" level-2="dont_care" name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|buf_data_in[5]" pwr_level-0="dont_care" pwr_level-1="dont_care" pwr_level-2="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="24" tap_mode="classic" trigger_index="24" type="unknown"/>
|
||||||
|
<net data_index="23" 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" level-1="dont_care" level-2="dont_care" name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|buf_data_in[4]" pwr_level-0="dont_care" pwr_level-1="dont_care" pwr_level-2="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="23" tap_mode="classic" trigger_index="23" type="unknown"/>
|
||||||
|
<net data_index="22" 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" level-1="dont_care" level-2="dont_care" name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|buf_data_in[3]" pwr_level-0="dont_care" pwr_level-1="dont_care" pwr_level-2="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="22" tap_mode="classic" trigger_index="22" type="unknown"/>
|
||||||
|
<net data_index="21" 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" level-1="dont_care" level-2="dont_care" name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|buf_data_in[2]" pwr_level-0="dont_care" pwr_level-1="dont_care" pwr_level-2="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="21" tap_mode="classic" trigger_index="21" type="unknown"/>
|
||||||
|
<net data_index="20" 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" level-1="dont_care" level-2="dont_care" name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|buf_data_in[1]" pwr_level-0="dont_care" pwr_level-1="dont_care" pwr_level-2="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="20" tap_mode="classic" trigger_index="20" type="unknown"/>
|
||||||
|
<net data_index="19" 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" level-1="dont_care" level-2="dont_care" name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|buf_data_in[0]" pwr_level-0="dont_care" pwr_level-1="dont_care" pwr_level-2="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="19" tap_mode="classic" trigger_index="19" type="unknown"/>
|
||||||
|
</bus>
|
||||||
|
<net data_index="27" 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="falling edge" level-1="dont_care" level-2="dont_care" name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|look_for_sync" pwr_level-0="dont_care" pwr_level-1="dont_care" pwr_level-2="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="27" tap_mode="classic" trigger_index="27" type="unknown"/>
|
||||||
|
<bus is_selected="false" level-0="alt_or" level-1="alt_or" level-2="alt_or" name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|buf_address[8..0]" order="msb_to_lsb" type="register">
|
||||||
|
<net data_index="18" 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|Cassette_Write:CoCo3_Cassette_Write|buf_address[8]" storage_index="18" tap_mode="classic" trigger_index="18" type="unknown"/>
|
||||||
|
<net data_index="17" 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|Cassette_Write:CoCo3_Cassette_Write|buf_address[7]" storage_index="17" tap_mode="classic" trigger_index="17" type="unknown"/>
|
||||||
|
<net data_index="16" 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|Cassette_Write:CoCo3_Cassette_Write|buf_address[6]" storage_index="16" tap_mode="classic" trigger_index="16" type="unknown"/>
|
||||||
|
<net data_index="15" 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|Cassette_Write:CoCo3_Cassette_Write|buf_address[5]" storage_index="15" tap_mode="classic" trigger_index="15" type="unknown"/>
|
||||||
|
<net data_index="14" 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|Cassette_Write:CoCo3_Cassette_Write|buf_address[4]" storage_index="14" tap_mode="classic" trigger_index="14" type="unknown"/>
|
||||||
|
<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|Cassette_Write:CoCo3_Cassette_Write|buf_address[3]" 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|Cassette_Write:CoCo3_Cassette_Write|buf_address[2]" 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|Cassette_Write:CoCo3_Cassette_Write|buf_address[1]" storage_index="11" tap_mode="classic" trigger_index="11" 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" name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|buf_address[0]" storage_index="10" tap_mode="classic" trigger_index="10" type="unknown"/>
|
||||||
|
</bus>
|
||||||
|
<bus is_selected="false" level-0="alt_or" level-1="alt_or" level-2="alt_or" name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|blk_type[7..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" level-1="low" level-2="high" name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|blk_type[7]" 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" level-1="low" level-2="high" name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|blk_type[6]" 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" level-1="low" level-2="high" name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|blk_type[5]" storage_index="7" tap_mode="classic" trigger_index="7" 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" level-1="low" level-2="high" name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|blk_type[4]" storage_index="6" tap_mode="classic" trigger_index="6" 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-1="low" level-2="high" name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|blk_type[3]" storage_index="5" tap_mode="classic" trigger_index="5" type="unknown"/>
|
||||||
|
<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-1="low" level-2="high" name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|blk_type[2]" storage_index="4" tap_mode="classic" trigger_index="4" type="unknown"/>
|
||||||
|
<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" level-1="low" level-2="high" name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|blk_type[1]" storage_index="3" tap_mode="classic" trigger_index="3" 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-1="low" level-2="high" name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|blk_type[0]" storage_index="2" tap_mode="classic" trigger_index="2" type="unknown"/>
|
||||||
|
</bus>
|
||||||
|
</data_view>
|
||||||
|
<setup_view>
|
||||||
|
<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" level-1="dont_care" level-2="dont_care" name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|MOTOR_ON" pwr_level-0="dont_care" pwr_level-1="dont_care" pwr_level-2="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="1" tap_mode="classic" trigger_index="1" 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" level-1="dont_care" level-2="dont_care" name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|CASS_REWIND_RECORD" pwr_level-0="dont_care" pwr_level-1="dont_care" pwr_level-2="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="0" tap_mode="classic" trigger_index="0" type="unknown"/>
|
||||||
|
<bus is_selected="false" level-0="alt_or" level-1="alt_or" level-2="alt_or" name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|buf_data_in[7..0]" order="msb_to_lsb" storage-0="alt_or" storage-1="alt_or" storage-2="alt_or" type="register">
|
||||||
|
<net data_index="26" 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" level-1="dont_care" level-2="dont_care" name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|buf_data_in[7]" pwr_level-0="dont_care" pwr_level-1="dont_care" pwr_level-2="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="26" tap_mode="classic" trigger_index="26" type="unknown"/>
|
||||||
|
<net data_index="25" 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" level-1="dont_care" level-2="dont_care" name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|buf_data_in[6]" pwr_level-0="dont_care" pwr_level-1="dont_care" pwr_level-2="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="25" tap_mode="classic" trigger_index="25" type="unknown"/>
|
||||||
|
<net data_index="24" 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" level-1="dont_care" level-2="dont_care" name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|buf_data_in[5]" pwr_level-0="dont_care" pwr_level-1="dont_care" pwr_level-2="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="24" tap_mode="classic" trigger_index="24" type="unknown"/>
|
||||||
|
<net data_index="23" 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" level-1="dont_care" level-2="dont_care" name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|buf_data_in[4]" pwr_level-0="dont_care" pwr_level-1="dont_care" pwr_level-2="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="23" tap_mode="classic" trigger_index="23" type="unknown"/>
|
||||||
|
<net data_index="22" 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" level-1="dont_care" level-2="dont_care" name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|buf_data_in[3]" pwr_level-0="dont_care" pwr_level-1="dont_care" pwr_level-2="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="22" tap_mode="classic" trigger_index="22" type="unknown"/>
|
||||||
|
<net data_index="21" 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" level-1="dont_care" level-2="dont_care" name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|buf_data_in[2]" pwr_level-0="dont_care" pwr_level-1="dont_care" pwr_level-2="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="21" tap_mode="classic" trigger_index="21" type="unknown"/>
|
||||||
|
<net data_index="20" 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" level-1="dont_care" level-2="dont_care" name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|buf_data_in[1]" pwr_level-0="dont_care" pwr_level-1="dont_care" pwr_level-2="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="20" tap_mode="classic" trigger_index="20" type="unknown"/>
|
||||||
|
<net data_index="19" 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" level-1="dont_care" level-2="dont_care" name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|buf_data_in[0]" pwr_level-0="dont_care" pwr_level-1="dont_care" pwr_level-2="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="19" tap_mode="classic" trigger_index="19" type="unknown"/>
|
||||||
|
</bus>
|
||||||
|
<net data_index="27" 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="falling edge" level-1="dont_care" level-2="dont_care" name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|look_for_sync" pwr_level-0="dont_care" pwr_level-1="dont_care" pwr_level-2="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="27" tap_mode="classic" trigger_index="27" type="unknown"/>
|
||||||
|
<bus is_selected="false" level-0="alt_or" level-1="alt_or" level-2="alt_or" name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|buf_address[8..0]" order="msb_to_lsb" type="register">
|
||||||
|
<net data_index="18" 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|Cassette_Write:CoCo3_Cassette_Write|buf_address[8]" storage_index="18" tap_mode="classic" trigger_index="18" type="unknown"/>
|
||||||
|
<net data_index="17" 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|Cassette_Write:CoCo3_Cassette_Write|buf_address[7]" storage_index="17" tap_mode="classic" trigger_index="17" type="unknown"/>
|
||||||
|
<net data_index="16" 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|Cassette_Write:CoCo3_Cassette_Write|buf_address[6]" storage_index="16" tap_mode="classic" trigger_index="16" type="unknown"/>
|
||||||
|
<net data_index="15" 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|Cassette_Write:CoCo3_Cassette_Write|buf_address[5]" storage_index="15" tap_mode="classic" trigger_index="15" type="unknown"/>
|
||||||
|
<net data_index="14" 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|Cassette_Write:CoCo3_Cassette_Write|buf_address[4]" storage_index="14" tap_mode="classic" trigger_index="14" type="unknown"/>
|
||||||
|
<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|Cassette_Write:CoCo3_Cassette_Write|buf_address[3]" 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|Cassette_Write:CoCo3_Cassette_Write|buf_address[2]" 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|Cassette_Write:CoCo3_Cassette_Write|buf_address[1]" storage_index="11" tap_mode="classic" trigger_index="11" 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" name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|buf_address[0]" storage_index="10" tap_mode="classic" trigger_index="10" type="unknown"/>
|
||||||
|
</bus>
|
||||||
|
<bus is_selected="false" level-0="alt_or" level-1="alt_or" level-2="alt_or" name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|blk_type[7..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" level-1="low" level-2="high" name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|blk_type[7]" 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" level-1="low" level-2="high" name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|blk_type[6]" 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" level-1="low" level-2="high" name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|blk_type[5]" storage_index="7" tap_mode="classic" trigger_index="7" 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" level-1="low" level-2="high" name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|blk_type[4]" storage_index="6" tap_mode="classic" trigger_index="6" 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-1="low" level-2="high" name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|blk_type[3]" storage_index="5" tap_mode="classic" trigger_index="5" type="unknown"/>
|
||||||
|
<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-1="low" level-2="high" name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|blk_type[2]" storage_index="4" tap_mode="classic" trigger_index="4" type="unknown"/>
|
||||||
|
<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" level-1="low" level-2="high" name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|blk_type[1]" storage_index="3" tap_mode="classic" trigger_index="3" 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-1="low" level-2="high" name="emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|blk_type[0]" storage_index="2" tap_mode="classic" trigger_index="2" type="unknown"/>
|
||||||
|
</bus>
|
||||||
|
</setup_view>
|
||||||
|
<trigger_in_editor/>
|
||||||
|
<trigger_out_editor/>
|
||||||
|
</presentation>
|
||||||
|
<trigger CRC="3B99A6F0" attribute_mem_mode="false" gap_record="true" global_temp="1" name="trigger: 2024/03/24 15:44:31 #0" position="pre" power_up_trigger_mode="false" record_data_gap="true" segment_size="512" storage_mode="off" storage_qualifier_disabled="no" storage_qualifier_port_is_pin="false" 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|Cassette_Write:CoCo3_Cassette_Write|look_for_sync' == falling edge
|
||||||
|
<power_up enabled="yes">
|
||||||
|
</power_up>
|
||||||
|
<op_node>
|
||||||
|
<op_node left="608" selected="1" top="80" type="Advanced Trigger Level Result"/>
|
||||||
|
</op_node>
|
||||||
|
</level>
|
||||||
|
<level enabled="yes" name="condition2" type="basic">'emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|blk_type[0]' == low && 'emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|blk_type[1]' == low && 'emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|blk_type[2]' == low && 'emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|blk_type[3]' == low && 'emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|blk_type[4]' == low && 'emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|blk_type[5]' == low && 'emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|blk_type[6]' == low && 'emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|blk_type[7]' == low
|
||||||
|
<power_up enabled="yes">
|
||||||
|
</power_up>
|
||||||
|
<op_node>
|
||||||
|
<op_node left="362" top="95" type="Advanced Trigger Level Result"/>
|
||||||
|
</op_node>
|
||||||
|
</level>
|
||||||
|
<level enabled="yes" name="condition3" type="basic">'emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|blk_type[0]' == high && 'emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|blk_type[1]' == high && 'emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|blk_type[2]' == high && 'emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|blk_type[3]' == high && 'emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|blk_type[4]' == high && 'emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|blk_type[5]' == high && 'emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|blk_type[6]' == high && 'emu:emu|coco3fpga:coco3|Cassette_Write:CoCo3_Cassette_Write|blk_type[7]' == high
|
||||||
|
<power_up enabled="yes">
|
||||||
|
</power_up>
|
||||||
|
<op_node/>
|
||||||
|
</level>
|
||||||
|
<custom_flow_control>
|
||||||
|
<runtime_configurable comparison_operator="yes" counter_action="no" flag_action="no" logical_operator="yes" numerical_value="yes" state_transition="yes"/>
|
||||||
|
<flow_expression><![CDATA[state ST1:
|
||||||
|
trigger;]]>
|
||||||
|
</flow_expression>
|
||||||
|
<power_up_flow_expression><![CDATA[state ST1:
|
||||||
|
trigger;]]>
|
||||||
|
</power_up_flow_expression>
|
||||||
|
</custom_flow_control>
|
||||||
|
</events>
|
||||||
|
<storage_qualifier_events>
|
||||||
|
<transitional>1111111111111111111111111111
|
||||||
|
<pwr_up_transitional>1111111111111111111111111111</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 @ 2024/03/24 16:48:19 (0:0:12.7 elapsed)" power_up_mode="false" sample_depth="2048" trigger_position="256">11100000001011010011010101011110000000101101001101010101111000000010110100110101010111100000001011010011010101011110000000101101001101010101111000000010110100110101010111100000001011010011010101011110000000101101001101010101111000000010110100110101010111100000001011010011010101011110000000101101001101010101111000000010110100110101010111100000001011010011010101011110000000101101001101010101111000000010110100110101010111100000001011010011010101011110000000101101001101010101111000000010110100110101010111100000001011010011010101011110000000101101001101010101111000000010110100110101010111100000001011010011010101011110000000101101001101010101111000000010110100110101010111100000001011010011010101011110000000101101001101010101111000000010110100110101010111100000001011010011010101011110000000101101001101010101111000000010110100110101010111100000001011010011010101011110000000101101001101010101111000000010110100110101010111100000001011010011010101011110000000101101001101010101111000000010110100110101010111100000001011010011010101011110000000101101001101010101111000000010110100110101010111100000001011010011010101011110000000101101001101010101111000000010110100110101010111100000001011010011010101011110000000101101001101010101111000000010110100110101010111100000001011010011010101011110000000101101001101010101111000000010110100110101010111100000001011010011010101011110000000101101001101010101111000000010110100110101010111100000001011010011010101011110000000101101001101010101111000000010110100110101010111100000001011010011010101011110000000101101001101010101111000000010110100110101010111100000001011010011010101011110000000101101001101010101111000000010110100110101010111100000001011010011010101011110000000101101001101010101111000000010110100110101010111100000001011010011010101011110000000101101001101010101111000000010110100110101010111100000001011010011010101011110000000101101001101010101111000000010110100110101010111100000001011010011010101011110000000101101001101010101111000000010110100110101010111100000001011010011010101011110000000101101001101010101111000000010110100110101010111100000001011010011010101011110000000101101001101010101111000000010110100110101010111100000001011010011010101011110000000101101001101010101111000000010110100110101010111100000001011010011010101011110000000101101001101010101111000000010110100110101010111100000001011010011010101011110000000101101001101010101111000000010110100110101010111100000001011010011010101011110000000101101001101010101111000000010110100110101010111100000001011010011010101011110000000101101001101010101111000000010110100110101010111100000001011010011010101011110000000101101001101010101111000000010110100110101010111100000001011010011010101011110000000101101001101010101111000000010110100110101010111100000001011010011010101011110000000101101001101010101111000000010110100110101010111100000001011010011010101011110000000011101001001111000111000000001110100100111100011100000000111010010011110001110000000011101001001111000111000000001110100100111100011100000000111010010011110001110000000011101001001111000111000000001110100100111100011100000000111010010011110001110000000011101001001111000111000000001110100100111100011100000000111010010011110001110000000011101001001111000111000000001110100100111100011100000000111010010011110001110000000011101001001111000111000000001110100100111100011100000000111010010011110001110000000011101001001111000111000000001110100100111100011100000000111010010011110001110000000011101001001111000111000000001110100100111100011100000000111010010011110001110000000011101001001111000111000000001110100100111100011100000000111010010011110001110000000011101001001111000111000000001110100100111100011100000000111010010011110001110000000011101001001111000111000000001110100100111100011100000000111010010011110001110000000011101001001111000111000000001110100100111100011100000000111010010011110001110000000011101001001111000111000000001110100100111100011100000000111010010011110001110000000011101001001111000111000000001110100100111100011100000000111010010011110001110000000011101001001111000111000000001110100100111100011100000000111010010011110001110000000011101001001111000111000000001110100100111100011100000000111010010011110001110000000011101001001111000111000000001110100100111100011100000000111010010011110001110000000011101001001111000111000000001110100100111100011100000000111010010011110001110000000011101001001111000111000000001110100100111100011100000000111010010011110001110000000011101001001111000111000000001110100100111100011100000000111010010011110001110000000011101001001111000111000000001110100100111100011100000000111010010011110001110000000011101001001111000111000000001110100100111100011100000000111010010011110001110000000011101001001111000111000000001110100100111100011100000000111010010011110001110000000011101001001111000Line truncated
|
||||||
|
<extradata>1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111T111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111</extradata>
|
||||||
|
</log>
|
||||||
|
</trigger>
|
||||||
|
</signal_set>
|
||||||
|
</instance>
|
||||||
|
<mnemonics/>
|
||||||
|
<static_plugin_mnemonics/>
|
||||||
|
<global_info>
|
||||||
|
<single attribute="active instance" value="0"/>
|
||||||
|
<single attribute="config widget visible" value="1"/>
|
||||||
|
<single attribute="data log widget visible" value="1"/>
|
||||||
|
<single attribute="hierarchy widget height" value="96"/>
|
||||||
|
<single attribute="hierarchy widget visible" value="1"/>
|
||||||
|
<single attribute="instance widget visible" value="1"/>
|
||||||
|
<single attribute="jtag widget visible" value="1"/>
|
||||||
|
<single attribute="lock mode" value="0"/>
|
||||||
|
<multi attribute="column width" size="23" value="34,34,323,74,68,78,95,96,98,98,88,88,110,101,101,101,101,101,101,101,101,107,78"/>
|
||||||
|
<multi attribute="frame size" size="2" value="1024,705"/>
|
||||||
|
<multi attribute="jtag widget size" size="2" value="348,135"/>
|
||||||
|
</global_info>
|
||||||
|
</session>
|
||||||
@@ -1,148 +1,112 @@
|
|||||||
<session jtag_chain="DE-SoC on Yoda [USB-1]" jtag_device="@2: 5CSEBA6(.|ES)/5CSEMA6/.. (0x02D020DD)" sof_file="">
|
<session jtag_chain="DE-SoC on 192.168.2.111 [USB-1]" jtag_device="@2: 5CSEBA6(.|ES)/5CSEMA6/.. (0x02D020DD)" sof_file="">
|
||||||
<display_tree gui_logging_enabled="0">
|
<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_branch instance="auto_signaltap_0" signal_set="USE_GLOBAL_TEMP" trigger="USE_GLOBAL_TEMP"/>
|
||||||
</display_tree>
|
</display_tree>
|
||||||
<instance enabled="true" entity_name="sld_signaltap" is_auto_node="yes" is_expanded="true" name="auto_signaltap_0" source_file="sld_signaltap.vhd">
|
<instance enabled="true" entity_name="sld_signaltap" is_auto_node="yes" is_expanded="true" name="auto_signaltap_0" source_file="sld_signaltap.vhd">
|
||||||
<node_ip_info instance_id="0" mfg_id="110" node_id="0" version="6"/>
|
<node_ip_info instance_id="0" mfg_id="110" node_id="0" version="6"/>
|
||||||
<signal_set global_temp="1" is_expanded="true" name="signal_set: 2022/02/28 07:11:58 #0">
|
<position_info>
|
||||||
|
<single attribute="active tab" value="1"/>
|
||||||
|
<single attribute="data horizontal scroll position" value="7285"/>
|
||||||
|
<single attribute="data vertical scroll position" value="0"/>
|
||||||
|
<single attribute="setup horizontal scroll position" value="0"/>
|
||||||
|
<single attribute="setup vertical scroll position" value="0"/>
|
||||||
|
<single attribute="zoom level denominator" value="1"/>
|
||||||
|
<single attribute="zoom level numerator" value="4096"/>
|
||||||
|
<single attribute="zoom offset denominator" value="1"/>
|
||||||
|
<single attribute="zoom offset numerator" value="5"/>
|
||||||
|
<multi attribute="timebars" size="3" value="6545,7894,7287"/>
|
||||||
|
</position_info>
|
||||||
|
<signal_set global_temp="1" name="signal_set: 2023/06/14 00:31:51 #0">
|
||||||
<clock name="emu:emu|coco3fpga:coco3|CLK_57" polarity="posedge" tap_mode="classic"/>
|
<clock name="emu:emu|coco3fpga:coco3|CLK_57" polarity="posedge" tap_mode="classic"/>
|
||||||
<config pipeline_level="0" 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"/>
|
<config pipeline_level="0" 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/>
|
<top_entity/>
|
||||||
<signal_vec>
|
<signal_vec>
|
||||||
<trigger_input_vec>
|
<trigger_input_vec>
|
||||||
<wire name="emu:emu|coco3fpga:coco3|COCO3VIDEO:MISTER_COCOVID|LINE[0]" tap_mode="classic"/>
|
<wire name="emu:emu|coco3fpga:coco3|PH_2_RAW" tap_mode="classic"/>
|
||||||
<wire name="emu:emu|coco3fpga:coco3|COCO3VIDEO:MISTER_COCOVID|LINE[1]" tap_mode="classic"/>
|
<wire name="emu:emu|coco3fpga:coco3|RAM_CS" tap_mode="classic"/>
|
||||||
<wire name="emu:emu|coco3fpga:coco3|COCO3VIDEO:MISTER_COCOVID|LINE[2]" tap_mode="classic"/>
|
<wire name="emu:emu|coco3fpga:coco3|cpu_ena" tap_mode="classic"/>
|
||||||
<wire name="emu:emu|coco3fpga:coco3|COCO3VIDEO:MISTER_COCOVID|LINE[3]" tap_mode="classic"/>
|
<wire name="emu:emu|coco3fpga:coco3|data_ready" tap_mode="classic"/>
|
||||||
<wire name="emu:emu|coco3fpga:coco3|COCO3VIDEO:MISTER_COCOVID|LINE[4]" tap_mode="classic"/>
|
<wire name="emu:emu|coco3fpga:coco3|end_hold" tap_mode="classic"/>
|
||||||
<wire name="emu:emu|coco3fpga:coco3|COCO3VIDEO:MISTER_COCOVID|LINE[5]" tap_mode="classic"/>
|
<wire name="emu:emu|coco3fpga:coco3|hold" tap_mode="classic"/>
|
||||||
<wire name="emu:emu|coco3fpga:coco3|COCO3VIDEO:MISTER_COCOVID|LINE[6]" tap_mode="classic"/>
|
<wire name="emu:emu|coco3fpga:coco3|sdram_cpu_req~reg0" tap_mode="classic"/>
|
||||||
<wire name="emu:emu|coco3fpga:coco3|COCO3VIDEO:MISTER_COCOVID|LINE[7]" tap_mode="classic"/>
|
<wire name="emu:emu|coco3fpga:coco3|sdram_cpu_rnw~reg0" tap_mode="classic"/>
|
||||||
<wire name="emu:emu|coco3fpga:coco3|COCO3VIDEO:MISTER_COCOVID|LINE[8]" tap_mode="classic"/>
|
|
||||||
<wire name="emu:emu|coco3fpga:coco3|COCO3VIDEO:MISTER_COCOVID|LINE[9]" tap_mode="classic"/>
|
|
||||||
<wire name="emu:emu|coco3fpga:coco3|COCO3VIDEO:MISTER_COCOVID|VSYNC_FLAG" tap_mode="classic"/>
|
|
||||||
<wire name="emu:emu|coco3fpga:coco3|COCO3VIDEO:MISTER_COCOVID|VSYNC_N" tap_mode="classic"/>
|
|
||||||
<wire name="emu:emu|coco3fpga:coco3|RST_FF02_N" tap_mode="classic"/>
|
|
||||||
<wire name="emu:emu|coco3fpga:coco3|VSYNC1_IRQ_N" tap_mode="classic"/>
|
|
||||||
<wire name="emu:emu|coco3fpga:coco3|VSYNC1_IRQ_STAT_N" tap_mode="classic"/>
|
|
||||||
</trigger_input_vec>
|
</trigger_input_vec>
|
||||||
<data_input_vec>
|
<data_input_vec>
|
||||||
<wire name="emu:emu|coco3fpga:coco3|COCO3VIDEO:MISTER_COCOVID|LINE[0]" tap_mode="classic"/>
|
<wire name="emu:emu|coco3fpga:coco3|PH_2_RAW" tap_mode="classic"/>
|
||||||
<wire name="emu:emu|coco3fpga:coco3|COCO3VIDEO:MISTER_COCOVID|LINE[1]" tap_mode="classic"/>
|
<wire name="emu:emu|coco3fpga:coco3|RAM_CS" tap_mode="classic"/>
|
||||||
<wire name="emu:emu|coco3fpga:coco3|COCO3VIDEO:MISTER_COCOVID|LINE[2]" tap_mode="classic"/>
|
<wire name="emu:emu|coco3fpga:coco3|cpu_ena" tap_mode="classic"/>
|
||||||
<wire name="emu:emu|coco3fpga:coco3|COCO3VIDEO:MISTER_COCOVID|LINE[3]" tap_mode="classic"/>
|
<wire name="emu:emu|coco3fpga:coco3|data_ready" tap_mode="classic"/>
|
||||||
<wire name="emu:emu|coco3fpga:coco3|COCO3VIDEO:MISTER_COCOVID|LINE[4]" tap_mode="classic"/>
|
<wire name="emu:emu|coco3fpga:coco3|end_hold" tap_mode="classic"/>
|
||||||
<wire name="emu:emu|coco3fpga:coco3|COCO3VIDEO:MISTER_COCOVID|LINE[5]" tap_mode="classic"/>
|
<wire name="emu:emu|coco3fpga:coco3|hold" tap_mode="classic"/>
|
||||||
<wire name="emu:emu|coco3fpga:coco3|COCO3VIDEO:MISTER_COCOVID|LINE[6]" tap_mode="classic"/>
|
<wire name="emu:emu|coco3fpga:coco3|sdram_cpu_req~reg0" tap_mode="classic"/>
|
||||||
<wire name="emu:emu|coco3fpga:coco3|COCO3VIDEO:MISTER_COCOVID|LINE[7]" tap_mode="classic"/>
|
<wire name="emu:emu|coco3fpga:coco3|sdram_cpu_rnw~reg0" tap_mode="classic"/>
|
||||||
<wire name="emu:emu|coco3fpga:coco3|COCO3VIDEO:MISTER_COCOVID|LINE[8]" tap_mode="classic"/>
|
|
||||||
<wire name="emu:emu|coco3fpga:coco3|COCO3VIDEO:MISTER_COCOVID|LINE[9]" tap_mode="classic"/>
|
|
||||||
<wire name="emu:emu|coco3fpga:coco3|COCO3VIDEO:MISTER_COCOVID|VSYNC_FLAG" tap_mode="classic"/>
|
|
||||||
<wire name="emu:emu|coco3fpga:coco3|COCO3VIDEO:MISTER_COCOVID|VSYNC_N" tap_mode="classic"/>
|
|
||||||
<wire name="emu:emu|coco3fpga:coco3|RST_FF02_N" tap_mode="classic"/>
|
|
||||||
<wire name="emu:emu|coco3fpga:coco3|VSYNC1_IRQ_N" tap_mode="classic"/>
|
|
||||||
<wire name="emu:emu|coco3fpga:coco3|VSYNC1_IRQ_STAT_N" tap_mode="classic"/>
|
|
||||||
</data_input_vec>
|
</data_input_vec>
|
||||||
<storage_qualifier_input_vec>
|
<storage_qualifier_input_vec>
|
||||||
<wire name="emu:emu|coco3fpga:coco3|COCO3VIDEO:MISTER_COCOVID|LINE[0]" tap_mode="classic"/>
|
<wire name="emu:emu|coco3fpga:coco3|PH_2_RAW" tap_mode="classic"/>
|
||||||
<wire name="emu:emu|coco3fpga:coco3|COCO3VIDEO:MISTER_COCOVID|LINE[1]" tap_mode="classic"/>
|
<wire name="emu:emu|coco3fpga:coco3|RAM_CS" tap_mode="classic"/>
|
||||||
<wire name="emu:emu|coco3fpga:coco3|COCO3VIDEO:MISTER_COCOVID|LINE[2]" tap_mode="classic"/>
|
<wire name="emu:emu|coco3fpga:coco3|cpu_ena" tap_mode="classic"/>
|
||||||
<wire name="emu:emu|coco3fpga:coco3|COCO3VIDEO:MISTER_COCOVID|LINE[3]" tap_mode="classic"/>
|
<wire name="emu:emu|coco3fpga:coco3|data_ready" tap_mode="classic"/>
|
||||||
<wire name="emu:emu|coco3fpga:coco3|COCO3VIDEO:MISTER_COCOVID|LINE[4]" tap_mode="classic"/>
|
<wire name="emu:emu|coco3fpga:coco3|end_hold" tap_mode="classic"/>
|
||||||
<wire name="emu:emu|coco3fpga:coco3|COCO3VIDEO:MISTER_COCOVID|LINE[5]" tap_mode="classic"/>
|
<wire name="emu:emu|coco3fpga:coco3|hold" tap_mode="classic"/>
|
||||||
<wire name="emu:emu|coco3fpga:coco3|COCO3VIDEO:MISTER_COCOVID|LINE[6]" tap_mode="classic"/>
|
<wire name="emu:emu|coco3fpga:coco3|sdram_cpu_req~reg0" tap_mode="classic"/>
|
||||||
<wire name="emu:emu|coco3fpga:coco3|COCO3VIDEO:MISTER_COCOVID|LINE[7]" tap_mode="classic"/>
|
<wire name="emu:emu|coco3fpga:coco3|sdram_cpu_rnw~reg0" tap_mode="classic"/>
|
||||||
<wire name="emu:emu|coco3fpga:coco3|COCO3VIDEO:MISTER_COCOVID|LINE[8]" tap_mode="classic"/>
|
|
||||||
<wire name="emu:emu|coco3fpga:coco3|COCO3VIDEO:MISTER_COCOVID|LINE[9]" tap_mode="classic"/>
|
|
||||||
<wire name="emu:emu|coco3fpga:coco3|COCO3VIDEO:MISTER_COCOVID|VSYNC_FLAG" tap_mode="classic"/>
|
|
||||||
<wire name="emu:emu|coco3fpga:coco3|COCO3VIDEO:MISTER_COCOVID|VSYNC_N" tap_mode="classic"/>
|
|
||||||
<wire name="emu:emu|coco3fpga:coco3|RST_FF02_N" tap_mode="classic"/>
|
|
||||||
<wire name="emu:emu|coco3fpga:coco3|VSYNC1_IRQ_N" tap_mode="classic"/>
|
|
||||||
<wire name="emu:emu|coco3fpga:coco3|VSYNC1_IRQ_STAT_N" tap_mode="classic"/>
|
|
||||||
</storage_qualifier_input_vec>
|
</storage_qualifier_input_vec>
|
||||||
</signal_vec>
|
</signal_vec>
|
||||||
<presentation>
|
<presentation>
|
||||||
<unified_setup_data_view>
|
<unified_setup_data_view>
|
||||||
<node is_selected="false" level-0="alt_or" name="emu:emu|coco3fpga:coco3|COCO3VIDEO:MISTER_COCOVID|LINE[9..0]" order="msb_to_lsb" storage-0="alt_or" storage-1="alt_or" storage-2="alt_or" type="register">
|
<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|PH_2_RAW" pwr_level-0="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="0" tap_mode="classic" trigger_index="0" type="unknown"/>
|
||||||
<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" level-0="dont_care" name="emu:emu|coco3fpga:coco3|COCO3VIDEO:MISTER_COCOVID|LINE[9]" pwr_level-0="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="9" tap_mode="classic" trigger_index="9" 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|RAM_CS" pwr_level-0="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="1" tap_mode="classic" trigger_index="1" 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" level-0="dont_care" name="emu:emu|coco3fpga:coco3|COCO3VIDEO:MISTER_COCOVID|LINE[8]" pwr_level-0="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="8" tap_mode="classic" trigger_index="8" 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|cpu_ena" pwr_level-0="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="2" tap_mode="classic" trigger_index="2" 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" level-0="dont_care" name="emu:emu|coco3fpga:coco3|COCO3VIDEO:MISTER_COCOVID|LINE[7]" pwr_level-0="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="7" tap_mode="classic" trigger_index="7" type="unknown"/>
|
<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" level-0="dont_care" name="emu:emu|coco3fpga:coco3|data_ready" pwr_level-0="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="3" tap_mode="classic" trigger_index="3" 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" level-0="dont_care" name="emu:emu|coco3fpga:coco3|COCO3VIDEO:MISTER_COCOVID|LINE[6]" pwr_level-0="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="6" tap_mode="classic" trigger_index="6" type="unknown"/>
|
<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|end_hold" pwr_level-0="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="4" tap_mode="classic" trigger_index="4" 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="dont_care" name="emu:emu|coco3fpga:coco3|COCO3VIDEO:MISTER_COCOVID|LINE[5]" pwr_level-0="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="5" tap_mode="classic" trigger_index="5" 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|hold" pwr_level-0="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="5" tap_mode="classic" trigger_index="5" type="unknown"/>
|
||||||
<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|COCO3VIDEO:MISTER_COCOVID|LINE[4]" pwr_level-0="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="4" tap_mode="classic" trigger_index="4" type="unknown"/>
|
<node 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|sdram_cpu_req~reg0" tap_mode="classic" type="register"/>
|
||||||
<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" level-0="dont_care" name="emu:emu|coco3fpga:coco3|COCO3VIDEO:MISTER_COCOVID|LINE[3]" pwr_level-0="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="3" tap_mode="classic" trigger_index="3" type="unknown"/>
|
<node 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|sdram_cpu_rnw~reg0" tap_mode="classic" type="register"/>
|
||||||
<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|COCO3VIDEO:MISTER_COCOVID|LINE[2]" pwr_level-0="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="2" tap_mode="classic" trigger_index="2" 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|COCO3VIDEO:MISTER_COCOVID|LINE[1]" pwr_level-0="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="1" tap_mode="classic" trigger_index="1" 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|COCO3VIDEO:MISTER_COCOVID|LINE[0]" pwr_level-0="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="0" tap_mode="classic" trigger_index="0" type="unknown"/>
|
|
||||||
</node>
|
|
||||||
<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" level-0="low" name="emu:emu|coco3fpga:coco3|COCO3VIDEO:MISTER_COCOVID|VSYNC_N" pwr_level-0="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="11" tap_mode="classic" trigger_index="11" 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|COCO3VIDEO:MISTER_COCOVID|VSYNC_FLAG" pwr_level-0="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="10" tap_mode="classic" trigger_index="10" type="unknown"/>
|
|
||||||
<node data_index="14" 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|VSYNC1_IRQ_STAT_N" pwr_level-0="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="14" tap_mode="classic" trigger_index="14" type="unknown"/>
|
|
||||||
<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" level-0="dont_care" name="emu:emu|coco3fpga:coco3|VSYNC1_IRQ_N" pwr_level-0="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" 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" level-0="rising edge" name="emu:emu|coco3fpga:coco3|RST_FF02_N" pwr_level-0="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="12" tap_mode="classic" trigger_index="12" type="unknown"/>
|
|
||||||
</unified_setup_data_view>
|
</unified_setup_data_view>
|
||||||
<data_view>
|
<data_view>
|
||||||
<bus is_selected="false" level-0="alt_or" name="emu:emu|coco3fpga:coco3|COCO3VIDEO:MISTER_COCOVID|LINE[9..0]" order="msb_to_lsb" storage-0="alt_or" storage-1="alt_or" storage-2="alt_or" type="register">
|
<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|PH_2_RAW" pwr_level-0="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="0" tap_mode="classic" trigger_index="0" type="unknown"/>
|
||||||
<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" level-0="dont_care" name="emu:emu|coco3fpga:coco3|COCO3VIDEO:MISTER_COCOVID|LINE[9]" pwr_level-0="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="9" tap_mode="classic" trigger_index="9" 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|RAM_CS" pwr_level-0="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="1" tap_mode="classic" trigger_index="1" 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" level-0="dont_care" name="emu:emu|coco3fpga:coco3|COCO3VIDEO:MISTER_COCOVID|LINE[8]" pwr_level-0="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="8" tap_mode="classic" trigger_index="8" 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|cpu_ena" pwr_level-0="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="2" tap_mode="classic" trigger_index="2" 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" level-0="dont_care" name="emu:emu|coco3fpga:coco3|COCO3VIDEO:MISTER_COCOVID|LINE[7]" pwr_level-0="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="7" tap_mode="classic" trigger_index="7" type="unknown"/>
|
<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" level-0="dont_care" name="emu:emu|coco3fpga:coco3|data_ready" pwr_level-0="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="3" tap_mode="classic" trigger_index="3" 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" level-0="dont_care" name="emu:emu|coco3fpga:coco3|COCO3VIDEO:MISTER_COCOVID|LINE[6]" pwr_level-0="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="6" tap_mode="classic" trigger_index="6" type="unknown"/>
|
<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|end_hold" pwr_level-0="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="4" tap_mode="classic" trigger_index="4" 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="dont_care" name="emu:emu|coco3fpga:coco3|COCO3VIDEO:MISTER_COCOVID|LINE[5]" pwr_level-0="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="5" tap_mode="classic" trigger_index="5" 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|hold" pwr_level-0="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="5" tap_mode="classic" trigger_index="5" type="unknown"/>
|
||||||
<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|COCO3VIDEO:MISTER_COCOVID|LINE[4]" pwr_level-0="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="4" tap_mode="classic" trigger_index="4" 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|sdram_cpu_req~reg0" storage_index="6" tap_mode="classic" trigger_index="6" type="unknown"/>
|
||||||
<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" level-0="dont_care" name="emu:emu|coco3fpga:coco3|COCO3VIDEO:MISTER_COCOVID|LINE[3]" pwr_level-0="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="3" tap_mode="classic" trigger_index="3" 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|sdram_cpu_rnw~reg0" storage_index="7" tap_mode="classic" trigger_index="7" 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|COCO3VIDEO:MISTER_COCOVID|LINE[2]" pwr_level-0="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="2" tap_mode="classic" trigger_index="2" 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|COCO3VIDEO:MISTER_COCOVID|LINE[1]" pwr_level-0="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="1" tap_mode="classic" trigger_index="1" 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|COCO3VIDEO:MISTER_COCOVID|LINE[0]" pwr_level-0="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="0" tap_mode="classic" trigger_index="0" type="unknown"/>
|
|
||||||
</bus>
|
|
||||||
<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" level-0="low" name="emu:emu|coco3fpga:coco3|COCO3VIDEO:MISTER_COCOVID|VSYNC_N" pwr_level-0="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="11" tap_mode="classic" trigger_index="11" 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|COCO3VIDEO:MISTER_COCOVID|VSYNC_FLAG" pwr_level-0="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="10" tap_mode="classic" trigger_index="10" type="unknown"/>
|
|
||||||
<net data_index="14" 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|VSYNC1_IRQ_STAT_N" pwr_level-0="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="14" tap_mode="classic" trigger_index="14" type="unknown"/>
|
|
||||||
<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" level-0="dont_care" name="emu:emu|coco3fpga:coco3|VSYNC1_IRQ_N" pwr_level-0="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" 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" level-0="rising edge" name="emu:emu|coco3fpga:coco3|RST_FF02_N" pwr_level-0="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="12" tap_mode="classic" trigger_index="12" type="unknown"/>
|
|
||||||
</data_view>
|
</data_view>
|
||||||
<setup_view>
|
<setup_view>
|
||||||
<bus is_selected="false" level-0="alt_or" name="emu:emu|coco3fpga:coco3|COCO3VIDEO:MISTER_COCOVID|LINE[9..0]" order="msb_to_lsb" storage-0="alt_or" storage-1="alt_or" storage-2="alt_or" type="register">
|
<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|PH_2_RAW" pwr_level-0="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="0" tap_mode="classic" trigger_index="0" type="unknown"/>
|
||||||
<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" level-0="dont_care" name="emu:emu|coco3fpga:coco3|COCO3VIDEO:MISTER_COCOVID|LINE[9]" pwr_level-0="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="9" tap_mode="classic" trigger_index="9" 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|RAM_CS" pwr_level-0="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="1" tap_mode="classic" trigger_index="1" 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" level-0="dont_care" name="emu:emu|coco3fpga:coco3|COCO3VIDEO:MISTER_COCOVID|LINE[8]" pwr_level-0="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="8" tap_mode="classic" trigger_index="8" 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|cpu_ena" pwr_level-0="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="2" tap_mode="classic" trigger_index="2" 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" level-0="dont_care" name="emu:emu|coco3fpga:coco3|COCO3VIDEO:MISTER_COCOVID|LINE[7]" pwr_level-0="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="7" tap_mode="classic" trigger_index="7" type="unknown"/>
|
<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" level-0="dont_care" name="emu:emu|coco3fpga:coco3|data_ready" pwr_level-0="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="3" tap_mode="classic" trigger_index="3" 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" level-0="dont_care" name="emu:emu|coco3fpga:coco3|COCO3VIDEO:MISTER_COCOVID|LINE[6]" pwr_level-0="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="6" tap_mode="classic" trigger_index="6" type="unknown"/>
|
<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|end_hold" pwr_level-0="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="4" tap_mode="classic" trigger_index="4" 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="dont_care" name="emu:emu|coco3fpga:coco3|COCO3VIDEO:MISTER_COCOVID|LINE[5]" pwr_level-0="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="5" tap_mode="classic" trigger_index="5" 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|hold" pwr_level-0="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="5" tap_mode="classic" trigger_index="5" type="unknown"/>
|
||||||
<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|COCO3VIDEO:MISTER_COCOVID|LINE[4]" pwr_level-0="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="4" tap_mode="classic" trigger_index="4" 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|sdram_cpu_req~reg0" storage_index="6" tap_mode="classic" trigger_index="6" type="unknown"/>
|
||||||
<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" level-0="dont_care" name="emu:emu|coco3fpga:coco3|COCO3VIDEO:MISTER_COCOVID|LINE[3]" pwr_level-0="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="3" tap_mode="classic" trigger_index="3" 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|sdram_cpu_rnw~reg0" storage_index="7" tap_mode="classic" trigger_index="7" 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|COCO3VIDEO:MISTER_COCOVID|LINE[2]" pwr_level-0="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="2" tap_mode="classic" trigger_index="2" 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|COCO3VIDEO:MISTER_COCOVID|LINE[1]" pwr_level-0="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="1" tap_mode="classic" trigger_index="1" 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|COCO3VIDEO:MISTER_COCOVID|LINE[0]" pwr_level-0="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="0" tap_mode="classic" trigger_index="0" type="unknown"/>
|
|
||||||
</bus>
|
|
||||||
<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" level-0="low" name="emu:emu|coco3fpga:coco3|COCO3VIDEO:MISTER_COCOVID|VSYNC_N" pwr_level-0="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="11" tap_mode="classic" trigger_index="11" 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|COCO3VIDEO:MISTER_COCOVID|VSYNC_FLAG" pwr_level-0="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="10" tap_mode="classic" trigger_index="10" type="unknown"/>
|
|
||||||
<net data_index="14" 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|VSYNC1_IRQ_STAT_N" pwr_level-0="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="14" tap_mode="classic" trigger_index="14" type="unknown"/>
|
|
||||||
<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" level-0="dont_care" name="emu:emu|coco3fpga:coco3|VSYNC1_IRQ_N" pwr_level-0="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" 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" level-0="rising edge" name="emu:emu|coco3fpga:coco3|RST_FF02_N" pwr_level-0="dont_care" pwr_storage-0="dont_care" pwr_storage-1="dont_care" pwr_storage-2="dont_care" storage-0="dont_care" storage-1="dont_care" storage-2="dont_care" storage_index="12" tap_mode="classic" trigger_index="12" type="unknown"/>
|
|
||||||
</setup_view>
|
</setup_view>
|
||||||
<trigger_in_editor/>
|
<trigger_in_editor/>
|
||||||
<trigger_out_editor/>
|
<trigger_out_editor/>
|
||||||
</presentation>
|
</presentation>
|
||||||
<trigger CRC="B13B815D" attribute_mem_mode="false" gap_record="true" global_temp="1" name="trigger: 2022/02/28 10:02:38 #0" position="center" power_up_trigger_mode="false" record_data_gap="true" segment_size="64" storage_mode="off" storage_qualifier_disabled="no" storage_qualifier_port_is_pin="false" storage_qualifier_port_name="auto_stp_external_storage_qualifier" storage_qualifier_port_tap_mode="classic" trigger_type="circular">
|
<trigger attribute_mem_mode="false" gap_record="true" global_temp="1" name="trigger: 2023/06/14 00:31:51 #1" position="center" power_up_trigger_mode="false" record_data_gap="true" segment_size="64" storage_mode="off" storage_qualifier_disabled="no" storage_qualifier_port_is_pin="false" 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"/>
|
<power_up_trigger position="pre" storage_qualifier_disabled="no"/>
|
||||||
<events use_custom_flow_control="no">
|
<events use_custom_flow_control="no">
|
||||||
<level enabled="yes" name="condition1" type="basic">'emu:emu|coco3fpga:coco3|COCO3VIDEO:MISTER_COCOVID|VSYNC_N' == low && 'emu:emu|coco3fpga:coco3|RST_FF02_N' == rising edge
|
<level enabled="yes" name="condition1" type="basic">'emu:emu|coco3fpga:coco3|hold' == rising edge
|
||||||
<power_up enabled="yes">
|
<power_up enabled="yes">
|
||||||
</power_up>
|
</power_up>
|
||||||
<op_node/>
|
<op_node/>
|
||||||
</level>
|
</level>
|
||||||
<custom_flow_control>
|
<custom_flow_control>
|
||||||
<runtime_configurable comparison_operator="yes" counter_action="no" flag_action="no" logical_operator="yes" numerical_value="yes" state_transition="yes"/>
|
|
||||||
<flow_expression><![CDATA[state ST1:
|
<flow_expression><![CDATA[state ST1:
|
||||||
trigger;]]>
|
trigger;]]>
|
||||||
</flow_expression>
|
</flow_expression>
|
||||||
|
<runtime_configurable comparison_operator="yes" counter_action="no" flag_action="no" logical_operator="yes" numerical_value="yes" state_transition="yes"/>
|
||||||
<power_up_flow_expression><![CDATA[state ST1:
|
<power_up_flow_expression><![CDATA[state ST1:
|
||||||
trigger;]]>
|
trigger;]]>
|
||||||
</power_up_flow_expression>
|
</power_up_flow_expression>
|
||||||
</custom_flow_control>
|
</custom_flow_control>
|
||||||
</events>
|
</events>
|
||||||
<storage_qualifier_events>
|
<storage_qualifier_events>
|
||||||
<transitional>111111111111111
|
<transitional>11111111
|
||||||
<pwr_up_transitional>111111111111111</pwr_up_transitional>
|
<pwr_up_transitional>11111111</pwr_up_transitional>
|
||||||
</transitional>
|
</transitional>
|
||||||
<storage_qualifier_level type="basic">
|
<storage_qualifier_level type="basic">
|
||||||
<power_up>
|
<power_up>
|
||||||
@@ -160,23 +124,8 @@ trigger;]]>
|
|||||||
<op_node/>
|
<op_node/>
|
||||||
</storage_qualifier_level>
|
</storage_qualifier_level>
|
||||||
</storage_qualifier_events>
|
</storage_qualifier_events>
|
||||||
<log>
|
|
||||||
<data global_temp="1" name="log: Trig @ 2022/02/28 10:38:49 (0:0:0.2 elapsed) #1" power_up_mode="false" sample_depth="16384" trigger_position="8192">0110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010111110110000010Line truncated
|
|
||||||
<extradata>1111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111111Line truncated
|
|
||||||
</log>
|
|
||||||
</trigger>
|
</trigger>
|
||||||
</signal_set>
|
</signal_set>
|
||||||
<position_info>
|
|
||||||
<single attribute="active tab" value="1"/>
|
|
||||||
<single attribute="data horizontal scroll position" value="0"/>
|
|
||||||
<single attribute="data vertical scroll position" value="0"/>
|
|
||||||
<single attribute="setup horizontal scroll position" value="0"/>
|
|
||||||
<single attribute="setup vertical scroll position" value="0"/>
|
|
||||||
<single attribute="zoom level denominator" value="1"/>
|
|
||||||
<single attribute="zoom level numerator" value="1"/>
|
|
||||||
<single attribute="zoom offset denominator" value="1"/>
|
|
||||||
<single attribute="zoom offset numerator" value="114688"/>
|
|
||||||
</position_info>
|
|
||||||
</instance>
|
</instance>
|
||||||
<mnemonics/>
|
<mnemonics/>
|
||||||
<static_plugin_mnemonics/>
|
<static_plugin_mnemonics/>
|
||||||
@@ -189,7 +138,8 @@ trigger;]]>
|
|||||||
<single attribute="jtag widget visible" value="1"/>
|
<single attribute="jtag widget visible" value="1"/>
|
||||||
<single attribute="lock mode" value="0"/>
|
<single attribute="lock mode" value="0"/>
|
||||||
<multi attribute="column width" size="23" value="34,34,436,74,68,78,95,96,98,98,88,88,110,101,101,101,101,101,101,101,101,107,78"/>
|
<multi attribute="column width" size="23" value="34,34,436,74,68,78,95,96,98,98,88,88,110,101,101,101,101,101,101,101,101,107,78"/>
|
||||||
<multi attribute="frame size" size="2" value="1702,793"/>
|
<multi attribute="frame size" size="2" value="1366,705"/>
|
||||||
<multi attribute="jtag widget size" size="2" value="348,135"/>
|
<multi attribute="jtag widget size" size="2" value="348,135"/>
|
||||||
|
<single attribute="hierarchy widget height" value="137"/>
|
||||||
</global_info>
|
</global_info>
|
||||||
</session>
|
</session>
|
||||||
@@ -0,0 +1 @@
|
|||||||
|
`define BUILD_NUMBER "006"
|
||||||
+159
@@ -0,0 +1,159 @@
|
|||||||
|
1. Overlay support for the detection of no rom loading on power up AND misc
|
||||||
|
debugging. [done]
|
||||||
|
2. Fix video HSCREEN 4 mode which is used in some demos and rs-232 terminal
|
||||||
|
programs. [done]
|
||||||
|
3. Reworked sound output to faithfully emulate the analog muxing in the coco.
|
||||||
|
[done]
|
||||||
|
4. Routing RS-232 tx/rx lines to the SNAC port for initial serial debugging
|
||||||
|
of Fuji-Net interface. [done - untested]
|
||||||
|
5. Added Fujinet support.
|
||||||
|
a) Install Fujinet [seperate instruction document]
|
||||||
|
a) Slot 1 is now Fujunet only support.
|
||||||
|
b) You will need HDBDos 'HDBDW3S3' which will be autoloaded if named
|
||||||
|
BOOT2.ROM. Tested with ver 1.5 SY6551 @ 115,200 baud.
|
||||||
|
c) In the Debug menu on the OSD 'Swap Mister Uart:' is set to RS CART.
|
||||||
|
'SWAP Uart to IO:' is set to 'Off'.
|
||||||
|
d) In the 'System' page of the OSD, 'Uart Mode' Should be set to 'Fujinet'
|
||||||
|
and the baud rate to '115,200'.
|
||||||
|
e) In slot 1 ONLY [Fujinet], a cold boot issued through the OSD will cause
|
||||||
|
a firewire reset command [$FF] to be transmitted to the Fujinet daemon
|
||||||
|
which will cause the Fujinet Config screem to come up after boot.
|
||||||
|
f) The SD drive in Fujinet is configured to the CoCo3 games area on the MiSTer
|
||||||
|
storage location.
|
||||||
|
6. A bug was fixed in that this core did not allow SAM registers to be set / cleared
|
||||||
|
by reads. This was fixed with the side effect of preventing older OS9 disks
|
||||||
|
from booting. [OS9 L1v1.02]. In the OSD Debug Menu, 'SAM Wrt Only Ena' should
|
||||||
|
be set to 'Off' for true CoCo3 compadibility. Turn it on if your old OS9
|
||||||
|
disks hang.
|
||||||
|
a) This fix has moved the RTC availibility to be moved to the config data.
|
||||||
|
(see manual for details)
|
||||||
|
|
||||||
|
To Do...
|
||||||
|
1. Fix Castle of Tharoggad
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
1. Added support for cassette save. To use: A) You have to have a file [anyname.cas]
|
||||||
|
which is larger than needed. B) Select the file through the UI Menu 'Save
|
||||||
|
Cassette'. C)Set 'Cass Rwd=0 / Rec=1' to 1. D) Issue your 'CSAVE "NAME"'
|
||||||
|
E) When done, set 'Cass Rwd=0 / Rec=1' to 0 to complete the write. The file can
|
||||||
|
now be loaded or copied. Note a dummy file of a specific size can be created in
|
||||||
|
the MiSTer SSH shell in the /media/fat/games/coco3 with the command:
|
||||||
|
'truncate -s 65536 tapefileame.cas'. [Note do NOT use over 65536 file length]
|
||||||
|
2. Fixed serial interrupt [6551] to not be functional on slot 3 [carts].
|
||||||
|
3. Modification of sys_top.v to override use of USER_IO for HDMI - so it can be used
|
||||||
|
for logic analyzer debug. This will only occur when `define Config_Debug is
|
||||||
|
enabled in config.v.
|
||||||
|
4. Fixed MUGS of powerup issue occurring on some MiSTer units.
|
||||||
|
5. Fixed incorrect application of GIME_IRQ on legacy interrupts. Fixed race condition
|
||||||
|
on reading IRQ status vs clearing the interrupt.
|
||||||
|
6. Improved Castle of Tharoggad. App now loads but locks as the graphics animate. This
|
||||||
|
change improved mmu usage through to CARTS.
|
||||||
|
7. Builds now keep track of multiple builds in the same date. It shows as V240512-001 in
|
||||||
|
the menus. Its also exposed to BASIC and a boot.vhd which can be enabled to autorun is
|
||||||
|
supplied in the archive to show how it works.
|
||||||
|
8. Additionally, on the boot.vhd disk, is a program which demonstrated how to load a font -
|
||||||
|
IBMFONT.BAS. Run it and it maps a font much like the IBM font to the 80 column format.
|
||||||
|
Also, a file called TESTRTC.BAS pulls the MiSTer RTC values exposed in BASIC to display
|
||||||
|
a clock.
|
||||||
|
9. Large improvement in the Timer function. Code closer emulates COCO3 Timer. Fixes
|
||||||
|
Sliphead cart.
|
||||||
|
10. In the 20231023 release the wd1773 instances were reduced to 1 for the FDC and one for
|
||||||
|
the FDC. This saved space but introduced a bug when using multiple drives at the same
|
||||||
|
time - like a copy command. This change was removed and the copy command works again.
|
||||||
|
|
||||||
|
To Do...
|
||||||
|
1. Add Speech / Music cart
|
||||||
|
2. Fix Castle of Tharoggad
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
1. Changed PIA 2 addressing to align with real CoCo3 hardware and end at FF2F.
|
||||||
|
2. Re-arranged MiSTer drive LUNs to support future auto-boot from SDC drive 0.
|
||||||
|
3. Added 'Auto Run' feature. You must use slot 2 [SDC]. Take your floppy or HD
|
||||||
|
and copy it to a file name of 'boot.vhd'. This will be auto mounted to drive 0
|
||||||
|
on the SDC. In the menu, find a new item Auto Run:. It can be set to No, DOS or
|
||||||
|
AUTO.BAS. Choosing dos causes the 'DOS' command to be executed on power up. Setting
|
||||||
|
the option to 'AUTO.BAS' will cause a 'RUN"AUTO' command to be executed upon powerup.
|
||||||
|
Save your settings to cause the changes to be remembered. The Auto Run system re-arms
|
||||||
|
upon using the 'Cold Boot' menu item.
|
||||||
|
4. Fixed MiSTer / CoCo3 interface preventing the joysticks ever reaching the
|
||||||
|
max value of 63. Specifically '>' was changed to '>=' the DTOA values.
|
||||||
|
This fixes DonPan and is verified in Diagnostics 2.0.
|
||||||
|
5. HiRES[3] is used to enable some of the higher resolution graphics modes
|
||||||
|
Gary Becker designed into CoCo3FPGA, and while these are not fully
|
||||||
|
supported, the control signals such as HiRES[3] at $FF98 bit 6 affectt
|
||||||
|
the graphics engine. For some reason Color File II manipulates this bit
|
||||||
|
and was causing it not to work. This change requires the SG6 extensions
|
||||||
|
to be enabled to set HiRES[3]. So specifically in the Video Settings
|
||||||
|
insure CoCo3 LC is set to Yes. Color File II now works properly.
|
||||||
|
|
||||||
|
To Do...
|
||||||
|
1. Add support for cassette save.
|
||||||
|
2. Add Speech / Music cart
|
||||||
|
3. Fix Castle of Tharoggod
|
||||||
|
|
||||||
|
FYI - If you plan on playing with the build process - there is a new compile time feature
|
||||||
|
in config.v called CoCo3_Select_GIMEX_RAST. It is inactive and I suggest you leave
|
||||||
|
it as its is a upcoming change which is not ready.
|
||||||
|
|
||||||
|
|
||||||
|
1. Changed PIA 2 addressing to align with real CoCo3 hardware and end at FF2F.
|
||||||
|
2. Removal of 16 bit sound extentions as they overlap speach / sound cart. This is
|
||||||
|
accompanied by a rework of the sound mixing to be more correct.
|
||||||
|
3. Re-arranged MiSTer drive LUNs to support future auto-boot from SDC drive 0
|
||||||
|
4. Added 'Auto Run' feature. You must use slot 2 [SDC]. Take your floopy or HD
|
||||||
|
and copy it to a file name of 'boot.vhd'. This will be auto mounted to drive 0
|
||||||
|
on the SDC. In the menu, find a new item Auto Run:. It can be set to No, DOS or
|
||||||
|
AUTO.BAS. Choosing dos causes the 'DOS' command to be executed on power up. Setting
|
||||||
|
the option to 'AUTO.BAS' will cause a 'RUN"AUTO' command to be executed upon powerup.
|
||||||
|
Save your settings to cause the changes to be remembered. The Auto Run system re-arms
|
||||||
|
upon using the 'Cold Boot' menu item.
|
||||||
|
|
||||||
|
|
||||||
|
To Do...
|
||||||
|
1. Add Speech / Music cart
|
||||||
|
2. Fix Color File II
|
||||||
|
3. Fic Castle of Tharoggad
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
1. For cycle accurate 6809, changed PH2 to cpu_cycle_ena. (Improve timing of control register writes)
|
||||||
|
2. Changed PIA(s) addressing to allow complete mirror through FF00-FF3F
|
||||||
|
3. Corrected usage of SG6 enable (SW5 in orig code) which allows the usage of SG6. Formerly it was used to
|
||||||
|
enable artifacts. That is no longer true. For most compatibility it has be relabeled 'CoCo3 LC',
|
||||||
|
and it default setting is Yes which is fully compatible with the CoCo3. [setting no allows SG6 mode].
|
||||||
|
For some OS9 software this must be set to 'Yes' which is the default.
|
||||||
|
4. Added 'Artifact Type' menu in 'Video Settings' menu. Settings are 'MESS', 'Simple', and 'NONE'. 'MESS'
|
||||||
|
is the default and has improved fidelity over 'Simple' which was previously implemented in connection
|
||||||
|
with SW5 [see above]. Again, the default should be used. The artifact emulation can be turned off
|
||||||
|
by setting the option to 'NONE'. The 'Artifact Color Set' choice is only valid for 'MESS' and 'Simple'
|
||||||
|
artifact settings.
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
To Do...
|
||||||
|
1. Change PIA 2 addressing to align with real CoCo3 hardware and end at FF2F.
|
||||||
|
2. Fix Color File II
|
||||||
|
3. Fic Castle of Tharoggad
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
CTF = Compile Time Feature...
|
||||||
|
|
||||||
|
1. Interrupt system restored to previous code - improved compadibility.
|
||||||
|
2. Changed to cycle accurate 6809 (Greg Miller) at speeds up to 9.56Mhz. [CTF]
|
||||||
|
3. Recoded sdc and fdc to only have one instance of the wd1773.
|
||||||
|
4. Re-added software disable in sdc [Ext 'g'].
|
||||||
|
5. Recoded Cartridge bank switching to only exist when MiSTer slot 3 is selected. [removed soft multipak select]
|
||||||
|
6. Moved CoCo Hardware RS-232 from always existing to only existing in multipak slot 1.
|
||||||
|
7. Changed ADRS (SDS sig) decoding to = FF40-FF5f per hardware.
|
||||||
|
8. Fixed coding problem in os9 driver llcocosdc to work with MPI properly. [CTF]
|
||||||
|
9. Set default disk size to constant $555555 to fix os9 redirect problem. [CTF]
|
||||||
|
10 Disabled GART [GIMEX hardware DMA] to prevent OS9 from detecting GIMEX. [CTF]
|
||||||
|
11 Corrected missing begin statement in master timing loop.
|
||||||
|
12. Fixed Donkey King DAPD issue in Tom Mix program [DPAD now moved joysticks to limits under dpad
|
||||||
|
13. Fixed incorrect addressing of FE00-FEFF for CARTs which gets PITFALL and RAMPAGE working
|
||||||
|
14. Updated MiSTer framework
|
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
@@ -10,18 +10,21 @@ set_global_assignment -name VERILOG_FILE rtl/UART_6551/uart_6551.v
|
|||||||
set_global_assignment -name VERILOG_FILE rtl/UART_6551/6551tx.v
|
set_global_assignment -name VERILOG_FILE rtl/UART_6551/6551tx.v
|
||||||
set_global_assignment -name VERILOG_FILE rtl/UART_6551/6551rx.v
|
set_global_assignment -name VERILOG_FILE rtl/UART_6551/6551rx.v
|
||||||
set_global_assignment -name VHDL_FILE rtl/CPU09/cpu09l_128a.vhd
|
set_global_assignment -name VHDL_FILE rtl/CPU09/cpu09l_128a.vhd
|
||||||
|
set_global_assignment -name VERILOG_FILE rtl/mc6809glb/mc6809glb.v
|
||||||
set_global_assignment -name SYSTEMVERILOG_FILE rtl/coco3fpga.sv
|
set_global_assignment -name SYSTEMVERILOG_FILE rtl/coco3fpga.sv
|
||||||
#set_global_assignment -name QIP_FILE CoCo3FPGA_Common/PH2_CLK.qip
|
#set_global_assignment -name QIP_FILE CoCo3FPGA_Common/PH2_CLK.qip
|
||||||
set_global_assignment -name VERILOG_FILE rtl/pll.v
|
set_global_assignment -name VERILOG_FILE rtl/pll.v
|
||||||
set_global_assignment -name VERILOG_FILE rtl/pll/pll_0002.v
|
set_global_assignment -name VERILOG_FILE rtl/pll/pll_0002.v
|
||||||
set_global_assignment -name VERILOG_FILE rtl/cassette.v
|
set_global_assignment -name VERILOG_FILE rtl/cassette.v
|
||||||
|
set_global_assignment -name SYSTEMVERILOG_FILE rtl/Cassette_Write.sv
|
||||||
set_global_assignment -name VERILOG_FILE rtl/rtc.sv
|
set_global_assignment -name VERILOG_FILE rtl/rtc.sv
|
||||||
set_global_assignment -name VERILOG_FILE rtl/AMW.v
|
set_global_assignment -name VERILOG_FILE rtl/AMW.v
|
||||||
set_global_assignment -name VERILOG_FILE rtl/square_gen.v
|
set_global_assignment -name VERILOG_FILE rtl/square_gen.v
|
||||||
set_global_assignment -name VERILOG_FILE rtl/config.v
|
set_global_assignment -name SYSTEMVERILOG_FILE rtl/config.sv
|
||||||
set_global_assignment -name SYSTEMVERILOG_FILE rtl/fdc.sv
|
set_global_assignment -name SYSTEMVERILOG_FILE rtl/fdc.sv
|
||||||
set_global_assignment -name SYSTEMVERILOG_FILE rtl/sdc.sv
|
set_global_assignment -name SYSTEMVERILOG_FILE rtl/sdc.sv
|
||||||
set_global_assignment -name SYSTEMVERILOG_FILE rtl/sdc_top.sv
|
set_global_assignment -name SYSTEMVERILOG_FILE rtl/sdc_top.sv
|
||||||
|
set_global_assignment -name SYSTEMVERILOG_FILE rtl/Auto_Run.sv
|
||||||
set_global_assignment -name SYSTEMVERILOG_FILE rtl/ps2_mouse.v
|
set_global_assignment -name SYSTEMVERILOG_FILE rtl/ps2_mouse.v
|
||||||
set_global_assignment -name SYSTEMVERILOG_FILE rtl/sdram/sdram2.sv
|
set_global_assignment -name SYSTEMVERILOG_FILE rtl/sdram/sdram2.sv
|
||||||
set_global_assignment -name SYSTEMVERILOG_FILE rtl/wd1793.sv
|
set_global_assignment -name SYSTEMVERILOG_FILE rtl/wd1793.sv
|
||||||
@@ -32,4 +35,6 @@ set_global_assignment -name VERILOG_FILE rtl/EE_Cold_Bt.v
|
|||||||
set_global_assignment -name VHDL_FILE rtl/rom/coco_rom_32K.vhd
|
set_global_assignment -name VHDL_FILE rtl/rom/coco_rom_32K.vhd
|
||||||
set_global_assignment -name VHDL_FILE rtl/rom/coco_rom_8K.vhd
|
set_global_assignment -name VHDL_FILE rtl/rom/coco_rom_8K.vhd
|
||||||
set_global_assignment -name VHDL_FILE rtl/rom/coco_rom_16.vhd
|
set_global_assignment -name VHDL_FILE rtl/rom/coco_rom_16.vhd
|
||||||
|
set_global_assignment -name VHDL_FILE rtl/OVO.vhd
|
||||||
|
set_global_assignment -name VERILOG_FILE rtl/UIM.v
|
||||||
set_global_assignment -name SDC_FILE rtl/CoCo3FPGA.sdc
|
set_global_assignment -name SDC_FILE rtl/CoCo3FPGA.sdc
|
||||||
@@ -0,0 +1,204 @@
|
|||||||
|
<?xml version="1.0"?>
|
||||||
|
<instance entity-name="altera_pll" version="17.0" >
|
||||||
|
<generic name="debug_print_output" value="false" />
|
||||||
|
<generic name="debug_use_rbc_taf_method" value="false" />
|
||||||
|
<generic name="device_family" value="Cyclone V" />
|
||||||
|
<generic name="device" value="5CEBA2F17A7" />
|
||||||
|
<generic name="gui_device_speed_grade" value="1" />
|
||||||
|
<generic name="gui_pll_mode" value="Integer-N PLL" />
|
||||||
|
<generic name="gui_reference_clock_frequency" value="50.0" />
|
||||||
|
<generic name="gui_channel_spacing" value="0.0" />
|
||||||
|
<generic name="gui_operation_mode" value="direct" />
|
||||||
|
<generic name="gui_feedback_clock" value="Global Clock" />
|
||||||
|
<generic name="gui_fractional_cout" value="32" />
|
||||||
|
<generic name="gui_dsm_out_sel" value="1st_order" />
|
||||||
|
<generic name="gui_use_locked" value="true" />
|
||||||
|
<generic name="gui_en_adv_params" value="false" />
|
||||||
|
<generic name="gui_number_of_clocks" value="4" />
|
||||||
|
<generic name="gui_multiply_factor" value="1" />
|
||||||
|
<generic name="gui_frac_multiply_factor" value="1" />
|
||||||
|
<generic name="gui_divide_factor_n" value="1" />
|
||||||
|
<generic name="gui_cascade_counter0" value="false" />
|
||||||
|
<generic name="gui_output_clock_frequency0" value="114.545454" />
|
||||||
|
<generic name="gui_divide_factor_c0" value="1" />
|
||||||
|
<generic name="gui_actual_output_clock_frequency0" value="0 MHz" />
|
||||||
|
<generic name="gui_ps_units0" value="ps" />
|
||||||
|
<generic name="gui_phase_shift0" value="0" />
|
||||||
|
<generic name="gui_phase_shift_deg0" value="0.0" />
|
||||||
|
<generic name="gui_actual_phase_shift0" value="0" />
|
||||||
|
<generic name="gui_duty_cycle0" value="50" />
|
||||||
|
<generic name="gui_cascade_counter1" value="false" />
|
||||||
|
<generic name="gui_output_clock_frequency1" value="57.272727" />
|
||||||
|
<generic name="gui_divide_factor_c1" value="1" />
|
||||||
|
<generic name="gui_actual_output_clock_frequency1" value="0 MHz" />
|
||||||
|
<generic name="gui_ps_units1" value="ps" />
|
||||||
|
<generic name="gui_phase_shift1" value="0" />
|
||||||
|
<generic name="gui_phase_shift_deg1" value="0.0" />
|
||||||
|
<generic name="gui_actual_phase_shift1" value="0" />
|
||||||
|
<generic name="gui_duty_cycle1" value="50" />
|
||||||
|
<generic name="gui_cascade_counter2" value="false" />
|
||||||
|
<generic name="gui_output_clock_frequency2" value="28.636363" />
|
||||||
|
<generic name="gui_divide_factor_c2" value="1" />
|
||||||
|
<generic name="gui_actual_output_clock_frequency2" value="0 MHz" />
|
||||||
|
<generic name="gui_ps_units2" value="ps" />
|
||||||
|
<generic name="gui_phase_shift2" value="0" />
|
||||||
|
<generic name="gui_phase_shift_deg2" value="0.0" />
|
||||||
|
<generic name="gui_actual_phase_shift2" value="0" />
|
||||||
|
<generic name="gui_duty_cycle2" value="50" />
|
||||||
|
<generic name="gui_cascade_counter3" value="false" />
|
||||||
|
<generic name="gui_output_clock_frequency3" value="14.318181" />
|
||||||
|
<generic name="gui_divide_factor_c3" value="1" />
|
||||||
|
<generic name="gui_actual_output_clock_frequency3" value="0 MHz" />
|
||||||
|
<generic name="gui_ps_units3" value="ps" />
|
||||||
|
<generic name="gui_phase_shift3" value="0" />
|
||||||
|
<generic name="gui_phase_shift_deg3" value="0.0" />
|
||||||
|
<generic name="gui_actual_phase_shift3" value="0" />
|
||||||
|
<generic name="gui_duty_cycle3" value="50" />
|
||||||
|
<generic name="gui_cascade_counter4" value="false" />
|
||||||
|
<generic name="gui_output_clock_frequency4" value="100.0" />
|
||||||
|
<generic name="gui_divide_factor_c4" value="1" />
|
||||||
|
<generic name="gui_actual_output_clock_frequency4" value="0 MHz" />
|
||||||
|
<generic name="gui_ps_units4" value="ps" />
|
||||||
|
<generic name="gui_phase_shift4" value="0" />
|
||||||
|
<generic name="gui_phase_shift_deg4" value="0.0" />
|
||||||
|
<generic name="gui_actual_phase_shift4" value="0" />
|
||||||
|
<generic name="gui_duty_cycle4" value="50" />
|
||||||
|
<generic name="gui_cascade_counter5" value="false" />
|
||||||
|
<generic name="gui_output_clock_frequency5" value="100.0" />
|
||||||
|
<generic name="gui_divide_factor_c5" value="1" />
|
||||||
|
<generic name="gui_actual_output_clock_frequency5" value="0 MHz" />
|
||||||
|
<generic name="gui_ps_units5" value="ps" />
|
||||||
|
<generic name="gui_phase_shift5" value="0" />
|
||||||
|
<generic name="gui_phase_shift_deg5" value="0.0" />
|
||||||
|
<generic name="gui_actual_phase_shift5" value="0" />
|
||||||
|
<generic name="gui_duty_cycle5" value="50" />
|
||||||
|
<generic name="gui_cascade_counter6" value="false" />
|
||||||
|
<generic name="gui_output_clock_frequency6" value="100.0" />
|
||||||
|
<generic name="gui_divide_factor_c6" value="1" />
|
||||||
|
<generic name="gui_actual_output_clock_frequency6" value="0 MHz" />
|
||||||
|
<generic name="gui_ps_units6" value="ps" />
|
||||||
|
<generic name="gui_phase_shift6" value="0" />
|
||||||
|
<generic name="gui_phase_shift_deg6" value="0.0" />
|
||||||
|
<generic name="gui_actual_phase_shift6" value="0" />
|
||||||
|
<generic name="gui_duty_cycle6" value="50" />
|
||||||
|
<generic name="gui_cascade_counter7" value="false" />
|
||||||
|
<generic name="gui_output_clock_frequency7" value="100.0" />
|
||||||
|
<generic name="gui_divide_factor_c7" value="1" />
|
||||||
|
<generic name="gui_actual_output_clock_frequency7" value="0 MHz" />
|
||||||
|
<generic name="gui_ps_units7" value="ps" />
|
||||||
|
<generic name="gui_phase_shift7" value="0" />
|
||||||
|
<generic name="gui_phase_shift_deg7" value="0.0" />
|
||||||
|
<generic name="gui_actual_phase_shift7" value="0" />
|
||||||
|
<generic name="gui_duty_cycle7" value="50" />
|
||||||
|
<generic name="gui_cascade_counter8" value="false" />
|
||||||
|
<generic name="gui_output_clock_frequency8" value="100.0" />
|
||||||
|
<generic name="gui_divide_factor_c8" value="1" />
|
||||||
|
<generic name="gui_actual_output_clock_frequency8" value="0 MHz" />
|
||||||
|
<generic name="gui_ps_units8" value="ps" />
|
||||||
|
<generic name="gui_phase_shift8" value="0" />
|
||||||
|
<generic name="gui_phase_shift_deg8" value="0.0" />
|
||||||
|
<generic name="gui_actual_phase_shift8" value="0" />
|
||||||
|
<generic name="gui_duty_cycle8" value="50" />
|
||||||
|
<generic name="gui_cascade_counter9" value="false" />
|
||||||
|
<generic name="gui_output_clock_frequency9" value="100.0" />
|
||||||
|
<generic name="gui_divide_factor_c9" value="1" />
|
||||||
|
<generic name="gui_actual_output_clock_frequency9" value="0 MHz" />
|
||||||
|
<generic name="gui_ps_units9" value="ps" />
|
||||||
|
<generic name="gui_phase_shift9" value="0" />
|
||||||
|
<generic name="gui_phase_shift_deg9" value="0.0" />
|
||||||
|
<generic name="gui_actual_phase_shift9" value="0" />
|
||||||
|
<generic name="gui_duty_cycle9" value="50" />
|
||||||
|
<generic name="gui_cascade_counter10" value="false" />
|
||||||
|
<generic name="gui_output_clock_frequency10" value="100.0" />
|
||||||
|
<generic name="gui_divide_factor_c10" value="1" />
|
||||||
|
<generic name="gui_actual_output_clock_frequency10" value="0 MHz" />
|
||||||
|
<generic name="gui_ps_units10" value="ps" />
|
||||||
|
<generic name="gui_phase_shift10" value="0" />
|
||||||
|
<generic name="gui_phase_shift_deg10" value="0.0" />
|
||||||
|
<generic name="gui_actual_phase_shift10" value="0" />
|
||||||
|
<generic name="gui_duty_cycle10" value="50" />
|
||||||
|
<generic name="gui_cascade_counter11" value="false" />
|
||||||
|
<generic name="gui_output_clock_frequency11" value="100.0" />
|
||||||
|
<generic name="gui_divide_factor_c11" value="1" />
|
||||||
|
<generic name="gui_actual_output_clock_frequency11" value="0 MHz" />
|
||||||
|
<generic name="gui_ps_units11" value="ps" />
|
||||||
|
<generic name="gui_phase_shift11" value="0" />
|
||||||
|
<generic name="gui_phase_shift_deg11" value="0.0" />
|
||||||
|
<generic name="gui_actual_phase_shift11" value="0" />
|
||||||
|
<generic name="gui_duty_cycle11" value="50" />
|
||||||
|
<generic name="gui_cascade_counter12" value="false" />
|
||||||
|
<generic name="gui_output_clock_frequency12" value="100.0" />
|
||||||
|
<generic name="gui_divide_factor_c12" value="1" />
|
||||||
|
<generic name="gui_actual_output_clock_frequency12" value="0 MHz" />
|
||||||
|
<generic name="gui_ps_units12" value="ps" />
|
||||||
|
<generic name="gui_phase_shift12" value="0" />
|
||||||
|
<generic name="gui_phase_shift_deg12" value="0.0" />
|
||||||
|
<generic name="gui_actual_phase_shift12" value="0" />
|
||||||
|
<generic name="gui_duty_cycle12" value="50" />
|
||||||
|
<generic name="gui_cascade_counter13" value="false" />
|
||||||
|
<generic name="gui_output_clock_frequency13" value="100.0" />
|
||||||
|
<generic name="gui_divide_factor_c13" value="1" />
|
||||||
|
<generic name="gui_actual_output_clock_frequency13" value="0 MHz" />
|
||||||
|
<generic name="gui_ps_units13" value="ps" />
|
||||||
|
<generic name="gui_phase_shift13" value="0" />
|
||||||
|
<generic name="gui_phase_shift_deg13" value="0.0" />
|
||||||
|
<generic name="gui_actual_phase_shift13" value="0" />
|
||||||
|
<generic name="gui_duty_cycle13" value="50" />
|
||||||
|
<generic name="gui_cascade_counter14" value="false" />
|
||||||
|
<generic name="gui_output_clock_frequency14" value="100.0" />
|
||||||
|
<generic name="gui_divide_factor_c14" value="1" />
|
||||||
|
<generic name="gui_actual_output_clock_frequency14" value="0 MHz" />
|
||||||
|
<generic name="gui_ps_units14" value="ps" />
|
||||||
|
<generic name="gui_phase_shift14" value="0" />
|
||||||
|
<generic name="gui_phase_shift_deg14" value="0.0" />
|
||||||
|
<generic name="gui_actual_phase_shift14" value="0" />
|
||||||
|
<generic name="gui_duty_cycle14" value="50" />
|
||||||
|
<generic name="gui_cascade_counter15" value="false" />
|
||||||
|
<generic name="gui_output_clock_frequency15" value="100.0" />
|
||||||
|
<generic name="gui_divide_factor_c15" value="1" />
|
||||||
|
<generic name="gui_actual_output_clock_frequency15" value="0 MHz" />
|
||||||
|
<generic name="gui_ps_units15" value="ps" />
|
||||||
|
<generic name="gui_phase_shift15" value="0" />
|
||||||
|
<generic name="gui_phase_shift_deg15" value="0.0" />
|
||||||
|
<generic name="gui_actual_phase_shift15" value="0" />
|
||||||
|
<generic name="gui_duty_cycle15" value="50" />
|
||||||
|
<generic name="gui_cascade_counter16" value="false" />
|
||||||
|
<generic name="gui_output_clock_frequency16" value="100.0" />
|
||||||
|
<generic name="gui_divide_factor_c16" value="1" />
|
||||||
|
<generic name="gui_actual_output_clock_frequency16" value="0 MHz" />
|
||||||
|
<generic name="gui_ps_units16" value="ps" />
|
||||||
|
<generic name="gui_phase_shift16" value="0" />
|
||||||
|
<generic name="gui_phase_shift_deg16" value="0.0" />
|
||||||
|
<generic name="gui_actual_phase_shift16" value="0" />
|
||||||
|
<generic name="gui_duty_cycle16" value="50" />
|
||||||
|
<generic name="gui_cascade_counter17" value="false" />
|
||||||
|
<generic name="gui_output_clock_frequency17" value="100.0" />
|
||||||
|
<generic name="gui_divide_factor_c17" value="1" />
|
||||||
|
<generic name="gui_actual_output_clock_frequency17" value="0 MHz" />
|
||||||
|
<generic name="gui_ps_units17" value="ps" />
|
||||||
|
<generic name="gui_phase_shift17" value="0" />
|
||||||
|
<generic name="gui_phase_shift_deg17" value="0.0" />
|
||||||
|
<generic name="gui_actual_phase_shift17" value="0" />
|
||||||
|
<generic name="gui_duty_cycle17" value="50" />
|
||||||
|
<generic name="gui_pll_auto_reset" value="Off" />
|
||||||
|
<generic name="gui_pll_bandwidth_preset" value="Auto" />
|
||||||
|
<generic name="gui_en_reconf" value="false" />
|
||||||
|
<generic name="gui_en_dps_ports" value="false" />
|
||||||
|
<generic name="gui_en_phout_ports" value="false" />
|
||||||
|
<generic name="gui_phout_division" value="1" />
|
||||||
|
<generic name="gui_mif_generate" value="false" />
|
||||||
|
<generic name="gui_enable_mif_dps" value="false" />
|
||||||
|
<generic name="gui_dps_cntr" value="C0" />
|
||||||
|
<generic name="gui_dps_num" value="1" />
|
||||||
|
<generic name="gui_dps_dir" value="Positive" />
|
||||||
|
<generic name="gui_refclk_switch" value="false" />
|
||||||
|
<generic name="gui_refclk1_frequency" value="100.0" />
|
||||||
|
<generic name="gui_switchover_mode" value="Automatic Switchover" />
|
||||||
|
<generic name="gui_switchover_delay" value="0" />
|
||||||
|
<generic name="gui_active_clk" value="false" />
|
||||||
|
<generic name="gui_clk_bad" value="false" />
|
||||||
|
<generic name="gui_enable_cascade_out" value="false" />
|
||||||
|
<generic name="gui_cascade_outclk_index" value="0" />
|
||||||
|
<generic name="gui_enable_cascade_in" value="false" />
|
||||||
|
<generic name="gui_pll_cascading_mode" value="Create an adjpllin signal to connect with an upstream PLL" />
|
||||||
|
</instance>
|
||||||
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
+264
@@ -0,0 +1,264 @@
|
|||||||
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
// Project Name: CoCo3FPGA Version 5.x.x
|
||||||
|
// File Name: Auto_Run.sv
|
||||||
|
//
|
||||||
|
// CoCo3 in an FPGA
|
||||||
|
//
|
||||||
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
//
|
||||||
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
//
|
||||||
|
// Color Computer 3 compatible system on a chip
|
||||||
|
//
|
||||||
|
//
|
||||||
|
// Copyright (c) 2008 Gary Becker ([email protected])
|
||||||
|
//
|
||||||
|
// All rights reserved
|
||||||
|
//
|
||||||
|
// Redistribution and use in source and synthezised forms, with or without
|
||||||
|
// modification, are permitted provided that the following conditions are met:
|
||||||
|
//
|
||||||
|
// Redistributions of source code must retain the above copyright notice,
|
||||||
|
// this list of conditions and the following disclaimer.
|
||||||
|
//
|
||||||
|
// Redistributions in synthesized form must reproduce the above copyright
|
||||||
|
// notice, this list of conditions and the following disclaimer in the
|
||||||
|
// documentation and/or other materials provided with the distribution.
|
||||||
|
//
|
||||||
|
// Neither the name of the author nor the names of other contributors may
|
||||||
|
// be used to endorse or promote products derived from this software without
|
||||||
|
// specific prior written permission.
|
||||||
|
//
|
||||||
|
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
||||||
|
// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
|
||||||
|
// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
||||||
|
// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE
|
||||||
|
// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
||||||
|
// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
||||||
|
// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
||||||
|
// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
||||||
|
// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
||||||
|
// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||||
|
// POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
//
|
||||||
|
// Please report bugs to the author, but before you do so, please
|
||||||
|
// make sure that this is not a derivative work and that
|
||||||
|
// you have the latest version of this file.
|
||||||
|
//
|
||||||
|
//
|
||||||
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
// Stan Hodge
|
||||||
|
//
|
||||||
|
// Auto_Run by Stan Hodge 02/16/24
|
||||||
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
|
|
||||||
|
module Auto_Run(
|
||||||
|
input RESET_N,
|
||||||
|
input CLK,
|
||||||
|
input CLK_1_78,
|
||||||
|
|
||||||
|
input [1:0] MPI_SCS, // slot id
|
||||||
|
input [1:0] MODE, // from MISTer subsystem 00=NONE, 01=DOS<RET>, 10=RUN"AUTO<RET>
|
||||||
|
input AMW_ACK, // from AMW subsystem - Cold Boot setup finished
|
||||||
|
|
||||||
|
input [72:0] KEY_IN, // Keystroke array
|
||||||
|
output [72:0] KEY_OUT // Modified Keystroke array
|
||||||
|
);
|
||||||
|
|
||||||
|
|
||||||
|
// Programs
|
||||||
|
// MODE = 01
|
||||||
|
// D O S <CR>
|
||||||
|
wire [7:0] DOS_KEYFILE[0:3] = '{8'd4, 8'd15, 8'd19, 8'd48};
|
||||||
|
|
||||||
|
// MODE = 10
|
||||||
|
// R U N <S> 2 A U T O <CR>
|
||||||
|
wire [7:0] RUN_KEYFILE[0:9] = '{8'd18, 8'd21, 8'd14, 8'd55, 8'd34, 8'd1, 8'd21, 8'd20, 8'd15, 8'd48};
|
||||||
|
|
||||||
|
localparam PRESS_KEY = 1'b1;
|
||||||
|
localparam RELEASE_KEY = 1'b0;
|
||||||
|
|
||||||
|
reg [3:0] index;
|
||||||
|
reg shift;
|
||||||
|
reg [7:0] char;
|
||||||
|
reg run; // 1=running
|
||||||
|
reg key_up_down;
|
||||||
|
reg timer_19_d;
|
||||||
|
|
||||||
|
// 300ms [600ms is aprox 1024000]
|
||||||
|
reg [19:0] timer;
|
||||||
|
// timer[19] changes state every 524288 counts, ~ 0.294 seconds.
|
||||||
|
|
||||||
|
reg timer_enable; // 1=run, 0=stop and clear
|
||||||
|
|
||||||
|
localparam st_beg0 = 4'd0;
|
||||||
|
localparam st_beg1 = 4'd1;
|
||||||
|
localparam st_beg2 = 4'd2;
|
||||||
|
localparam st_start = 4'd3;
|
||||||
|
localparam st_1 = 4'd4;
|
||||||
|
localparam st_2 = 4'd5;
|
||||||
|
localparam st_3 = 4'd6;
|
||||||
|
|
||||||
|
reg [3:0] state;
|
||||||
|
|
||||||
|
reg first_time = 1'b1;
|
||||||
|
|
||||||
|
/////////////////////////////////////////////////////////////
|
||||||
|
// Timer
|
||||||
|
|
||||||
|
always @ (negedge CLK or negedge RESET_N)
|
||||||
|
begin
|
||||||
|
if(!RESET_N)
|
||||||
|
begin
|
||||||
|
timer <= 20'b00000000000000000000;
|
||||||
|
end
|
||||||
|
else
|
||||||
|
begin
|
||||||
|
if (CLK_1_78)
|
||||||
|
begin
|
||||||
|
if (timer_enable)
|
||||||
|
timer <= timer + 1'b1;
|
||||||
|
else
|
||||||
|
timer <= 20'b00000000000000000000;
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
/////////////////////////////////////////////////////////////
|
||||||
|
// Output
|
||||||
|
|
||||||
|
always @(*)
|
||||||
|
begin
|
||||||
|
|
||||||
|
KEY_OUT <= KEY_IN;
|
||||||
|
|
||||||
|
if (run)
|
||||||
|
begin
|
||||||
|
if (shift)
|
||||||
|
begin
|
||||||
|
KEY_OUT[55] <= key_up_down;
|
||||||
|
KEY_OUT[char] <= key_up_down;
|
||||||
|
end
|
||||||
|
else
|
||||||
|
begin
|
||||||
|
KEY_OUT[char] <= key_up_down;
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
|
||||||
|
/////////////////////////////////////////////////////////////
|
||||||
|
// Main State Mach
|
||||||
|
|
||||||
|
always @ (negedge CLK or negedge RESET_N)
|
||||||
|
begin
|
||||||
|
if(!RESET_N)
|
||||||
|
begin
|
||||||
|
state <= st_beg0;
|
||||||
|
shift <= 1'b0;
|
||||||
|
index <= 4'd0;
|
||||||
|
run <= 1'b0;
|
||||||
|
timer_enable <= 1'b0;
|
||||||
|
key_up_down <= RELEASE_KEY;
|
||||||
|
timer_19_d <= 1'b0;
|
||||||
|
end
|
||||||
|
else
|
||||||
|
begin
|
||||||
|
|
||||||
|
if (AMW_ACK)
|
||||||
|
first_time <= 1'b1;
|
||||||
|
|
||||||
|
timer_19_d <= timer[19];
|
||||||
|
|
||||||
|
case(state)
|
||||||
|
|
||||||
|
st_beg0:
|
||||||
|
begin
|
||||||
|
timer_enable <= 1'b1;
|
||||||
|
if (!timer[19] && timer_19_d)
|
||||||
|
state <= st_beg1;
|
||||||
|
end
|
||||||
|
|
||||||
|
st_beg1:
|
||||||
|
begin
|
||||||
|
if (!timer[19] && timer_19_d)
|
||||||
|
state <= st_beg2;
|
||||||
|
end
|
||||||
|
|
||||||
|
st_beg2:
|
||||||
|
begin
|
||||||
|
if (!timer[19] && timer_19_d)
|
||||||
|
begin
|
||||||
|
state <= st_start;
|
||||||
|
timer_enable <= 1'b0;
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
st_start:
|
||||||
|
begin
|
||||||
|
if (first_time && (MPI_SCS == 2'b01))
|
||||||
|
begin
|
||||||
|
if (MODE == 2'b01) //DOS
|
||||||
|
begin
|
||||||
|
if (DOS_KEYFILE[index] == 8'd55)
|
||||||
|
shift <= 1'b1;
|
||||||
|
char <= DOS_KEYFILE[index];
|
||||||
|
run <= 1'b1;
|
||||||
|
state <= st_1;
|
||||||
|
end
|
||||||
|
else if (MODE == 2'b10) //RUN"AUTO
|
||||||
|
begin
|
||||||
|
if (RUN_KEYFILE[index] == 8'd55)
|
||||||
|
shift <= 1'b1;
|
||||||
|
char <= RUN_KEYFILE[index];
|
||||||
|
run <= 1'b1;
|
||||||
|
state <= st_1;
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
st_1:
|
||||||
|
begin
|
||||||
|
index <= index + 1'b1;
|
||||||
|
if (shift && (char == 8'd55)) // read next char
|
||||||
|
state <= st_start;
|
||||||
|
else
|
||||||
|
begin
|
||||||
|
timer_enable <= 1'b1;
|
||||||
|
key_up_down <= PRESS_KEY;
|
||||||
|
state <= st_2;
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
st_2:
|
||||||
|
begin
|
||||||
|
if (timer[17] == 1'b1) // 300ms time passed
|
||||||
|
begin
|
||||||
|
key_up_down <= RELEASE_KEY;
|
||||||
|
state <= st_3;
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
st_3:
|
||||||
|
begin
|
||||||
|
if (timer[17] == 1'b0) // 300ms time passed
|
||||||
|
begin
|
||||||
|
shift <= 1'b0;
|
||||||
|
timer_enable <= 1'b0;
|
||||||
|
if (char == 7'd48) // we are done
|
||||||
|
begin
|
||||||
|
first_time <= 1'b0;
|
||||||
|
run <= 1'b0;
|
||||||
|
end
|
||||||
|
state <= st_start;
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
default:;
|
||||||
|
endcase
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
|
||||||
|
endmodule
|
||||||
@@ -0,0 +1,533 @@
|
|||||||
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
// Project Name: CoCo3FPGA Version 5.x.x
|
||||||
|
// File Name: Cassette_Write.sv
|
||||||
|
//
|
||||||
|
// CoCo3 in an FPGA
|
||||||
|
//
|
||||||
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
//
|
||||||
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
//
|
||||||
|
// Color Computer 3 compatible system on a chip
|
||||||
|
//
|
||||||
|
//
|
||||||
|
// Copyright (c) 2008 Gary Becker ([email protected])
|
||||||
|
//
|
||||||
|
// All rights reserved
|
||||||
|
//
|
||||||
|
// Redistribution and use in source and synthezised forms, with or without
|
||||||
|
// modification, are permitted provided that the following conditions are met:
|
||||||
|
//
|
||||||
|
// Redistributions of source code must retain the above copyright notice,
|
||||||
|
// this list of conditions and the following disclaimer.
|
||||||
|
//
|
||||||
|
// Redistributions in synthesized form must reproduce the above copyright
|
||||||
|
// notice, this list of conditions and the following disclaimer in the
|
||||||
|
// documentation and/or other materials provided with the distribution.
|
||||||
|
//
|
||||||
|
// Neither the name of the author nor the names of other contributors may
|
||||||
|
// be used to endorse or promote products derived from this software without
|
||||||
|
// specific prior written permission.
|
||||||
|
//
|
||||||
|
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
||||||
|
// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
|
||||||
|
// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
||||||
|
// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE
|
||||||
|
// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
||||||
|
// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
||||||
|
// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
||||||
|
// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
||||||
|
// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
||||||
|
// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||||
|
// POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
//
|
||||||
|
// Please report bugs to the author, but before you do so, please
|
||||||
|
// make sure that this is not a derivative work and that
|
||||||
|
// you have the latest version of this file.
|
||||||
|
//
|
||||||
|
//
|
||||||
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
// Stan Hodge
|
||||||
|
//
|
||||||
|
// Cassette_Write by Stan Hodge 03/18/24
|
||||||
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
|
|
||||||
|
module Cassette_Write(
|
||||||
|
input RESET_N,
|
||||||
|
input CLK,
|
||||||
|
input CLK_1_78,
|
||||||
|
|
||||||
|
input CASS_REWIND_RECORD,
|
||||||
|
input MOTOR_ON,
|
||||||
|
input [5:0] DTOA_CODE,
|
||||||
|
|
||||||
|
// SD block level interface
|
||||||
|
|
||||||
|
input img_mounted, // signaling that new image has been mounted
|
||||||
|
input img_readonly, // mounted as read only. valid only for active bit in img_mounted
|
||||||
|
input [63:0] img_size, // size of image in bytes.
|
||||||
|
|
||||||
|
output [31:0] sd_lba,
|
||||||
|
output [5:0] sd_blk_cnt, // number of blocks-1, total size ((sd_blk_cnt+1)*(1<<(BLKSZ+7))) must be <= 16384!
|
||||||
|
output reg sd_rd,
|
||||||
|
output reg sd_wr,
|
||||||
|
input sd_ack,
|
||||||
|
|
||||||
|
// SD byte level access. Signals for 2-PORT altsyncram.
|
||||||
|
input [8:0] sd_buff_addr,
|
||||||
|
input [7:0] sd_buff_dout,
|
||||||
|
output [7:0] sd_buff_din,
|
||||||
|
input sd_buff_wr
|
||||||
|
|
||||||
|
);
|
||||||
|
|
||||||
|
|
||||||
|
// Create 16x sample clock for the 2400 Baud rate...
|
||||||
|
// ~26us based on 1.78Mhz [562 ns]- divide by 46....
|
||||||
|
// Generate 1.78 Mhz [enable] GP clk
|
||||||
|
reg clk_sample;
|
||||||
|
reg [5:0] clk_sample_ctr;
|
||||||
|
|
||||||
|
localparam Divide_Rate = 6'd45;
|
||||||
|
|
||||||
|
always @ (negedge CLK or negedge RESET_N)
|
||||||
|
begin
|
||||||
|
if(!RESET_N)
|
||||||
|
begin
|
||||||
|
clk_sample <= 1'b0;
|
||||||
|
clk_sample_ctr <= 6'b000000;
|
||||||
|
end
|
||||||
|
else
|
||||||
|
begin
|
||||||
|
clk_sample <= 1'b0;
|
||||||
|
if (CLK_1_78)
|
||||||
|
begin
|
||||||
|
clk_sample_ctr <= clk_sample_ctr + 1'b1;
|
||||||
|
if (clk_sample_ctr == Divide_Rate)
|
||||||
|
begin
|
||||||
|
clk_sample <= 1'b1;
|
||||||
|
clk_sample_ctr <= 6'b000000;
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
// Mounted SD Image [for the cass]
|
||||||
|
// This is not used and only here for completeness
|
||||||
|
|
||||||
|
//reg drive_wp;
|
||||||
|
//reg [31:0] drive_size;
|
||||||
|
|
||||||
|
//always @(negedge img_mounted)
|
||||||
|
//begin
|
||||||
|
// drive_wp <= img_readonly;
|
||||||
|
// drive_size <= img_size[31:0]; //Size / 256 on [31:8]
|
||||||
|
//end
|
||||||
|
|
||||||
|
// Set to 1 512 byte block per r/w
|
||||||
|
assign sd_blk_cnt = 6'd0;
|
||||||
|
|
||||||
|
|
||||||
|
// Byte Receiver
|
||||||
|
|
||||||
|
reg [15:0] incomming_reg;
|
||||||
|
|
||||||
|
reg [5:0] bit_time;
|
||||||
|
reg [2:0] bit_count;
|
||||||
|
reg wave_negative;
|
||||||
|
|
||||||
|
localparam time_out = 6'h3f;
|
||||||
|
localparam wave_zero_level = 6'd32;
|
||||||
|
localparam bit_time_1 = 6'd22;
|
||||||
|
localparam sync = 15'b0111_1000_1010_101; // Pre shift $553C [L -> R]
|
||||||
|
localparam sync_proper = 8'h3C;
|
||||||
|
localparam leader = 8'h55;
|
||||||
|
localparam pre_rollover = 9'h1FF;
|
||||||
|
localparam rollover = 9'h000;
|
||||||
|
|
||||||
|
reg byte_clk;
|
||||||
|
reg look_for_sync;
|
||||||
|
reg flush_end, flush_end_que;
|
||||||
|
reg sd_hold;
|
||||||
|
reg pre_roll;
|
||||||
|
reg [7:0] blk_type;
|
||||||
|
reg [7:0] protocol_data_count;
|
||||||
|
reg gap;
|
||||||
|
|
||||||
|
// Buffer interface
|
||||||
|
wire [8:0] buf_address;
|
||||||
|
wire [7:0] buf_data_in;
|
||||||
|
wire [7:0] buf_data_out;
|
||||||
|
wire buf_write;
|
||||||
|
|
||||||
|
// State Mach states
|
||||||
|
localparam st_beg0 = 4'd0;
|
||||||
|
localparam st_start = 4'd1;
|
||||||
|
localparam st_st1 = 4'd2;
|
||||||
|
localparam st_st2 = 4'd3;
|
||||||
|
localparam st_wr = 4'd4;
|
||||||
|
localparam st_wr1 = 4'd5;
|
||||||
|
|
||||||
|
reg [3:0] st_state;
|
||||||
|
reg [3:0] state_stack;
|
||||||
|
|
||||||
|
localparam p_sync = 3'd0;
|
||||||
|
localparam p_blk_type = 3'd1;
|
||||||
|
localparam p_len = 3'd2;
|
||||||
|
localparam p_dta = 3'd3;
|
||||||
|
localparam p_cksum = 3'd4;
|
||||||
|
|
||||||
|
reg [2:0] p_state;
|
||||||
|
|
||||||
|
localparam sd_wr_st = 2'd0;
|
||||||
|
localparam sd_wr_st1 = 2'd1;
|
||||||
|
localparam sd_wr_st2 = 2'd2;
|
||||||
|
|
||||||
|
reg [1:0] sd_wr_state;
|
||||||
|
|
||||||
|
|
||||||
|
always @ (negedge CLK or negedge RESET_N)
|
||||||
|
begin
|
||||||
|
if(!RESET_N)
|
||||||
|
begin
|
||||||
|
buf_address <= 9'b000000000;
|
||||||
|
byte_clk <= 1'b0;
|
||||||
|
bit_count <= 3'b000;
|
||||||
|
incomming_reg <= 16'h0000;
|
||||||
|
bit_time <= 6'b000000;
|
||||||
|
wave_negative <= 1'b0;
|
||||||
|
look_for_sync <= 1'b1;
|
||||||
|
|
||||||
|
buf_write <= 1'b0;
|
||||||
|
st_state <= st_beg0;
|
||||||
|
p_state <= p_sync;
|
||||||
|
flush_end <= 1'b0;
|
||||||
|
flush_end_que <= 1'b0;
|
||||||
|
|
||||||
|
sd_lba <= 32'd0;
|
||||||
|
sd_wr <= 1'b0;
|
||||||
|
sd_rd <= 1'b0;
|
||||||
|
|
||||||
|
sd_wr_state <= sd_wr_st;
|
||||||
|
sd_hold <= 1'b0;
|
||||||
|
pre_roll <= 1'b0;
|
||||||
|
gap <= 1'b0;
|
||||||
|
end
|
||||||
|
else
|
||||||
|
begin
|
||||||
|
// Synchronus Clears
|
||||||
|
if (!MOTOR_ON)
|
||||||
|
begin
|
||||||
|
// Receiver Resets
|
||||||
|
byte_clk <= 1'b0;
|
||||||
|
bit_count <= 3'b000;
|
||||||
|
incomming_reg <= 16'h0000;
|
||||||
|
bit_time <= 6'b000000;
|
||||||
|
wave_negative <= 1'b0;
|
||||||
|
look_for_sync <= 1'b1;
|
||||||
|
end
|
||||||
|
|
||||||
|
if (!CASS_REWIND_RECORD)
|
||||||
|
begin
|
||||||
|
// Eject Tape
|
||||||
|
byte_clk <= 1'b0;
|
||||||
|
bit_count <= 3'b000;
|
||||||
|
incomming_reg <= 16'h0000;
|
||||||
|
bit_time <= 6'b000000;
|
||||||
|
wave_negative <= 1'b0;
|
||||||
|
look_for_sync <= 1'b1;
|
||||||
|
|
||||||
|
st_state <= st_beg0;
|
||||||
|
p_state <= p_sync;
|
||||||
|
buf_write <= 1'b0;
|
||||||
|
flush_end <= 1'b0;
|
||||||
|
flush_end_que <= 1'b0;
|
||||||
|
|
||||||
|
sd_lba <= 32'd0;
|
||||||
|
sd_wr <= 1'b0;
|
||||||
|
sd_rd <= 1'b0;
|
||||||
|
|
||||||
|
sd_wr_state <= sd_wr_st;
|
||||||
|
sd_hold <= 1'b0;
|
||||||
|
pre_roll <= 1'b0;
|
||||||
|
gap <= 1'b0;
|
||||||
|
end
|
||||||
|
|
||||||
|
byte_clk <= 1'b0;
|
||||||
|
|
||||||
|
// 2400/1200 baud receiver
|
||||||
|
if (clk_sample)
|
||||||
|
begin
|
||||||
|
if (DTOA_CODE < wave_zero_level)
|
||||||
|
wave_negative <= 1'b1;
|
||||||
|
else
|
||||||
|
wave_negative <= 1'b0;
|
||||||
|
bit_time <= bit_time + 1'b1;
|
||||||
|
|
||||||
|
// Zero crossing detect
|
||||||
|
if ((DTOA_CODE >= wave_zero_level) && wave_negative)
|
||||||
|
begin
|
||||||
|
// Initially we are not collecting the leader bytes just collecting them and
|
||||||
|
// waiting for the sync $3C55. The write to file stage will automatically
|
||||||
|
// write the 128 leader bytes befor we start transfering data.
|
||||||
|
if (!look_for_sync)
|
||||||
|
begin
|
||||||
|
bit_count <= bit_count + 1'b1;
|
||||||
|
if (bit_count == 3'b111)
|
||||||
|
byte_clk <= 1'b1;
|
||||||
|
end
|
||||||
|
// Shift
|
||||||
|
incomming_reg[14:0] <= incomming_reg[15:1];
|
||||||
|
if (bit_time < bit_time_1)
|
||||||
|
incomming_reg[15] <= 1'b1;
|
||||||
|
else
|
||||||
|
begin
|
||||||
|
incomming_reg[15] <= 1'b0;
|
||||||
|
if (incomming_reg[15:1] == sync)
|
||||||
|
begin
|
||||||
|
look_for_sync <= 1'b0;
|
||||||
|
byte_clk <= 1'b1;
|
||||||
|
end
|
||||||
|
end
|
||||||
|
bit_time <= 6'b000000;
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
// Normal clocking starts here
|
||||||
|
case(st_state)
|
||||||
|
|
||||||
|
st_beg0:
|
||||||
|
begin
|
||||||
|
// When we start we write 128 bytes of leader to the buffer
|
||||||
|
// before we start with the protocol stuff
|
||||||
|
if (MOTOR_ON)
|
||||||
|
begin
|
||||||
|
buf_address <= 9'b000000000;
|
||||||
|
buf_data_in <= leader;
|
||||||
|
protocol_data_count <= 8'h80; // We will use this to count the 128 bytes
|
||||||
|
|
||||||
|
st_state <= st_start;
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
st_start:
|
||||||
|
begin
|
||||||
|
state_stack <= st_start; // We come back here
|
||||||
|
st_state <= st_wr; // Write a byte
|
||||||
|
protocol_data_count <= protocol_data_count - 1'b1;
|
||||||
|
if (protocol_data_count == 8'h00) // 128 bytes
|
||||||
|
begin
|
||||||
|
st_state <= st_st1; // No, don't write any more - were done
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
st_st1:
|
||||||
|
begin
|
||||||
|
if (byte_clk)
|
||||||
|
begin
|
||||||
|
case(p_state)
|
||||||
|
|
||||||
|
p_sync:
|
||||||
|
begin
|
||||||
|
if (incomming_reg[15:8] == sync_proper)
|
||||||
|
begin
|
||||||
|
buf_data_in <= incomming_reg[15:8];
|
||||||
|
state_stack <= st_st1; // We come back here
|
||||||
|
st_state <= st_wr; // Write a byte
|
||||||
|
p_state <= p_blk_type;
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
p_blk_type:
|
||||||
|
begin
|
||||||
|
buf_data_in <= incomming_reg[15:8];
|
||||||
|
blk_type <= incomming_reg[15:8];
|
||||||
|
state_stack <= st_st1; // We come back here
|
||||||
|
st_state <= st_wr; // Write a byte
|
||||||
|
p_state <= p_len;
|
||||||
|
end
|
||||||
|
|
||||||
|
p_len:
|
||||||
|
begin
|
||||||
|
buf_data_in <= incomming_reg[15:8];
|
||||||
|
protocol_data_count <= incomming_reg[15:8];
|
||||||
|
state_stack <= st_st1; // We come back here
|
||||||
|
st_state <= st_wr; // Write a byte
|
||||||
|
if (incomming_reg[15:8] == 8'h00)
|
||||||
|
p_state <= p_cksum;
|
||||||
|
else
|
||||||
|
p_state <= p_dta;
|
||||||
|
end
|
||||||
|
|
||||||
|
p_dta:
|
||||||
|
begin
|
||||||
|
buf_data_in <= incomming_reg[15:8];
|
||||||
|
protocol_data_count <= protocol_data_count - 1'b1;
|
||||||
|
state_stack <= st_st1; // We come back here
|
||||||
|
st_state <= st_wr; // Write a byte
|
||||||
|
p_state <= p_dta;
|
||||||
|
if ((blk_type == 8'h00) & (protocol_data_count == 8'h05) & (incomming_reg[15:8] == 8'hff))
|
||||||
|
gap <= 1'b1;
|
||||||
|
if (protocol_data_count == 8'h01)
|
||||||
|
p_state <= p_cksum;
|
||||||
|
end
|
||||||
|
|
||||||
|
p_cksum:
|
||||||
|
begin
|
||||||
|
buf_data_in <= incomming_reg[15:8];
|
||||||
|
look_for_sync <= 1'b1;
|
||||||
|
if (blk_type == 8'hff)
|
||||||
|
begin
|
||||||
|
flush_end_que <= 1'b1;
|
||||||
|
state_stack <= st_st1; // We come back here [close it]
|
||||||
|
end
|
||||||
|
else
|
||||||
|
state_stack <= st_st2; // We come back here [next block]
|
||||||
|
st_state <= st_wr; // Write a byte
|
||||||
|
p_state <= p_sync;
|
||||||
|
end
|
||||||
|
|
||||||
|
default:;
|
||||||
|
endcase
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
st_st2:
|
||||||
|
begin
|
||||||
|
buf_data_in <= leader;
|
||||||
|
if ((blk_type == 8'h00) || gap)
|
||||||
|
protocol_data_count <= 8'h80; // We will use this to count the 128 bytes
|
||||||
|
else
|
||||||
|
protocol_data_count <= 8'h02; // We will use this to count the 2 bytes
|
||||||
|
st_state <= st_start; // No, don't write any more - were done
|
||||||
|
end
|
||||||
|
|
||||||
|
// Perform the byte writes to the buffer
|
||||||
|
// This acts like a sub routine....
|
||||||
|
st_wr:
|
||||||
|
begin
|
||||||
|
if (!sd_hold)
|
||||||
|
begin
|
||||||
|
buf_write <= 1'b1;
|
||||||
|
st_state <= st_wr1;
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
st_wr1:
|
||||||
|
begin
|
||||||
|
buf_address <= buf_address + 1'b1;
|
||||||
|
buf_write <= 1'b0;
|
||||||
|
flush_end <= flush_end_que;
|
||||||
|
flush_end_que <= 1'b0;
|
||||||
|
st_state <= state_stack;
|
||||||
|
end
|
||||||
|
|
||||||
|
default:;
|
||||||
|
endcase
|
||||||
|
|
||||||
|
// Handle SD buf clear
|
||||||
|
case(sd_wr_state)
|
||||||
|
|
||||||
|
sd_wr_st:
|
||||||
|
begin
|
||||||
|
if (buf_address == pre_rollover)
|
||||||
|
pre_roll <= 1'b1; // Stop writing to buffer
|
||||||
|
if ((buf_address == rollover) & pre_roll) // If buffer full - write it to SD
|
||||||
|
begin
|
||||||
|
pre_roll <= 1'b0;
|
||||||
|
|
||||||
|
sd_wr <= 1'b1;
|
||||||
|
sd_wr_state <= sd_wr_st1;
|
||||||
|
|
||||||
|
sd_hold <= 1'b1; // Hold writes
|
||||||
|
end
|
||||||
|
if (flush_end) // Write remainder of the buffer at th end...
|
||||||
|
begin
|
||||||
|
sd_wr <= 1'b1;
|
||||||
|
flush_end <= 1'b0;
|
||||||
|
sd_hold <= 1'b1;
|
||||||
|
sd_wr_state <= sd_wr_st1;
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
sd_wr_st1:
|
||||||
|
begin
|
||||||
|
if (sd_ack)
|
||||||
|
begin
|
||||||
|
sd_wr <= 1'b0;
|
||||||
|
sd_wr_state <= sd_wr_st2;
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
sd_wr_st2:
|
||||||
|
begin
|
||||||
|
if (!sd_ack)
|
||||||
|
begin
|
||||||
|
sd_hold <= 1'b0;
|
||||||
|
sd_lba <= sd_lba + 1'b1;
|
||||||
|
sd_wr_state <= sd_wr_st;
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
default:;
|
||||||
|
endcase
|
||||||
|
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
|
||||||
|
cass_dpram cas_wr_buff
|
||||||
|
(
|
||||||
|
.clock(CLK),
|
||||||
|
.address_a(sd_buff_addr),
|
||||||
|
.data_a(sd_buff_dout),
|
||||||
|
.wren_a(sd_buff_wr),
|
||||||
|
.q_a(sd_buff_din),
|
||||||
|
|
||||||
|
.address_b(buf_address),
|
||||||
|
.data_b(buf_data_in),
|
||||||
|
.wren_b(buf_write),
|
||||||
|
.q_b(buf_data_out)
|
||||||
|
);
|
||||||
|
|
||||||
|
|
||||||
|
endmodule
|
||||||
|
|
||||||
|
|
||||||
|
module cass_dpram
|
||||||
|
(
|
||||||
|
input clock,
|
||||||
|
|
||||||
|
input [8:0] address_a,
|
||||||
|
input [7:0] data_a,
|
||||||
|
input wren_a,
|
||||||
|
output reg [7:0] q_a,
|
||||||
|
|
||||||
|
input [8:0] address_b,
|
||||||
|
input [7:0] data_b,
|
||||||
|
input wren_b,
|
||||||
|
output reg [7:0] q_b
|
||||||
|
);
|
||||||
|
|
||||||
|
logic [7:0] ram[0:511];
|
||||||
|
|
||||||
|
always_ff@(posedge clock) begin
|
||||||
|
if(wren_a) begin
|
||||||
|
ram[address_a] <= data_a;
|
||||||
|
q_a <= data_a;
|
||||||
|
end else begin
|
||||||
|
q_a <= ram[address_a];
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
always_ff@(posedge clock) begin
|
||||||
|
if(wren_b) begin
|
||||||
|
ram[address_b] <= data_b;
|
||||||
|
q_b <= data_b;
|
||||||
|
end else begin
|
||||||
|
q_b <= ram[address_b];
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
endmodule
|
||||||
@@ -5,6 +5,7 @@ create_clock -period 1000.000 -name img_mounted[2] [get_nodes emu:emu|hps_io:hps
|
|||||||
create_clock -period 1000.000 -name img_mounted[1] [get_nodes emu:emu|hps_io:hps_io|img_mounted[1]]
|
create_clock -period 1000.000 -name img_mounted[1] [get_nodes emu:emu|hps_io:hps_io|img_mounted[1]]
|
||||||
create_clock -period 1000.000 -name img_mounted[0] [get_nodes emu:emu|hps_io:hps_io|img_mounted[0]]
|
create_clock -period 1000.000 -name img_mounted[0] [get_nodes emu:emu|hps_io:hps_io|img_mounted[0]]
|
||||||
create_clock -period 1000.000 -name RESET_N [get_nodes emu:emu|coco3fpga:coco3|RESET_N]
|
create_clock -period 1000.000 -name RESET_N [get_nodes emu:emu|coco3fpga:coco3|RESET_N]
|
||||||
|
create_clock -period 1000.000 -name NMISample2 [get_nodes emu:emu|coco3fpga:coco3|mc6809x:GLBCPU09|NMISample2]
|
||||||
#set_false_path -from [get_nodes sysmem_lite:sysmem|sysmem_HPS_fpga_interfaces:fpga_interfaces|clocks_resets~FF_4365]
|
#set_false_path -from [get_nodes sysmem_lite:sysmem|sysmem_HPS_fpga_interfaces:fpga_interfaces|clocks_resets~FF_4365]
|
||||||
#create_clock -period 17.46 -name PH_2 [get_nodes emu:emu|coco3fpga:coco3|PH_2_RAW]
|
#create_clock -period 17.46 -name PH_2 [get_nodes emu:emu|coco3fpga:coco3|PH_2_RAW]
|
||||||
#create_clock -period 1000.000 -name CLK_6551[4] [get_nodes emu:emu|coco3fpga:coco3|CLK_6551[4]]
|
#create_clock -period 1000.000 -name CLK_6551[4] [get_nodes emu:emu|coco3fpga:coco3|CLK_6551[4]]
|
||||||
|
|||||||
+15
-2
@@ -55,6 +55,7 @@
|
|||||||
|
|
||||||
module EE_Cold_Bt(
|
module EE_Cold_Bt(
|
||||||
input CLK,
|
input CLK,
|
||||||
|
input RESET,
|
||||||
|
|
||||||
input Display_EE, // from MISTer subsystem
|
input Display_EE, // from MISTer subsystem
|
||||||
input Cold_Boot, // from MISTer subsystem
|
input Cold_Boot, // from MISTer subsystem
|
||||||
@@ -106,9 +107,20 @@ assign Start_Display_EE = ((Display_EE == 1'b1) & (Display_EE_D == 1'b0));
|
|||||||
assign Start_Cold_Boot = ((Cold_Boot == 1'b1) & (Cold_Boot_D == 1'b0));
|
assign Start_Cold_Boot = ((Cold_Boot == 1'b1) & (Cold_Boot_D == 1'b0));
|
||||||
|
|
||||||
|
|
||||||
always @(posedge CLK)
|
always @ (posedge CLK or posedge RESET)
|
||||||
begin
|
begin
|
||||||
|
if(RESET)
|
||||||
|
begin
|
||||||
|
Display_EE_D <= 1'b0;
|
||||||
|
Cold_Boot_D <= 1'b0;
|
||||||
|
EE <= 1'b1;
|
||||||
|
N_RESET <= 1'b1;
|
||||||
|
prog <= 48'h000000000000;
|
||||||
|
next_instruction <= 1'b0;
|
||||||
|
timer <= 24'h000000;
|
||||||
|
end
|
||||||
|
else
|
||||||
|
begin
|
||||||
Display_EE_D <= Display_EE;
|
Display_EE_D <= Display_EE;
|
||||||
Cold_Boot_D <= Cold_Boot;
|
Cold_Boot_D <= Cold_Boot;
|
||||||
|
|
||||||
@@ -205,6 +217,7 @@ begin
|
|||||||
default:;
|
default:;
|
||||||
|
|
||||||
endcase
|
endcase
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
endmodule
|
endmodule
|
||||||
+724
-212
File diff suppressed because it is too large.
Load diff
+195
@@ -0,0 +1,195 @@
|
|||||||
|
--------------------------------------------------------------------------------
|
||||||
|
-- Overlay
|
||||||
|
--------------------------------------------------------------------------------
|
||||||
|
-- DO 10/2017
|
||||||
|
-- SH 5/15/26 Modified for COCO3
|
||||||
|
--------------------------------------------------------------------------------
|
||||||
|
LIBRARY ieee;
|
||||||
|
USE ieee.std_logic_1164.ALL;
|
||||||
|
USE ieee.numeric_std.ALL;
|
||||||
|
|
||||||
|
ENTITY ovo IS
|
||||||
|
GENERIC (
|
||||||
|
COLS : natural :=32;
|
||||||
|
LINES : natural :=2;
|
||||||
|
RGB : unsigned(23 DOWNTO 0) :=x"FFFFFF";
|
||||||
|
H_OFFSET : natural :=4;
|
||||||
|
V_OFFSET : natural :=45
|
||||||
|
);
|
||||||
|
|
||||||
|
PORT (
|
||||||
|
-- VGA IN
|
||||||
|
i_r : IN unsigned(7 DOWNTO 0);
|
||||||
|
i_g : IN unsigned(7 DOWNTO 0);
|
||||||
|
i_b : IN unsigned(7 DOWNTO 0);
|
||||||
|
-- i_hs : IN std_logic;
|
||||||
|
-- i_vs : IN std_logic;
|
||||||
|
-- i_de : IN std_logic;
|
||||||
|
-- i_en : IN std_logic;
|
||||||
|
i_clk : IN std_logic;
|
||||||
|
|
||||||
|
i_Hcount : IN unsigned(10 DOWNTO 0);
|
||||||
|
i_VCount : IN unsigned(9 DOWNTO 0);
|
||||||
|
|
||||||
|
-- VGA_OUT
|
||||||
|
o_r : OUT unsigned(7 DOWNTO 0);
|
||||||
|
o_g : OUT unsigned(7 DOWNTO 0);
|
||||||
|
o_b : OUT unsigned(7 DOWNTO 0);
|
||||||
|
-- o_hs : OUT std_logic;
|
||||||
|
-- o_vs : OUT std_logic;
|
||||||
|
-- o_de : OUT std_logic;
|
||||||
|
|
||||||
|
-- Control
|
||||||
|
ena : IN std_logic; -- Overlay ON/OFF
|
||||||
|
|
||||||
|
-- Probes
|
||||||
|
in0 : IN unsigned(COLS*5-1 downto 0);
|
||||||
|
in1 : IN unsigned(COLS*5-1 downto 0)
|
||||||
|
);
|
||||||
|
END ENTITY ovo;
|
||||||
|
|
||||||
|
--##############################################################################
|
||||||
|
ARCHITECTURE rtl OF ovo IS
|
||||||
|
TYPE arr_slv8 IS ARRAY (natural RANGE <>) OF unsigned(7 DOWNTO 0);
|
||||||
|
CONSTANT chars : arr_slv8 :=(
|
||||||
|
x"3E", x"63", x"73", x"7B", x"6F", x"67", x"3E", x"00", -- 0
|
||||||
|
x"0C", x"0E", x"0C", x"0C", x"0C", x"0C", x"3F", x"00", -- 1
|
||||||
|
x"1E", x"33", x"30", x"1C", x"06", x"33", x"3F", x"00", -- 2
|
||||||
|
x"1E", x"33", x"30", x"1C", x"30", x"33", x"1E", x"00", -- 3
|
||||||
|
x"38", x"3C", x"36", x"33", x"7F", x"30", x"78", x"00", -- 4
|
||||||
|
x"3F", x"03", x"1F", x"30", x"30", x"33", x"1E", x"00", -- 5
|
||||||
|
x"1C", x"06", x"03", x"1F", x"33", x"33", x"1E", x"00", -- 6
|
||||||
|
x"3F", x"33", x"30", x"18", x"0C", x"0C", x"0C", x"00", -- 7
|
||||||
|
x"1E", x"33", x"33", x"1E", x"33", x"33", x"1E", x"00", -- 8
|
||||||
|
x"1E", x"33", x"33", x"3E", x"30", x"18", x"0E", x"00", -- 9
|
||||||
|
x"0C", x"1E", x"33", x"33", x"3F", x"33", x"33", x"00", -- A
|
||||||
|
x"3F", x"66", x"66", x"3E", x"66", x"66", x"3F", x"00", -- B
|
||||||
|
x"3C", x"66", x"03", x"03", x"03", x"66", x"3C", x"00", -- C
|
||||||
|
x"1F", x"36", x"66", x"66", x"66", x"36", x"1F", x"00", -- D
|
||||||
|
x"7F", x"46", x"16", x"1E", x"16", x"46", x"7F", x"00", -- E
|
||||||
|
x"7F", x"46", x"16", x"1E", x"16", x"06", x"0F", x"00", -- F
|
||||||
|
x"00", x"00", x"00", x"00", x"00", x"00", x"00", x"00", --' ' 10
|
||||||
|
x"00", x"00", x"3F", x"00", x"00", x"3F", x"00", x"00", -- = 11
|
||||||
|
x"00", x"0C", x"0C", x"3F", x"0C", x"0C", x"00", x"00", -- + 12
|
||||||
|
x"00", x"00", x"00", x"3F", x"00", x"00", x"00", x"00", -- - 13
|
||||||
|
x"18", x"0C", x"06", x"03", x"06", x"0C", x"18", x"00", -- < 14
|
||||||
|
x"06", x"0C", x"18", x"30", x"18", x"0C", x"06", x"00", -- > 15
|
||||||
|
x"08", x"1C", x"36", x"63", x"41", x"00", x"00", x"00", -- ^ 16
|
||||||
|
x"08", x"1C", x"36", x"63", x"41", x"00", x"00", x"00", -- v 17
|
||||||
|
x"18", x"0C", x"06", x"06", x"06", x"0C", x"18", x"00", -- ( 18
|
||||||
|
x"06", x"0C", x"18", x"18", x"18", x"0C", x"06", x"00", -- ) 19
|
||||||
|
x"00", x"0C", x"0C", x"00", x"00", x"0C", x"0C", x"00", -- : 1A
|
||||||
|
-- x"00", x"00", x"00", x"00", x"00", x"0C", x"0C", x"00", -- . 1B
|
||||||
|
-- x"00", x"00", x"00", x"00", x"00", x"0C", x"0C", x"06", -- , 1C
|
||||||
|
-- x"1E", x"33", x"30", x"18", x"0C", x"00", x"0C", x"00", -- ? 1D
|
||||||
|
-- x"18", x"18", x"18", x"00", x"18", x"18", x"18", x"00", -- | 1E
|
||||||
|
x"41", x"43", x"45", x"49", x"51", x"61", x"41", x"00", -- N 1B
|
||||||
|
x"3E", x"41", x"41", x"41", x"41", x"41", x"3E", x"00", -- O 1C
|
||||||
|
x"3F", x"41", x"41", x"3F", x"11", x"21", x"41", x"00", -- R 1D
|
||||||
|
x"41", x"63", x"55", x"49", x"41", x"41", x"41", x"00", -- M 1E
|
||||||
|
x"36", x"36", x"7F", x"36", x"7F", x"36", x"36", x"00"); -- # 1F
|
||||||
|
SIGNAL vcpt,hcpt,hcpt2 : natural RANGE 0 TO 4095;
|
||||||
|
SIGNAL vin0,vin1 : unsigned(0 TO COLS*5-1);
|
||||||
|
SIGNAL t_r,t_g,t_b : unsigned(7 DOWNTO 0);
|
||||||
|
SIGNAL t_hs,t_vs,t_de : std_logic;
|
||||||
|
SIGNAL col : unsigned(7 DOWNTO 0);
|
||||||
|
SIGNAL de : std_logic;
|
||||||
|
|
||||||
|
SIGNAL in0s,in1s : unsigned(in0'range);
|
||||||
|
BEGIN
|
||||||
|
|
||||||
|
in0s<=in0 WHEN rising_edge(i_clk);
|
||||||
|
in1s<=in1 WHEN rising_edge(i_clk);
|
||||||
|
----------------------------------------------------------
|
||||||
|
Megamix:PROCESS(i_clk) IS
|
||||||
|
VARIABLE vin_v : unsigned(0 TO 32*5-1);
|
||||||
|
VARIABLE char_v : unsigned(4 DOWNTO 0);
|
||||||
|
BEGIN
|
||||||
|
IF rising_edge(i_clk) THEN
|
||||||
|
--IF i_en='1' THEN
|
||||||
|
----------------------------------
|
||||||
|
-- Propagate VGA signals. 2 cycles delay
|
||||||
|
t_r<=i_r;
|
||||||
|
t_g<=i_g;
|
||||||
|
t_b<=i_b;
|
||||||
|
-- t_hs<=i_hs;
|
||||||
|
-- t_vs<=i_vs;
|
||||||
|
-- t_de<=i_de;
|
||||||
|
|
||||||
|
o_r<=t_r;
|
||||||
|
o_g<=t_g;
|
||||||
|
o_b<=t_b;
|
||||||
|
-- o_hs<=t_hs;
|
||||||
|
-- o_vs<=t_vs;
|
||||||
|
-- o_de<=t_de;
|
||||||
|
|
||||||
|
----------------------------------
|
||||||
|
-- Latch sampled values during vertical sync
|
||||||
|
-- IF i_vs='1' THEN
|
||||||
|
IF (i_Hcount="000000000" and i_VCount="000000000") THEN
|
||||||
|
vin0<=in0s;
|
||||||
|
vin1<=in1s;
|
||||||
|
END IF;
|
||||||
|
|
||||||
|
----------------------------------
|
||||||
|
-- IF i_vs='1' THEN
|
||||||
|
-- vcpt<=0;
|
||||||
|
-- de<='0';
|
||||||
|
-- ELSIF i_hs='1' AND t_hs='0' AND de='1' THEN
|
||||||
|
-- vcpt<=(vcpt+1) MOD 4096;
|
||||||
|
-- END IF;
|
||||||
|
-- if (i_Hcount < 148) then -- 148 = video left border
|
||||||
|
-- if (i_Hcount < 148) then -- 148 = video left border
|
||||||
|
if (i_Hcount < H_OFFSET) then -- 4 = video left border
|
||||||
|
hcpt <= COLS*8;
|
||||||
|
else
|
||||||
|
hcpt <= to_integer(i_Hcount)-H_OFFSET;
|
||||||
|
end if;
|
||||||
|
-- if (i_Vcount < 16) then
|
||||||
|
-- if (i_Vcount < 16) then
|
||||||
|
if (i_Vcount < V_OFFSET) then
|
||||||
|
vcpt <= 512;
|
||||||
|
else
|
||||||
|
vcpt <= to_integer(i_Vcount)-V_OFFSET;
|
||||||
|
end if;
|
||||||
|
|
||||||
|
----------------------------------
|
||||||
|
IF (vcpt/8) MOD 2=0 THEN
|
||||||
|
vin_v:=vin0;
|
||||||
|
ELSE
|
||||||
|
vin_v:=vin1;
|
||||||
|
END IF;
|
||||||
|
|
||||||
|
-- IF i_hs='1' THEN
|
||||||
|
-- hcpt<=0;
|
||||||
|
-- ELSIF i_de='1' THEN
|
||||||
|
-- hcpt<=(hcpt+1) MOD 4096;
|
||||||
|
-- de<='1';
|
||||||
|
-- END IF;
|
||||||
|
hcpt2<=hcpt;
|
||||||
|
|
||||||
|
----------------------------------
|
||||||
|
-- Pick characters
|
||||||
|
IF hcpt<COLS * 8 AND vcpt<LINES * 8 THEN
|
||||||
|
-- no=> need to reverse string so 0-4 is left (not right!)
|
||||||
|
char_v:=vin_v((hcpt/8)*5 TO (hcpt/8)*5+4);
|
||||||
|
-- char_v:=vin_v(((COLS-1) - (hcpt/8))*5 TO ((COLS-1) - (hcpt/8))*5+4);
|
||||||
|
ELSE
|
||||||
|
char_v:="10000"; -- " " : Blank character
|
||||||
|
END IF;
|
||||||
|
|
||||||
|
col<=chars(to_integer(char_v)*8+(vcpt MOD 8));
|
||||||
|
|
||||||
|
----------------------------------
|
||||||
|
-- Insert Overlay
|
||||||
|
IF ena='1' THEN
|
||||||
|
IF col(hcpt2 MOD 8)='1' THEN
|
||||||
|
o_r<=RGB(23 DOWNTO 16);
|
||||||
|
o_g<=RGB(15 DOWNTO 8);
|
||||||
|
o_b<=RGB( 7 DOWNTO 0);
|
||||||
|
END IF;
|
||||||
|
END IF;
|
||||||
|
--END IF;
|
||||||
|
END IF;
|
||||||
|
END PROCESS Megamix;
|
||||||
|
END ARCHITECTURE rtl;
|
||||||
@@ -308,8 +308,15 @@ end
|
|||||||
assign TX_CLK = (CTL_REG[3:0] == 4'h0) ? XTAL_CLK_IN:
|
assign TX_CLK = (CTL_REG[3:0] == 4'h0) ? XTAL_CLK_IN:
|
||||||
TX_CLK_REG;
|
TX_CLK_REG;
|
||||||
|
|
||||||
assign RX_CLK = (CTL_REG[4] == 1'b0) ? RX_CLK_IN:
|
//assign RX_CLK = (CTL_REG[4] == 1'b0) ? RX_CLK_IN:
|
||||||
TX_CLK;
|
// TX_CLK;
|
||||||
|
|
||||||
|
// Receiver clock. CTL bit 4 = 0 selects the external RxC input, which used to
|
||||||
|
// be the fixed 1.8475 MHz enable (115,200 baud): a program writing CTL=$0F
|
||||||
|
// (19,200, bit 4 clear -- the FujiNet HDB-DOS L3 cart) then transmitted at
|
||||||
|
// 19,200 but received at 115,200. RxC is taken from the baud generator
|
||||||
|
// instead; for CTL[3:0]=0 that is the same 1.8475 MHz clock as before.
|
||||||
|
assign RX_CLK = TX_CLK;
|
||||||
|
|
||||||
assign RESET_X = RESET_NX ? 1'b0:
|
assign RESET_X = RESET_NX ? 1'b0:
|
||||||
RESET_N;
|
RESET_N;
|
||||||
|
|||||||
@@ -0,0 +1,196 @@
|
|||||||
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
// Project Name: CoCo3FPGA Version 5.0
|
||||||
|
// File Name: UIM.v
|
||||||
|
//
|
||||||
|
// CoCo3 in an FPGA
|
||||||
|
//
|
||||||
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
//
|
||||||
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
//
|
||||||
|
// Color Computer 3 compatible system on a chip
|
||||||
|
//
|
||||||
|
//
|
||||||
|
// Copyright (c) 2008 Gary Becker ([email protected])
|
||||||
|
//
|
||||||
|
// All rights reserved
|
||||||
|
//
|
||||||
|
// Redistribution and use in source and synthezised forms, with or without
|
||||||
|
// modification, are permitted provided that the following conditions are met:
|
||||||
|
//
|
||||||
|
// Redistributions of source code must retain the above copyright notice,
|
||||||
|
// this list of conditions and the following disclaimer.
|
||||||
|
//
|
||||||
|
// Redistributions in synthesized form must reproduce the above copyright
|
||||||
|
// notice, this list of conditions and the following disclaimer in the
|
||||||
|
// documentation and/or other materials provided with the distribution.
|
||||||
|
//
|
||||||
|
// Neither the name of the author nor the names of other contributors may
|
||||||
|
// be used to endorse or promote products derived from this software without
|
||||||
|
// specific prior written permission.
|
||||||
|
//
|
||||||
|
// THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
||||||
|
// AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO,
|
||||||
|
// THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
|
||||||
|
// PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE
|
||||||
|
// LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
|
||||||
|
// CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
|
||||||
|
// SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
|
||||||
|
// INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
|
||||||
|
// CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
|
||||||
|
// ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
|
||||||
|
// POSSIBILITY OF SUCH DAMAGE.
|
||||||
|
//
|
||||||
|
// Please report bugs to the author, but before you do so, please
|
||||||
|
// make sure that this is not a derivative work and that
|
||||||
|
// you have the latest version of this file.
|
||||||
|
//
|
||||||
|
//
|
||||||
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
// Stan Hodge
|
||||||
|
//
|
||||||
|
// UART Injection Module by Stan Hodge 11/8/26
|
||||||
|
//
|
||||||
|
// This module uses the AMW_END chain to cause a $FF to be written to the 6551
|
||||||
|
// uart, then delay until that transmission has been made, then pass on the AMW_END.
|
||||||
|
// This only occurs in slot 1. In other slots, AMW_END_OUT = AMW_END_IN.
|
||||||
|
//
|
||||||
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
|
|
||||||
|
module UIM(
|
||||||
|
input CLK,
|
||||||
|
input RESET_N,
|
||||||
|
|
||||||
|
input [1:0] MPI_SCS,
|
||||||
|
input PH_2,
|
||||||
|
|
||||||
|
input AMW_END_IN,
|
||||||
|
input ENABLE_IN,
|
||||||
|
input RW_N_IN,
|
||||||
|
|
||||||
|
input [1:0] ADDRESS_IN,
|
||||||
|
input [7:0] DATA_IN,
|
||||||
|
|
||||||
|
|
||||||
|
output AMW_END_OUT,
|
||||||
|
output ENABLE_OUT,
|
||||||
|
output RW_N_OUT,
|
||||||
|
|
||||||
|
output [1:0] ADDRESS_OUT,
|
||||||
|
output [7:0] DATA_OUT
|
||||||
|
|
||||||
|
);
|
||||||
|
|
||||||
|
////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
|
|
||||||
|
localparam UIM_START = 3'd0;
|
||||||
|
localparam UIM_F1 = 3'd1;
|
||||||
|
localparam UIM_F2 = 3'd2;
|
||||||
|
localparam UIM_F3 = 3'd3;
|
||||||
|
localparam UIM_F4 = 3'd4;
|
||||||
|
localparam UIM_F5 = 3'd5;
|
||||||
|
localparam UIM_F6 = 3'd6;
|
||||||
|
localparam UIM_ST_END = 3'd7;
|
||||||
|
|
||||||
|
reg [2:0] state;
|
||||||
|
reg mux,rw,ena,timer_ena, AMW_END_OUT_ST;
|
||||||
|
reg [13:0] timer;
|
||||||
|
|
||||||
|
assign ADDRESS_OUT = (mux == 1'b0) ? ADDRESS_IN:
|
||||||
|
2'b00;
|
||||||
|
|
||||||
|
assign DATA_OUT = (mux == 1'b0) ? DATA_IN:
|
||||||
|
8'b11111111;
|
||||||
|
|
||||||
|
assign RW_N_OUT = (mux == 1'b0) ? RW_N_IN:
|
||||||
|
rw;
|
||||||
|
|
||||||
|
assign ENABLE_OUT = (mux == 1'b0) ? ENABLE_IN:
|
||||||
|
ena;
|
||||||
|
|
||||||
|
assign AMW_END_OUT = (MPI_SCS == 2'b00) ? AMW_END_OUT_ST:
|
||||||
|
AMW_END_IN;
|
||||||
|
|
||||||
|
always @(negedge CLK or negedge RESET_N)
|
||||||
|
begin
|
||||||
|
if(!RESET_N)
|
||||||
|
begin
|
||||||
|
state <= UIM_START;
|
||||||
|
mux <= 1'b0;
|
||||||
|
rw <= 1'b1;
|
||||||
|
ena <= 1'b0;
|
||||||
|
timer <= 14'b00000000000000;
|
||||||
|
timer_ena <=1'b0;
|
||||||
|
AMW_END_OUT_ST <= 1'b0;
|
||||||
|
end
|
||||||
|
else
|
||||||
|
begin
|
||||||
|
|
||||||
|
if (timer_ena == 1'b1)
|
||||||
|
timer <= timer + 1'b1;
|
||||||
|
|
||||||
|
case(state)
|
||||||
|
|
||||||
|
UIM_START:
|
||||||
|
begin
|
||||||
|
if ((MPI_SCS == 2'b00) && (AMW_END_IN == 1'b1))
|
||||||
|
state <= UIM_F1;
|
||||||
|
end
|
||||||
|
|
||||||
|
UIM_F1:
|
||||||
|
begin
|
||||||
|
mux <= 1'b1;
|
||||||
|
state <= UIM_F2;
|
||||||
|
end
|
||||||
|
|
||||||
|
UIM_F2:
|
||||||
|
begin
|
||||||
|
ena <= 1'b1;
|
||||||
|
state <= UIM_F3;
|
||||||
|
end
|
||||||
|
|
||||||
|
UIM_F3:
|
||||||
|
begin
|
||||||
|
rw <= 1'b0;
|
||||||
|
state <= UIM_F4;
|
||||||
|
end
|
||||||
|
|
||||||
|
UIM_F4:
|
||||||
|
begin
|
||||||
|
if (PH_2)
|
||||||
|
begin
|
||||||
|
rw <= 1'b1;
|
||||||
|
state <= UIM_F5;
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
UIM_F5:
|
||||||
|
begin
|
||||||
|
ena <= 1'b0;
|
||||||
|
state <= UIM_F6;
|
||||||
|
end
|
||||||
|
|
||||||
|
UIM_F6:
|
||||||
|
begin
|
||||||
|
mux <= 1'b0;
|
||||||
|
timer_ena <= 1'b1;
|
||||||
|
state <= UIM_ST_END;
|
||||||
|
end
|
||||||
|
|
||||||
|
UIM_ST_END:
|
||||||
|
begin
|
||||||
|
if (timer[13] == 1'b1)
|
||||||
|
begin
|
||||||
|
AMW_END_OUT_ST <= 1'b1;
|
||||||
|
timer_ena <= 1'b0;
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
default:;
|
||||||
|
endcase
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
endmodule
|
||||||
+256
-257
@@ -21,261 +21,260 @@ ADDRESS_RADIX=HEX;
|
|||||||
DATA_RADIX=HEX;
|
DATA_RADIX=HEX;
|
||||||
|
|
||||||
CONTENT BEGIN
|
CONTENT BEGIN
|
||||||
00 : 0000;
|
000 : 0000;
|
||||||
01 : 0008;
|
001 : 0010;
|
||||||
02 : 0010;
|
002 : 0020;
|
||||||
03 : 0018;
|
003 : 0030;
|
||||||
04 : 0020;
|
004 : 0040;
|
||||||
05 : 0028;
|
005 : 0050;
|
||||||
06 : 0030;
|
006 : 0060;
|
||||||
07 : 0038;
|
007 : 0070;
|
||||||
08 : 0040;
|
008 : 0080;
|
||||||
09 : 0048;
|
009 : 0090;
|
||||||
0A : 0050;
|
00A : 00A0;
|
||||||
0B : 0058;
|
00B : 00B0;
|
||||||
0C : 0060;
|
00C : 00C0;
|
||||||
0D : 0068;
|
00D : 00D0;
|
||||||
0E : 0070;
|
00E : 00E0;
|
||||||
0F : 0078;
|
00F : 00F0;
|
||||||
10 : 0080;
|
010 : 0100;
|
||||||
11 : 0088;
|
011 : 0110;
|
||||||
12 : 0090;
|
012 : 0120;
|
||||||
13 : 0098;
|
013 : 0130;
|
||||||
14 : 00A0;
|
014 : 0140;
|
||||||
15 : 00A8;
|
015 : 0150;
|
||||||
16 : 00B0;
|
016 : 0160;
|
||||||
17 : 00B8;
|
017 : 0170;
|
||||||
18 : 00C0;
|
018 : 0180;
|
||||||
19 : 00C8;
|
019 : 0190;
|
||||||
1A : 00D0;
|
01A : 01A0;
|
||||||
1B : 00D8;
|
01B : 01B0;
|
||||||
1C : 00E0;
|
01C : 01C0;
|
||||||
1D : 00E8;
|
01D : 01D0;
|
||||||
1E : 00F0;
|
01E : 01E0;
|
||||||
1F : 00F8;
|
01F : 01F0;
|
||||||
20 : 0100;
|
020 : 0200;
|
||||||
21 : 0108;
|
021 : 0210;
|
||||||
22 : 0110;
|
022 : 0220;
|
||||||
23 : 0118;
|
023 : 0230;
|
||||||
24 : 0120;
|
024 : 0240;
|
||||||
25 : 0128;
|
025 : 0250;
|
||||||
26 : 0130;
|
026 : 0260;
|
||||||
27 : 0138;
|
027 : 0270;
|
||||||
28 : 0140;
|
028 : 0280;
|
||||||
29 : 0148;
|
029 : 0290;
|
||||||
2A : 0150;
|
02A : 02A0;
|
||||||
2B : 0158;
|
02B : 02B0;
|
||||||
2C : 0160;
|
02C : 02C0;
|
||||||
2D : 0168;
|
02D : 02D0;
|
||||||
2E : 0170;
|
02E : 02E0;
|
||||||
2F : 0178;
|
02F : 02F0;
|
||||||
30 : 0180;
|
030 : 0300;
|
||||||
31 : 0188;
|
031 : 0310;
|
||||||
32 : 0190;
|
032 : 0320;
|
||||||
33 : 0198;
|
033 : 0330;
|
||||||
34 : 01A0;
|
034 : 0340;
|
||||||
35 : 01A8;
|
035 : 0350;
|
||||||
36 : 01B0;
|
036 : 0360;
|
||||||
37 : 01B8;
|
037 : 0370;
|
||||||
38 : 01C0;
|
038 : 0380;
|
||||||
39 : 01C8;
|
039 : 0390;
|
||||||
3A : 01D0;
|
03A : 03A0;
|
||||||
3B : 01D8;
|
03B : 03B0;
|
||||||
3C : 01E0;
|
03C : 03C0;
|
||||||
3D : 01E8;
|
03D : 03D0;
|
||||||
3E : 01F0;
|
03E : 03E0;
|
||||||
3F : 01F8;
|
03F : 03F0;
|
||||||
40 : 0000;
|
040 : 0400;
|
||||||
41 : 0009;
|
041 : 0410;
|
||||||
42 : 0012;
|
042 : 0420;
|
||||||
43 : 001B;
|
043 : 0430;
|
||||||
44 : 0024;
|
044 : 0440;
|
||||||
45 : 002D;
|
045 : 0450;
|
||||||
46 : 0036;
|
046 : 0460;
|
||||||
47 : 003F;
|
047 : 0470;
|
||||||
48 : 0048;
|
048 : 0480;
|
||||||
49 : 0201;
|
049 : 0490;
|
||||||
4A : 005A;
|
04A : 04A0;
|
||||||
4B : 0213;
|
04B : 04B0;
|
||||||
4C : 006C;
|
04C : 04C0;
|
||||||
4D : 0225;
|
04D : 04D0;
|
||||||
4E : 007E;
|
04E : 04E0;
|
||||||
4F : 0237;
|
04F : 04F0;
|
||||||
50 : 0090;
|
050 : 0500;
|
||||||
51 : 0099;
|
051 : 0510;
|
||||||
52 : 0402;
|
052 : 0520;
|
||||||
53 : 040B;
|
053 : 0530;
|
||||||
54 : 00B4;
|
054 : 0540;
|
||||||
55 : 00BD;
|
055 : 0550;
|
||||||
56 : 0426;
|
056 : 0560;
|
||||||
57 : 042F;
|
057 : 0570;
|
||||||
58 : 00D8;
|
058 : 0580;
|
||||||
59 : 0291;
|
059 : 0590;
|
||||||
5A : 044A;
|
05A : 05A0;
|
||||||
5B : 0603;
|
05B : 05B0;
|
||||||
5C : 00FC;
|
05C : 05C0;
|
||||||
5D : 02B5;
|
05D : 05D0;
|
||||||
5E : 046E;
|
05E : 05E0;
|
||||||
5F : 0627;
|
05F : 05F0;
|
||||||
60 : 0120;
|
060 : 0600;
|
||||||
61 : 0129;
|
061 : 0610;
|
||||||
62 : 0132;
|
062 : 0620;
|
||||||
63 : 013B;
|
063 : 0630;
|
||||||
64 : 0804;
|
064 : 0640;
|
||||||
65 : 080D;
|
065 : 0650;
|
||||||
66 : 0816;
|
066 : 0660;
|
||||||
67 : 081F;
|
067 : 0670;
|
||||||
68 : 0168;
|
068 : 0680;
|
||||||
69 : 0321;
|
069 : 0690;
|
||||||
6A : 017A;
|
06A : 06A0;
|
||||||
6B : 0333;
|
06B : 06B0;
|
||||||
6C : 084C;
|
06C : 06C0;
|
||||||
6D : 0A05;
|
06D : 06D0;
|
||||||
6E : 084E;
|
06E : 06E0;
|
||||||
6F : 0A17;
|
06F : 06F0;
|
||||||
70 : 01B0;
|
070 : 0700;
|
||||||
71 : 01B9;
|
071 : 0710;
|
||||||
72 : 0522;
|
072 : 0720;
|
||||||
73 : 052B;
|
073 : 0730;
|
||||||
74 : 0894;
|
074 : 0740;
|
||||||
75 : 089D;
|
075 : 0750;
|
||||||
76 : 0C06;
|
076 : 0760;
|
||||||
77 : 0C0F;
|
077 : 0770;
|
||||||
78 : 01F8;
|
078 : 0780;
|
||||||
79 : 03B1;
|
079 : 0790;
|
||||||
7A : 056A;
|
07A : 07A0;
|
||||||
7B : 0723;
|
07B : 07B0;
|
||||||
7C : 08DC;
|
07C : 07C0;
|
||||||
7D : 0A95;
|
07D : 07D0;
|
||||||
7E : 0C4E;
|
07E : 07E0;
|
||||||
7F : 0E07;
|
07F : 07F0;
|
||||||
80 : 0000;
|
080 : 0800;
|
||||||
81 : 0040;
|
081 : 0810;
|
||||||
82 : 0080;
|
082 : 0820;
|
||||||
83 : 00C0;
|
083 : 0830;
|
||||||
84 : 0100;
|
084 : 0840;
|
||||||
85 : 0140;
|
085 : 0850;
|
||||||
86 : 0180;
|
086 : 0860;
|
||||||
87 : 01C0;
|
087 : 0870;
|
||||||
88 : 0200;
|
088 : 0880;
|
||||||
89 : 0240;
|
089 : 0890;
|
||||||
8A : 0280;
|
08A : 08A0;
|
||||||
8B : 02C0;
|
08B : 08B0;
|
||||||
8C : 0300;
|
08C : 08C0;
|
||||||
8D : 0340;
|
08D : 08D0;
|
||||||
8E : 0380;
|
08E : 08E0;
|
||||||
8F : 03C0;
|
08F : 08F0;
|
||||||
90 : 0400;
|
090 : 0900;
|
||||||
91 : 0440;
|
091 : 0910;
|
||||||
92 : 0480;
|
092 : 0920;
|
||||||
93 : 04C0;
|
093 : 0930;
|
||||||
94 : 0500;
|
094 : 0940;
|
||||||
95 : 0540;
|
095 : 0950;
|
||||||
96 : 0580;
|
096 : 0960;
|
||||||
97 : 05C0;
|
097 : 0970;
|
||||||
98 : 0600;
|
098 : 0980;
|
||||||
99 : 0640;
|
099 : 0990;
|
||||||
9A : 0680;
|
09A : 09A0;
|
||||||
9B : 06C0;
|
09B : 09B0;
|
||||||
9C : 0700;
|
09C : 09C0;
|
||||||
9D : 0740;
|
09D : 09D0;
|
||||||
9E : 0780;
|
09E : 09E0;
|
||||||
9F : 07C0;
|
09F : 09F0;
|
||||||
A0 : 0800;
|
0A0 : 0A00;
|
||||||
A1 : 0840;
|
0A1 : 0A10;
|
||||||
A2 : 0880;
|
0A2 : 0A20;
|
||||||
A3 : 08C0;
|
0A3 : 0A30;
|
||||||
A4 : 0900;
|
0A4 : 0A40;
|
||||||
A5 : 0940;
|
0A5 : 0A50;
|
||||||
A6 : 0980;
|
0A6 : 0A60;
|
||||||
A7 : 09C0;
|
0A7 : 0A70;
|
||||||
A8 : 0A00;
|
0A8 : 0A80;
|
||||||
A9 : 0A40;
|
0A9 : 0A90;
|
||||||
AA : 0A80;
|
0AA : 0AA0;
|
||||||
AB : 0AC0;
|
0AB : 0AB0;
|
||||||
AC : 0B00;
|
0AC : 0AC0;
|
||||||
AD : 0B40;
|
0AD : 0AD0;
|
||||||
AE : 0B80;
|
0AE : 0AE0;
|
||||||
AF : 0BC0;
|
0AF : 0AF0;
|
||||||
B0 : 0C00;
|
0B0 : 0B00;
|
||||||
B1 : 0C40;
|
0B1 : 0B10;
|
||||||
B2 : 0C80;
|
0B2 : 0B20;
|
||||||
B3 : 0CC0;
|
0B3 : 0B30;
|
||||||
B4 : 0D00;
|
0B4 : 0B40;
|
||||||
B5 : 0D40;
|
0B5 : 0B50;
|
||||||
B6 : 0D80;
|
0B6 : 0B60;
|
||||||
B7 : 0DC0;
|
0B7 : 0B70;
|
||||||
B8 : 0E00;
|
0B8 : 0B80;
|
||||||
B9 : 0E40;
|
0B9 : 0B90;
|
||||||
BA : 0E80;
|
0BA : 0BA0;
|
||||||
BB : 0EC0;
|
0BB : 0BB0;
|
||||||
BC : 0F00;
|
0BC : 0BC0;
|
||||||
BD : 0F40;
|
0BD : 0BD0;
|
||||||
BE : 0F80;
|
0BE : 0BE0;
|
||||||
BF : 0FC0;
|
0BF : 0BF0;
|
||||||
C0 : 0000;
|
0C0 : 0C00;
|
||||||
C1 : 0041;
|
0C1 : 0C10;
|
||||||
C2 : 0082;
|
0C2 : 0C20;
|
||||||
C3 : 00C3;
|
0C3 : 0C30;
|
||||||
C4 : 0104;
|
0C4 : 0C40;
|
||||||
C5 : 0145;
|
0C5 : 0C50;
|
||||||
C6 : 0186;
|
0C6 : 0C60;
|
||||||
C7 : 01C7;
|
0C7 : 0C70;
|
||||||
C8 : 0208;
|
0C8 : 0C80;
|
||||||
C9 : 0249;
|
0C9 : 0C90;
|
||||||
CA : 028A;
|
0CA : 0CA0;
|
||||||
CB : 02CB;
|
0CB : 0CB0;
|
||||||
CC : 030C;
|
0CC : 0CC0;
|
||||||
CD : 034D;
|
0CD : 0CD0;
|
||||||
CE : 038E;
|
0CE : 0CE0;
|
||||||
CF : 03CF;
|
0CF : 0CF0;
|
||||||
D0 : 0410;
|
0D0 : 0D00;
|
||||||
D1 : 0451;
|
0D1 : 0D10;
|
||||||
D2 : 0492;
|
0D2 : 0D20;
|
||||||
D3 : 04D3;
|
0D3 : 0D30;
|
||||||
D4 : 0514;
|
0D4 : 0D40;
|
||||||
D5 : 0555;
|
0D5 : 0D50;
|
||||||
D6 : 0596;
|
0D6 : 0D60;
|
||||||
D7 : 05D7;
|
0D7 : 0D70;
|
||||||
D8 : 0618;
|
0D8 : 0D80;
|
||||||
D9 : 0659;
|
0D9 : 0D90;
|
||||||
DA : 069A;
|
0DA : 0DA0;
|
||||||
DB : 06DB;
|
0DB : 0DB0;
|
||||||
DC : 071C;
|
0DC : 0DC0;
|
||||||
DD : 075D;
|
0DD : 0DD0;
|
||||||
DE : 079E;
|
0DE : 0DE0;
|
||||||
DF : 07DF;
|
0DF : 0DF0;
|
||||||
E0 : 0820;
|
0E0 : 0E00;
|
||||||
E1 : 0861;
|
0E1 : 0E10;
|
||||||
E2 : 08A2;
|
0E2 : 0E20;
|
||||||
E3 : 08E3;
|
0E3 : 0E30;
|
||||||
E4 : 0924;
|
0E4 : 0E40;
|
||||||
E5 : 0965;
|
0E5 : 0E50;
|
||||||
E6 : 09A6;
|
0E6 : 0E60;
|
||||||
E7 : 09E7;
|
0E7 : 0E70;
|
||||||
E8 : 0A28;
|
0E8 : 0E80;
|
||||||
E9 : 0A69;
|
0E9 : 0E90;
|
||||||
EA : 0AAA;
|
0EA : 0EA0;
|
||||||
EB : 0AEB;
|
0EB : 0EB0;
|
||||||
EC : 0B2C;
|
0EC : 0EC0;
|
||||||
ED : 0B6D;
|
0ED : 0ED0;
|
||||||
EE : 0BAE;
|
0EE : 0EE0;
|
||||||
EF : 0BEF;
|
0EF : 0EF0;
|
||||||
F0 : 0C30;
|
0F0 : 0F00;
|
||||||
F1 : 0C71;
|
0F1 : 0F10;
|
||||||
F2 : 0CB2;
|
0F2 : 0F20;
|
||||||
F3 : 0CF3;
|
0F3 : 0F30;
|
||||||
F4 : 0D34;
|
0F4 : 0F40;
|
||||||
F5 : 0D75;
|
0F5 : 0F50;
|
||||||
F6 : 0DB6;
|
0F6 : 0F60;
|
||||||
F7 : 0DF7;
|
0F7 : 0F70;
|
||||||
F8 : 0E38;
|
0F8 : 0F80;
|
||||||
F9 : 0E79;
|
0F9 : 0F90;
|
||||||
FA : 0EBA;
|
0FA : 0FA0;
|
||||||
FB : 0EFB;
|
0FB : 0FB0;
|
||||||
FC : 0F3C;
|
0FC : 0FC0;
|
||||||
FD : 0F7D;
|
0FD : 0FD0;
|
||||||
FE : 0FBE;
|
0FE : 0FE0;
|
||||||
FF : 0FFF;
|
0FF : 0FF0;
|
||||||
END;
|
END;
|
||||||
|
|
||||||
+11
-11
@@ -6,16 +6,16 @@ module cassette(
|
|||||||
input rewind,
|
input rewind,
|
||||||
input en,
|
input en,
|
||||||
|
|
||||||
output reg [24:0] sdram_addr,
|
output reg [15:0] sdram_addr,
|
||||||
input [7:0] sdram_data,
|
input [7:0] sdram_data,
|
||||||
output reg sdram_rd,
|
// output reg sdram_rd,
|
||||||
|
|
||||||
output data,
|
output data
|
||||||
output [2:0] status
|
// output [2:0] status
|
||||||
|
|
||||||
);
|
);
|
||||||
|
|
||||||
assign status = state;
|
//assign status = state;
|
||||||
|
|
||||||
reg old_en;
|
reg old_en;
|
||||||
reg ffrewind;
|
reg ffrewind;
|
||||||
@@ -60,25 +60,25 @@ always @(posedge clk) begin
|
|||||||
end
|
end
|
||||||
NEXT: begin
|
NEXT: begin
|
||||||
state <= READ1;
|
state <= READ1;
|
||||||
sdram_rd <= 1'b0;
|
// sdram_rd <= 1'b0;
|
||||||
if (seq == 24'h553c00) name <= 1'd1;
|
if (seq == 24'h553c00) name <= 1'd1;
|
||||||
if (seq == 24'h555555 && name) begin
|
if (seq == 24'h555555 && name) begin
|
||||||
name <= 1'd0;
|
name <= 1'd0;
|
||||||
state <= WAIT;
|
state <= WAIT;
|
||||||
hold <= 19'd445000; // 0.5s
|
hold <= 19'd445000; // 0.5s
|
||||||
sdram_addr <= sdram_addr - 25'd3;
|
sdram_addr <= sdram_addr - 16'd3;
|
||||||
end
|
end
|
||||||
if (seq == 24'h553cff) eof <= 2'd1;
|
if (seq == 24'h553cff) eof <= 2'd1;
|
||||||
if (seq == 24'h00ff55 && eof == 2'd1) eof <= 2'd2;
|
if (seq == 24'h00ff55 && eof == 2'd1) eof <= 2'd2;
|
||||||
if (~en) state <= IDLE;
|
if (~en) state <= IDLE;
|
||||||
end
|
end
|
||||||
READ1: begin
|
READ1: begin
|
||||||
sdram_rd <= 1'b1;
|
// sdram_rd <= 1'b1;
|
||||||
state <= READ2;
|
state <= READ2;
|
||||||
end
|
end
|
||||||
READ2: begin
|
READ2: begin
|
||||||
ibyte <= sdram_data;
|
ibyte <= sdram_data;
|
||||||
sdram_rd <= 1'b0;
|
// sdram_rd <= 1'b0;
|
||||||
state <= READ3;
|
state <= READ3;
|
||||||
sq_start <= 1'b1;
|
sq_start <= 1'b1;
|
||||||
end
|
end
|
||||||
@@ -88,14 +88,14 @@ always @(posedge clk) begin
|
|||||||
end
|
end
|
||||||
READ4: begin
|
READ4: begin
|
||||||
seq <= { seq[15:0], sdram_data };
|
seq <= { seq[15:0], sdram_data };
|
||||||
sdram_addr <= sdram_addr + 25'd1;
|
sdram_addr <= sdram_addr + 16'd1;
|
||||||
state <= eof == 2'd2 ? IDLE : NEXT;
|
state <= eof == 2'd2 ? IDLE : NEXT;
|
||||||
end
|
end
|
||||||
endcase
|
endcase
|
||||||
|
|
||||||
if (ffrewind ^ rewind) begin
|
if (ffrewind ^ rewind) begin
|
||||||
seq <= 24'd0;
|
seq <= 24'd0;
|
||||||
sdram_addr <= 25'd0;
|
sdram_addr <= 16'd0;
|
||||||
state <= IDLE;
|
state <= IDLE;
|
||||||
eof <= 2'd0;
|
eof <= 2'd0;
|
||||||
end
|
end
|
||||||
|
|||||||
+1179
-857
File diff suppressed because it is too large.
Load diff
+15
-3
@@ -67,12 +67,14 @@ module coco_mem_fetch(
|
|||||||
input HBORDER,
|
input HBORDER,
|
||||||
input [6:0] HOR_OFFSET,
|
input [6:0] HOR_OFFSET,
|
||||||
input COCO1,
|
input COCO1,
|
||||||
input [3:0] HRES
|
input [3:0] HRES,
|
||||||
|
|
||||||
|
input CT_320_160
|
||||||
|
|
||||||
);
|
);
|
||||||
|
|
||||||
localparam WORD_END_COUNT = 9'd160 - 1'd1;
|
wire [8:0] WORD_END_COUNT;
|
||||||
|
//localparam WORD_END_COUNT = 9'd160 - 1'd1;
|
||||||
|
|
||||||
|
|
||||||
wire [24:0] PHY_VID_ADD;
|
wire [24:0] PHY_VID_ADD;
|
||||||
@@ -82,6 +84,11 @@ reg [8:0] read_count;
|
|||||||
reg [4:0] state;
|
reg [4:0] state;
|
||||||
reg second_write;
|
reg second_write;
|
||||||
reg init_offset_a0;
|
reg init_offset_a0;
|
||||||
|
// End-of-line test for the fetch being requested, registered in state_start.
|
||||||
|
// read_count only changes on SDRAM_VID_ACK, so this equals the old in-line
|
||||||
|
// compare; it takes the 9-bit compare off the ACK -> VID_READ_OFFSET path,
|
||||||
|
// which missed timing at 114 MHz.
|
||||||
|
reg last_fetch;
|
||||||
reg [4:0] a0_delay;
|
reg [4:0] a0_delay;
|
||||||
|
|
||||||
localparam state_pre_start = 4'd0;
|
localparam state_pre_start = 4'd0;
|
||||||
@@ -90,6 +97,9 @@ localparam state_wait_accept = 4'd2;
|
|||||||
|
|
||||||
localparam state_done = 4'd10;
|
localparam state_done = 4'd10;
|
||||||
|
|
||||||
|
assign WORD_END_COUNT = (CT_320_160) ? 9'd320 - 1'd1:
|
||||||
|
9'd160 - 1'd1;
|
||||||
|
|
||||||
assign BUF_HBORDER[0] = HBORDER;
|
assign BUF_HBORDER[0] = HBORDER;
|
||||||
assign a0_delay[0] = init_offset_a0;
|
assign a0_delay[0] = init_offset_a0;
|
||||||
|
|
||||||
@@ -156,6 +166,7 @@ begin
|
|||||||
SDRAM_VID_REQ <= 1'b1;
|
SDRAM_VID_REQ <= 1'b1;
|
||||||
state <= state_wait_accept;
|
state <= state_wait_accept;
|
||||||
init_offset_a0 <= PHY_VID_ADD[1];
|
init_offset_a0 <= PHY_VID_ADD[1];
|
||||||
|
last_fetch <= (read_count >= WORD_END_COUNT);
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
@@ -165,7 +176,8 @@ begin
|
|||||||
begin
|
begin
|
||||||
SDRAM_VID_REQ <= 1'b0;
|
SDRAM_VID_REQ <= 1'b0;
|
||||||
|
|
||||||
if (read_count >= WORD_END_COUNT)
|
// if (read_count >= WORD_END_COUNT)
|
||||||
|
if (last_fetch)
|
||||||
begin
|
begin
|
||||||
read_count <= 9'h000;
|
read_count <= 9'h000;
|
||||||
state <= state_done;
|
state <= state_done;
|
||||||
|
|||||||
+1
-1
@@ -92,7 +92,7 @@ reg SHIFT;
|
|||||||
output SHIFT_OVERRIDE;
|
output SHIFT_OVERRIDE;
|
||||||
reg SHIFT_OVERRIDE;
|
reg SHIFT_OVERRIDE;
|
||||||
output RESET;
|
output RESET;
|
||||||
reg RESET;
|
reg RESET = 1'b0;
|
||||||
output RESET_INS;
|
output RESET_INS;
|
||||||
reg RESET_INS = 1'b0;
|
reg RESET_INS = 1'b0;
|
||||||
|
|
||||||
|
|||||||
@@ -61,65 +61,47 @@
|
|||||||
// This file is a configuration definition file. The CoCo3FPGA for MiSTer source files
|
// This file is a configuration definition file. The CoCo3FPGA for MiSTer source files
|
||||||
// can be built into multiple objects which have mutually exclusive features.
|
// can be built into multiple objects which have mutually exclusive features.
|
||||||
|
|
||||||
// The debug value holds upto 8 feature settings [1 per bit] - when Config_Debug is set this appears at FFF1
|
`define Config_Debug_FLAG 4'hA
|
||||||
`define Config_Debug
|
localparam [7:0] FEATURE_1 = 8'h01;
|
||||||
`define Config_Debug_Value (`config_value_1 + `config_value_2 + `config_value_3 + `config_value_4 + `config_value_5 + `config_value_6 + `config_value_7 + `config_value_8)
|
localparam [7:0] FEATURE_2 = 8'h02;
|
||||||
`define Config_Debug_FLAG 8'h55
|
localparam [7:0] FEATURE_3 = 8'h04;
|
||||||
// Feature list - note the support area below needs editing for debug support...
|
localparam [7:0] FEATURE_4 = 8'h08;
|
||||||
|
localparam [7:0] FEATURE_5 = 8'h10;
|
||||||
|
localparam [7:0] FEATURE_6 = 8'h20;
|
||||||
|
localparam [7:0] FEATURE_7 = 8'h40;
|
||||||
|
localparam [7:0] FEATURE_8 = 8'h80;
|
||||||
|
|
||||||
|
// This is used for hardware debugging - it overrides the USER_IO to be user_out direct.
|
||||||
|
// It should be commented out for release
|
||||||
|
//`define Config_Debug
|
||||||
|
|
||||||
|
// Feature list - note only FEATURE_1 - FEATURE_8 are supported
|
||||||
///////////////////////////////////////////////////////////////////////////////////////////////////////////
|
///////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||||
`define CoCo3_Horz_INT_FIX 8'h01 // Connection of the horz int to the Mister CoCo3 V5 rasterizer
|
// `set_feature(CoCo3_Horz_INT_FIX,Feat_1) // Connection of the horz int to the Mister CoCo3 V5 rasterizer
|
||||||
|
`define CoCo3_Horz_INT_FIX
|
||||||
|
`define Feat_1
|
||||||
|
|
||||||
`define CoCo3_Vert_INT_FIX 8'h02 // Connection of the vert int to the Mister CoCo3 V5 rasterizer
|
// `set_feature(CoCo3_Vert_INT_FIX,Feat_2) // Connection of the vert int to the Mister CoCo3 V5 rasterizer
|
||||||
|
// `define CoCo3_Vert_INT_FIX
|
||||||
|
// `define Feat_2
|
||||||
|
|
||||||
|
// `set_feature(CoCo3_CYC_ACC_6809,Feat_3) // Use cycle accurate 6809
|
||||||
|
`define CoCo3_CYC_ACC_6809
|
||||||
|
`define Feat_3
|
||||||
|
|
||||||
|
// `set_feature(CoCo3_sdc_override_size,Feat_4) // Define static size value
|
||||||
|
`define CoCo3_sdc_override_size
|
||||||
|
`define Feat_4
|
||||||
|
|
||||||
///////////////////////////////////////////////////////////////////////////////////////////////////////////
|
// `set_feature(CoCo3_sdc_fix_os9_driver,Feat_5) // fix sdc query disk size issue in llcocosdc driver in multipak enviroment
|
||||||
// This is support info to create the Config_Debug_Value referenced above
|
`define CoCo3_sdc_fix_os9_driver
|
||||||
`ifdef CoCo3_Horz_INT_FIX
|
`define Feat_5
|
||||||
`define config_value_1 `CoCo3_Horz_INT_FIX
|
|
||||||
`else
|
|
||||||
`define config_value_1 8'h00
|
|
||||||
`endif
|
|
||||||
|
|
||||||
`ifdef CoCo3_Vert_INT_FIX
|
// `set_feature(CoCo3_disable_GART_in_GIMEX,Feat_6) // Disable GIMEX ram transfers [GIMEX detection in OS9 EOU]
|
||||||
`define config_value_2 `CoCo3_Vert_INT_FIX
|
`define CoCo3_disable_GART_in_GIMEX
|
||||||
`else
|
`define Feat_6
|
||||||
`define config_value_2 8'h00
|
|
||||||
`endif
|
|
||||||
|
|
||||||
`ifdef NOT_DEFINED_YET
|
// `set_feature(,Feat_7) // Open Feature
|
||||||
`define config_value_3 `NOT_DEFINED_YET
|
// `define New_Feature...
|
||||||
`else
|
// `define Feat_7
|
||||||
`define config_value_3 8'h00
|
|
||||||
`endif
|
|
||||||
|
|
||||||
`ifdef NOT_DEFINED_YET
|
|
||||||
`define config_value_4 `NOT_DEFINED_YET
|
|
||||||
`else
|
|
||||||
`define config_value_4 8'h00
|
|
||||||
`endif
|
|
||||||
|
|
||||||
`ifdef NOT_DEFINED_YET
|
|
||||||
`define config_value_5 `NOT_DEFINED_YET
|
|
||||||
`else
|
|
||||||
`define config_value_5 8'h00
|
|
||||||
`endif
|
|
||||||
|
|
||||||
`ifdef NOT_DEFINED_YET
|
|
||||||
`define config_value_6 `NOT_DEFINED_YET
|
|
||||||
`else
|
|
||||||
`define config_value_6 8'h00
|
|
||||||
`endif
|
|
||||||
|
|
||||||
`ifdef NOT_DEFINED_YET
|
|
||||||
`define config_value_7 `NOT_DEFINED_YET
|
|
||||||
`else
|
|
||||||
`define config_value_7 8'h00
|
|
||||||
`endif
|
|
||||||
|
|
||||||
`ifdef NOT_DEFINED_YET
|
|
||||||
`define config_value_8 `NOT_DEFINED_YET
|
|
||||||
`else
|
|
||||||
`define config_value_8 8'h00
|
|
||||||
`endif
|
|
||||||
|
|
||||||
+71
-59
@@ -44,6 +44,8 @@
|
|||||||
// make sure that this is not a derivative work and that
|
// make sure that this is not a derivative work and that
|
||||||
// you have the latest version of this file.
|
// you have the latest version of this file.
|
||||||
//
|
//
|
||||||
|
// Ver 2.0 Reduced 1793 instances
|
||||||
|
//
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
@@ -88,7 +90,6 @@ module fdc(
|
|||||||
input [7:0] sd_buff_dout,
|
input [7:0] sd_buff_dout,
|
||||||
output [7:0] sd_buff_din[4],
|
output [7:0] sd_buff_din[4],
|
||||||
input sd_buff_wr
|
input sd_buff_wr
|
||||||
|
|
||||||
);
|
);
|
||||||
|
|
||||||
wire [7:0] DRIVE_SEL_EXT;
|
wire [7:0] DRIVE_SEL_EXT;
|
||||||
@@ -128,9 +129,6 @@ assign DATA_HDD = (FF40_RD) ? FF40_READ_VALUE:
|
|||||||
(WD1793_RD) ? DATA_1793: //(1793[s])
|
(WD1793_RD) ? DATA_1793: //(1793[s])
|
||||||
8'h00;
|
8'h00;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// $ff40 control register [part 1]
|
// $ff40 control register [part 1]
|
||||||
|
|
||||||
wire [3:0] DRIVE_SEL_EXT_PRE = {DATA_IN[6], DATA_IN[2:0]};
|
wire [3:0] DRIVE_SEL_EXT_PRE = {DATA_IN[6], DATA_IN[2:0]};
|
||||||
@@ -151,39 +149,40 @@ begin
|
|||||||
MOTOR <= 1'b0;
|
MOTOR <= 1'b0;
|
||||||
WRT_PREC <= 1'b0;
|
WRT_PREC <= 1'b0;
|
||||||
DENSITY <= 1'b0;
|
DENSITY <= 1'b0;
|
||||||
drive_index <= 3'd0;
|
drive_index <= 3'd0; // no drive (illegal)
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
begin
|
begin
|
||||||
if (FF40_ENA)
|
if (FF40_ENA)
|
||||||
begin
|
begin
|
||||||
DRIVE_SEL_EXT <= {4'b0000,
|
DRIVE_SEL_EXT <= {4'b0000,
|
||||||
DATA_IN[6], // Drive Select [3] / Side Select
|
DRIVE_SEL_EXT_PRE};
|
||||||
DATA_IN[2:0]}; // Drive Select [2:0]
|
|
||||||
MOTOR <= DATA_IN[3]; // Turn on motor, not used here just checked, 0=MotorOff 1=MotorOn
|
MOTOR <= DATA_IN[3]; // Turn on motor, not used here just checked, 0=MotorOff 1=MotorOn
|
||||||
WRT_PREC <= DATA_IN[4]; // Write Precompensation, not used here
|
WRT_PREC <= DATA_IN[4]; // Write Precompensation, not used here
|
||||||
DENSITY <= DATA_IN[5]; // Density, not used here just checked
|
DENSITY <= DATA_IN[5]; // Density, not used here just checked
|
||||||
case(DRIVE_SEL_EXT_PRE)
|
case(DRIVE_SEL_EXT_PRE)
|
||||||
4'b1000:
|
4'b1000:
|
||||||
drive_index <= 3'd3;
|
drive_index <= 3'd4;
|
||||||
|
|
||||||
4'b0100:
|
4'b0100:
|
||||||
drive_index <= 3'd2;
|
drive_index <= 3'd3;
|
||||||
|
|
||||||
4'b0010:
|
4'b0010:
|
||||||
drive_index <= 3'd1;
|
|
||||||
|
|
||||||
4'b0001:
|
|
||||||
drive_index <= 3'd0;
|
|
||||||
|
|
||||||
4'b1100:
|
|
||||||
drive_index <= 3'd2;
|
drive_index <= 3'd2;
|
||||||
|
|
||||||
4'b1010:
|
4'b0001:
|
||||||
drive_index <= 3'd1;
|
drive_index <= 3'd1;
|
||||||
|
|
||||||
|
4'b1100:
|
||||||
|
drive_index <= 3'd3;
|
||||||
|
|
||||||
|
4'b1010:
|
||||||
|
drive_index <= 3'd2;
|
||||||
|
|
||||||
4'b1001:
|
4'b1001:
|
||||||
drive_index <= 3'd0;
|
drive_index <= 3'd1;
|
||||||
|
default:
|
||||||
|
drive_index <= 3'd1; // Illegal
|
||||||
endcase
|
endcase
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@@ -231,10 +230,11 @@ reg read1;
|
|||||||
reg write1;
|
reg write1;
|
||||||
reg [1:0] ADDRESS_L;
|
reg [1:0] ADDRESS_L;
|
||||||
|
|
||||||
assign RD[0] = (read || RD_E[0]) && (drive_index == 3'd0);
|
|
||||||
assign RD[1] = (read || RD_E[1]) && (drive_index == 3'd1);
|
assign RD[0] = (read || RD_E[0]) && (drive_index == 2'd1);
|
||||||
assign RD[2] = (read || RD_E[2]) && (drive_index == 3'd2);
|
assign RD[1] = (read || RD_E[1]) && (drive_index == 3'd2);
|
||||||
assign RD[3] = (read || RD_E[3]) && (drive_index == 3'd3);
|
assign RD[2] = (read || RD_E[2]) && (drive_index == 3'd3);
|
||||||
|
assign RD[3] = (read || RD_E[3]) && (drive_index == 3'd4);
|
||||||
|
|
||||||
// The idea here is to "stretch" the CPU read and write signals to ensure we catch a 8 mhz enable.
|
// The idea here is to "stretch" the CPU read and write signals to ensure we catch a 8 mhz enable.
|
||||||
// For writes we will buffer the data out to ensure it does not go away.
|
// For writes we will buffer the data out to ensure it does not go away.
|
||||||
@@ -280,7 +280,8 @@ begin
|
|||||||
read_d <= read;
|
read_d <= read;
|
||||||
write_d <= write;
|
write_d <= write;
|
||||||
|
|
||||||
if ((read1 & ~read) | (write1 & ~write))
|
// if ((read1 & ~read) | (write1 & ~write))
|
||||||
|
if ((read1 & ~read) | WD1793_WR_CTRL)
|
||||||
begin
|
begin
|
||||||
// Latch Address & Data
|
// Latch Address & Data
|
||||||
ADDRESS_L <= ADDRESS[1:0];
|
ADDRESS_L <= ADDRESS[1:0];
|
||||||
@@ -293,13 +294,13 @@ begin
|
|||||||
// Set Writes
|
// Set Writes
|
||||||
r_w_active <= 1'b1;
|
r_w_active <= 1'b1;
|
||||||
case (drive_index)
|
case (drive_index)
|
||||||
3'd0:
|
|
||||||
WR[0] <= 1'b1;
|
|
||||||
3'd1:
|
3'd1:
|
||||||
WR[1] <= 1'b1;
|
WR[0] <= 1'b1;
|
||||||
3'd2:
|
3'd2:
|
||||||
WR[2] <= 1'b1;
|
WR[1] <= 1'b1;
|
||||||
3'd3:
|
3'd3:
|
||||||
|
WR[2] <= 1'b1;
|
||||||
|
3'd4:
|
||||||
WR[3] <= 1'b1;
|
WR[3] <= 1'b1;
|
||||||
endcase
|
endcase
|
||||||
end
|
end
|
||||||
@@ -309,13 +310,13 @@ begin
|
|||||||
begin
|
begin
|
||||||
r_w_active <= 1'b1;
|
r_w_active <= 1'b1;
|
||||||
case (drive_index)
|
case (drive_index)
|
||||||
3'd0:
|
|
||||||
RD_E[0] <= 1'b1;
|
|
||||||
3'd1:
|
3'd1:
|
||||||
RD_E[1] <= 1'b1;
|
RD_E[0] <= 1'b1;
|
||||||
3'd2:
|
3'd2:
|
||||||
RD_E[2] <= 1'b1;
|
RD_E[1] <= 1'b1;
|
||||||
3'd3:
|
3'd3:
|
||||||
|
RD_E[2] <= 1'b1;
|
||||||
|
3'd4:
|
||||||
RD_E[3] <= 1'b1;
|
RD_E[3] <= 1'b1;
|
||||||
endcase
|
endcase
|
||||||
end
|
end
|
||||||
@@ -343,36 +344,37 @@ begin
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
// NMI from disk controller
|
// NMI from disk controller
|
||||||
// Selected INTRQ
|
// Selected INTRQ
|
||||||
assign selected_INTRQ = (drive_index == 3'd0) ? INTRQ[0]:
|
assign selected_INTRQ = (drive_index == 3'd1) ? INTRQ[0]:
|
||||||
(drive_index == 3'd1) ? INTRQ[1]:
|
(drive_index == 3'd2) ? INTRQ[1]:
|
||||||
(drive_index == 3'd2) ? INTRQ[2]:
|
(drive_index == 3'd3) ? INTRQ[2]:
|
||||||
(drive_index == 3'd3) ? INTRQ[3]:
|
(drive_index == 3'd4) ? INTRQ[3]:
|
||||||
1'b0;
|
1'b0;
|
||||||
|
|
||||||
assign NMI_09 = DENSITY & selected_INTRQ; // Send NMI if Double Density (Halt Mode)
|
assign NMI_09 = DENSITY & selected_INTRQ; // Send NMI if Double Density (Halt Mode)
|
||||||
|
|
||||||
// HALT from disk controller
|
// HALT from disk controller
|
||||||
// Selected DRQ
|
// Selected DRQ
|
||||||
assign selected_DRQ = (drive_index == 3'd0) ? DRQ[0]:
|
assign selected_DRQ = (drive_index == 3'd1) ? DRQ[0]:
|
||||||
(drive_index == 3'd1) ? DRQ[1]:
|
(drive_index == 3'd2) ? DRQ[1]:
|
||||||
(drive_index == 3'd2) ? DRQ[2]:
|
(drive_index == 3'd3) ? DRQ[2]:
|
||||||
(drive_index == 3'd3) ? DRQ[3]:
|
(drive_index == 3'd4) ? DRQ[3]:
|
||||||
1'b1;
|
1'b1;
|
||||||
|
|
||||||
|
|
||||||
assign HALT = (HALT_EN & ~selected_DRQ);
|
assign HALT = (HALT_EN & ~selected_DRQ);
|
||||||
|
|
||||||
assign HALT_EN_RST = RESET_N & ~selected_INTRQ; // From controller schematic
|
assign HALT_EN_RST = RESET_N & ~selected_INTRQ; // From controller schematic
|
||||||
|
|
||||||
// Data bus selection
|
// Data bus selection
|
||||||
assign DATA_1793 = (drive_index == 3'd0) ? dout[0]:
|
assign DATA_1793 = (drive_index == 3'd1) ? dout[0]:
|
||||||
(drive_index == 3'd1) ? dout[1]:
|
(drive_index == 3'd2) ? dout[1]:
|
||||||
(drive_index == 3'd2) ? dout[2]:
|
(drive_index == 3'd3) ? dout[2]:
|
||||||
(drive_index == 3'd3) ? dout[3]:
|
(drive_index == 3'd4) ? dout[3]:
|
||||||
8'd0;
|
8'd0;
|
||||||
|
|
||||||
|
|
||||||
// The SD_BLK interface and thus the wd1793 will allways transfer 1 blk. This is blk qty - 1 per spec.
|
// The SD_BLK interface and thus the wd1793 will allways transfer 1 blk. This is blk qty - 1 per spec.
|
||||||
assign sd_blk_cnt[3] = 6'd0;
|
assign sd_blk_cnt[3] = 6'd0;
|
||||||
assign sd_blk_cnt[2] = 6'd0;
|
assign sd_blk_cnt[2] = 6'd0;
|
||||||
@@ -380,8 +382,10 @@ assign sd_blk_cnt[1] = 6'd0;
|
|||||||
assign sd_blk_cnt[0] = 6'd0;
|
assign sd_blk_cnt[0] = 6'd0;
|
||||||
|
|
||||||
reg drive_wp[4];
|
reg drive_wp[4];
|
||||||
reg [3:0] drive_ready = 4'B0;
|
reg [3:0] drive_ready = 4'B0000;
|
||||||
reg [3:0] double_sided = 4'B0;
|
reg [3:0] double_sided = 4'B0000;
|
||||||
|
reg [23:0] drive_size[4];
|
||||||
|
|
||||||
|
|
||||||
// As drives are mounted in MISTer this logic saves the write protect and generates ready for
|
// As drives are mounted in MISTer this logic saves the write protect and generates ready for
|
||||||
// changing drives to the wd1793.
|
// changing drives to the wd1793.
|
||||||
@@ -395,6 +399,7 @@ always @(negedge img_mounted[0])
|
|||||||
begin
|
begin
|
||||||
drive_wp[0] <= img_readonly;
|
drive_wp[0] <= img_readonly;
|
||||||
drive_ready[0] <= 1'b1;
|
drive_ready[0] <= 1'b1;
|
||||||
|
drive_size[0] <= {4'h0, img_size[19:0]}; //Size / 256 on [19:8]
|
||||||
double_sided[0]<= (img_size > 64'd368600) & (img_size < 64'd740000);//20'd368640;
|
double_sided[0]<= (img_size > 64'd368600) & (img_size < 64'd740000);//20'd368640;
|
||||||
end
|
end
|
||||||
|
|
||||||
@@ -404,6 +409,7 @@ always @(negedge img_mounted[1])
|
|||||||
begin
|
begin
|
||||||
drive_wp[1] <= img_readonly;
|
drive_wp[1] <= img_readonly;
|
||||||
drive_ready[1] <= 1'b1;
|
drive_ready[1] <= 1'b1;
|
||||||
|
drive_size[1] <= {4'h0, img_size[19:0]}; //Size / 256 on [19:8]
|
||||||
double_sided[1]<= (img_size > 64'd368600) & (img_size < 64'd740000);//20'd368640;
|
double_sided[1]<= (img_size > 64'd368600) & (img_size < 64'd740000);//20'd368640;
|
||||||
end
|
end
|
||||||
|
|
||||||
@@ -413,6 +419,7 @@ always @(negedge img_mounted[2])
|
|||||||
begin
|
begin
|
||||||
drive_wp[2] <= img_readonly;
|
drive_wp[2] <= img_readonly;
|
||||||
drive_ready[2] <= 1'b1;
|
drive_ready[2] <= 1'b1;
|
||||||
|
drive_size[2] <= {4'h0, img_size[19:0]}; //Size / 256 on [19:8]
|
||||||
double_sided[2]<= (img_size > 64'd368600) & (img_size < 64'd740000);//20'd368640;
|
double_sided[2]<= (img_size > 64'd368600) & (img_size < 64'd740000);//20'd368640;
|
||||||
end
|
end
|
||||||
|
|
||||||
@@ -422,11 +429,12 @@ always @(negedge img_mounted[3])
|
|||||||
begin
|
begin
|
||||||
drive_wp[3] <= img_readonly;
|
drive_wp[3] <= img_readonly;
|
||||||
drive_ready[3] <= 1'b1;
|
drive_ready[3] <= 1'b1;
|
||||||
|
drive_size[3] <= {4'h0, img_size[19:0]}; //Size / 256 on [19:8]
|
||||||
//double_sided[3]<= img_size > 20'd368600;//20'd368640;
|
//double_sided[3]<= img_size > 20'd368600;//20'd368640;
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
wd1793 #(1,1) coco_wd1793_0
|
wd1793 #(1,0) coco_wd1793_0
|
||||||
(
|
(
|
||||||
.clk_sys(~CLK),
|
.clk_sys(~CLK),
|
||||||
.ce(ena_8Mhz),
|
.ce(ena_8Mhz),
|
||||||
@@ -440,8 +448,9 @@ wd1793 #(1,1) coco_wd1793_0
|
|||||||
.drq(DRQ[0]),
|
.drq(DRQ[0]),
|
||||||
.intrq(INTRQ[0]),
|
.intrq(INTRQ[0]),
|
||||||
|
|
||||||
.img_mounted(img_mounted[0]),
|
.img_mounted(1'b0),
|
||||||
.img_size(img_size),
|
.img_mounted_overide(1'b1),
|
||||||
|
.img_size(drive_size[0]),
|
||||||
|
|
||||||
.sd_lba(sd_lba[0]),
|
.sd_lba(sd_lba[0]),
|
||||||
.sd_rd(sd_rd[0]),
|
.sd_rd(sd_rd[0]),
|
||||||
@@ -460,7 +469,7 @@ wd1793 #(1,1) coco_wd1793_0
|
|||||||
.side(double_sided[0] & DRIVE_SEL_EXT[3]),
|
.side(double_sided[0] & DRIVE_SEL_EXT[3]),
|
||||||
.ready(drive_ready[0]),
|
.ready(drive_ready[0]),
|
||||||
|
|
||||||
.input_active(0),
|
.input_active(0), // Section not used
|
||||||
.input_addr(0),
|
.input_addr(0),
|
||||||
.input_data(0),
|
.input_data(0),
|
||||||
.input_wr(0),
|
.input_wr(0),
|
||||||
@@ -481,8 +490,9 @@ wd1793 #(1,0) coco_wd1793_1
|
|||||||
.drq(DRQ[1]),
|
.drq(DRQ[1]),
|
||||||
.intrq(INTRQ[1]),
|
.intrq(INTRQ[1]),
|
||||||
|
|
||||||
.img_mounted(img_mounted[1]),
|
.img_mounted(1'b0),
|
||||||
.img_size(img_size),
|
.img_mounted_overide(1'b1),
|
||||||
|
.img_size(drive_size[1]),
|
||||||
|
|
||||||
.sd_lba(sd_lba[1]),
|
.sd_lba(sd_lba[1]),
|
||||||
.sd_rd(sd_rd[1]),
|
.sd_rd(sd_rd[1]),
|
||||||
@@ -501,7 +511,7 @@ wd1793 #(1,0) coco_wd1793_1
|
|||||||
.side(double_sided[1] & DRIVE_SEL_EXT[3]),
|
.side(double_sided[1] & DRIVE_SEL_EXT[3]),
|
||||||
.ready(drive_ready[1]),
|
.ready(drive_ready[1]),
|
||||||
|
|
||||||
.input_active(0),
|
.input_active(0), // Section not used
|
||||||
.input_addr(0),
|
.input_addr(0),
|
||||||
.input_data(0),
|
.input_data(0),
|
||||||
.input_wr(0),
|
.input_wr(0),
|
||||||
@@ -522,8 +532,9 @@ wd1793 #(1,0) coco_wd1793_2
|
|||||||
.drq(DRQ[2]),
|
.drq(DRQ[2]),
|
||||||
.intrq(INTRQ[2]),
|
.intrq(INTRQ[2]),
|
||||||
|
|
||||||
.img_mounted(img_mounted[2]),
|
.img_mounted(1'b0),
|
||||||
.img_size(img_size),
|
.img_mounted_overide(1'b1),
|
||||||
|
.img_size(drive_size[2]),
|
||||||
|
|
||||||
.sd_lba(sd_lba[2]),
|
.sd_lba(sd_lba[2]),
|
||||||
.sd_rd(sd_rd[2]),
|
.sd_rd(sd_rd[2]),
|
||||||
@@ -542,7 +553,7 @@ wd1793 #(1,0) coco_wd1793_2
|
|||||||
.side(double_sided[2] & DRIVE_SEL_EXT[3]),
|
.side(double_sided[2] & DRIVE_SEL_EXT[3]),
|
||||||
.ready(drive_ready[2]),
|
.ready(drive_ready[2]),
|
||||||
|
|
||||||
.input_active(0),
|
.input_active(0), // Section not used
|
||||||
.input_addr(0),
|
.input_addr(0),
|
||||||
.input_data(0),
|
.input_data(0),
|
||||||
.input_wr(0),
|
.input_wr(0),
|
||||||
@@ -563,8 +574,9 @@ wd1793 #(1,0) coco_wd1793_3
|
|||||||
.drq(DRQ[3]),
|
.drq(DRQ[3]),
|
||||||
.intrq(INTRQ[3]),
|
.intrq(INTRQ[3]),
|
||||||
|
|
||||||
.img_mounted(img_mounted[3]),
|
.img_mounted(1'b0),
|
||||||
.img_size(img_size),
|
.img_mounted_overide(1'b1),
|
||||||
|
.img_size(drive_size[3]),
|
||||||
|
|
||||||
.sd_lba(sd_lba[3]),
|
.sd_lba(sd_lba[3]),
|
||||||
.sd_rd(sd_rd[3]),
|
.sd_rd(sd_rd[3]),
|
||||||
@@ -580,10 +592,10 @@ wd1793 #(1,0) coco_wd1793_3
|
|||||||
|
|
||||||
.size_code(3'd5), // 5 is 18 sector x 256 bits COCO standard
|
.size_code(3'd5), // 5 is 18 sector x 256 bits COCO standard
|
||||||
.layout(1'b1), // 0 = Track-Side-Sector, 1 - Side-Track-Sector
|
.layout(1'b1), // 0 = Track-Side-Sector, 1 - Side-Track-Sector
|
||||||
.side(1'b0), // DS can not be supported for drive 3.
|
.side(1'b0),
|
||||||
.ready(drive_ready[3]),
|
.ready(drive_ready[3]),
|
||||||
|
|
||||||
.input_active(0),
|
.input_active(0), // Section not used
|
||||||
.input_addr(0),
|
.input_addr(0),
|
||||||
.input_data(0),
|
.input_data(0),
|
||||||
.input_wr(0),
|
.input_wr(0),
|
||||||
|
|||||||
File diff suppressed because it is too large.
Load diff
+95
-81
@@ -47,6 +47,7 @@
|
|||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
|
|
||||||
module sdc(
|
module sdc(
|
||||||
input CLK, // clock
|
input CLK, // clock
|
||||||
input RESET_N, // async reset
|
input RESET_N, // async reset
|
||||||
@@ -59,64 +60,71 @@ module sdc(
|
|||||||
input SDC_WR,
|
input SDC_WR,
|
||||||
input SDC_RD,
|
input SDC_RD,
|
||||||
|
|
||||||
output sdc_always,
|
|
||||||
|
|
||||||
output reg sdc_HALT,
|
output reg sdc_HALT,
|
||||||
|
|
||||||
// SD block level interface
|
output reg ext_response,
|
||||||
|
output reg sdc_always,
|
||||||
|
|
||||||
input [1:0] img_mounted, // signaling that new image has been mounted
|
// SD block level interface
|
||||||
input img_readonly, // mounted as read only. valid only for active bit in img_mounted
|
|
||||||
input [19:0] img_size, // size of image in bytes. 1MB MAX!
|
|
||||||
|
|
||||||
output [31:0] sd_lba[2],
|
output [31:0] sd_lba[2],
|
||||||
output reg [1:0] sd_rd,
|
output reg [1:0] sd_rd,
|
||||||
output reg [1:0] sd_wr,
|
output reg [1:0] sd_wr,
|
||||||
input [1:0] sd_ack,
|
input [1:0] sd_ack,
|
||||||
|
|
||||||
|
// Drive descripters
|
||||||
|
|
||||||
|
input drive_wp[2],
|
||||||
|
input [1:0] drive_ready,
|
||||||
|
input [31:0] drive_size[2],
|
||||||
|
|
||||||
|
|
||||||
// SD byte level access. Signals for 2-PORT altsyncram.
|
// SD byte level access. Signals for 2-PORT altsyncram.
|
||||||
input [8:0] sd_buff_addr,
|
input [8:0] sd_buff_addr,
|
||||||
input [7:0] sd_buff_dout,
|
input [7:0] sd_buff_dout,
|
||||||
output [7:0] sd_buff_din[2],
|
output [7:0] sd_buff_din[2],
|
||||||
input sd_buff_wr
|
input sd_buff_wr
|
||||||
|
|
||||||
);
|
);
|
||||||
|
|
||||||
|
// Define Config features
|
||||||
|
`include "../rtl/config.sv"
|
||||||
|
|
||||||
reg [23:0] LSN;
|
reg [23:0] LSN;
|
||||||
reg [7:0] command;
|
reg [7:0] command;
|
||||||
reg [7:0] transfer_address;
|
reg [7:0] transfer_address;
|
||||||
|
|
||||||
reg new_cmd, new_cmd_d, cmd_done;
|
reg new_cmd, new_cmd_d, cmd_done;
|
||||||
reg data_inc, run;
|
reg data_inc, run;
|
||||||
|
reg rxt_res_end;
|
||||||
reg transfer_clear;
|
reg transfer_clear;
|
||||||
reg [3:0] sdc_data_reg;
|
reg [3:0] sdc_data_reg;
|
||||||
|
|
||||||
wire [7:0] sdc_status_reg = {sdc_data_reg, 4'h4};
|
wire [7:0] sdc_status_reg = {sdc_data_reg, 4'h4};
|
||||||
reg [15:0] drive_size[2];
|
|
||||||
|
|
||||||
typedef enum
|
enum int unsigned
|
||||||
{
|
{
|
||||||
state_idle,
|
state_idle = 0,
|
||||||
|
|
||||||
state_read,
|
state_read = 1,
|
||||||
state_r1,
|
state_r1 = 2,
|
||||||
state_r1a,
|
state_r1a = 3,
|
||||||
state_r2,
|
state_r2 = 4,
|
||||||
state_r3,
|
state_r3 = 5,
|
||||||
state_r4,
|
state_r4 = 6,
|
||||||
|
|
||||||
state_write,
|
state_write = 7,
|
||||||
state_w1,
|
state_w1 = 8,
|
||||||
state_w1a,
|
state_w1a = 9,
|
||||||
state_w2,
|
state_w2 = 10,
|
||||||
state_w3,
|
state_w3 = 11,
|
||||||
|
state_w4 = 12,
|
||||||
|
|
||||||
state_ext,
|
state_ext = 13,
|
||||||
state_e1,
|
state_e1 = 14,
|
||||||
state_e2
|
state_e2 = 15
|
||||||
|
|
||||||
} state_t;
|
} state;
|
||||||
|
|
||||||
state_t state = state_idle;
|
|
||||||
|
|
||||||
localparam ADRS_FF42 = 4'h2;
|
localparam ADRS_FF42 = 4'h2;
|
||||||
localparam ADRS_FF43 = 4'h3;
|
localparam ADRS_FF43 = 4'h3;
|
||||||
@@ -125,6 +133,7 @@ localparam ADRS_FF49 = 4'h9;
|
|||||||
localparam ADRS_FF4A = 4'hA;
|
localparam ADRS_FF4A = 4'hA;
|
||||||
localparam ADRS_FF4B = 4'hB;
|
localparam ADRS_FF4B = 4'hB;
|
||||||
|
|
||||||
|
|
||||||
always @(negedge CLK or negedge RESET_N)
|
always @(negedge CLK or negedge RESET_N)
|
||||||
begin
|
begin
|
||||||
if(!RESET_N)
|
if(!RESET_N)
|
||||||
@@ -133,17 +142,18 @@ begin
|
|||||||
command <= 8'h00;
|
command <= 8'h00;
|
||||||
new_cmd <= 1'b0;
|
new_cmd <= 1'b0;
|
||||||
data_inc <= 1'b0;
|
data_inc <= 1'b0;
|
||||||
|
rxt_res_end <= 1'b0;
|
||||||
transfer_address <= 8'h00;
|
transfer_address <= 8'h00;
|
||||||
sdc_data_reg <= 4'h0;
|
sdc_data_reg <= 4'h0;
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
begin
|
begin
|
||||||
data_inc <= 1'b0;
|
data_inc <= 1'b0;
|
||||||
|
rxt_res_end <= 1'b0;
|
||||||
if (cmd_done)
|
if (cmd_done)
|
||||||
new_cmd <= 1'b0;
|
new_cmd <= 1'b0;
|
||||||
|
|
||||||
if (SDC_WR) //Write
|
if (CLK_EN & SDC_WR) //Write
|
||||||
begin
|
begin
|
||||||
case(ADDRESS)
|
case(ADDRESS)
|
||||||
ADRS_FF42: // $ff42
|
ADRS_FF42: // $ff42
|
||||||
@@ -152,7 +162,7 @@ begin
|
|||||||
endcase
|
endcase
|
||||||
end
|
end
|
||||||
|
|
||||||
if ((SDC_EN | sdc_always) & SDC_WR) //Write
|
if (SDC_EN & CLK_EN & SDC_WR) //Write
|
||||||
begin
|
begin
|
||||||
case(ADDRESS)
|
case(ADDRESS)
|
||||||
|
|
||||||
@@ -180,14 +190,19 @@ begin
|
|||||||
if (~run)
|
if (~run)
|
||||||
LSN[7:0] <= SDC_DATA_IN;
|
LSN[7:0] <= SDC_DATA_IN;
|
||||||
else
|
else
|
||||||
|
begin
|
||||||
data_inc <= 1'b1;
|
data_inc <= 1'b1;
|
||||||
end
|
end
|
||||||
|
end
|
||||||
endcase
|
endcase
|
||||||
end
|
end
|
||||||
|
|
||||||
if (CLK_EN & SDC_RD & (ADDRESS[3:1] == 3'b101) & (run)) // Read @ $ff4A / $ff4B
|
if (CLK_EN & SDC_RD & (ADDRESS[3:1] == 3'b101) & (run)) // Read @ $ff4A / $ff4B
|
||||||
data_inc <= 1'b1;
|
data_inc <= 1'b1;
|
||||||
|
|
||||||
|
if (CLK_EN & SDC_RD & (ADDRESS[3:0] == 4'b1001) & (~run)) // Read @ $ff49 [last of size data]
|
||||||
|
rxt_res_end <= 1'b1;
|
||||||
|
|
||||||
if (data_inc)
|
if (data_inc)
|
||||||
transfer_address <= transfer_address + 1'b1;
|
transfer_address <= transfer_address + 1'b1;
|
||||||
|
|
||||||
@@ -205,11 +220,11 @@ localparam CMD_EXT = 5'b11000;
|
|||||||
|
|
||||||
reg wr_cmd;
|
reg wr_cmd;
|
||||||
reg ack_d;
|
reg ack_d;
|
||||||
reg ext_response;
|
|
||||||
reg [23:0] response_reg;
|
reg [23:0] response_reg;
|
||||||
wire end_ack = ~sd_ack[l_drive] & ack_d;
|
wire end_ack = ~sd_ack[l_drive] & ack_d;
|
||||||
reg l_drive, buffer_upper;
|
reg l_drive, buffer_upper;
|
||||||
|
reg time_clr;
|
||||||
|
reg [13:0] delay_time;
|
||||||
|
|
||||||
always @(negedge CLK or negedge RESET_N)
|
always @(negedge CLK or negedge RESET_N)
|
||||||
begin
|
begin
|
||||||
@@ -236,6 +251,8 @@ begin
|
|||||||
sdc_HALT <= 1'b0;
|
sdc_HALT <= 1'b0;
|
||||||
l_drive <= 1'b0;
|
l_drive <= 1'b0;
|
||||||
buffer_upper <= 1'b0;
|
buffer_upper <= 1'b0;
|
||||||
|
time_clr <= 1'b1;
|
||||||
|
delay_time <= 14'b00000000000000;
|
||||||
end
|
end
|
||||||
else
|
else
|
||||||
begin
|
begin
|
||||||
@@ -244,18 +261,21 @@ begin
|
|||||||
|
|
||||||
ack_d <= sd_ack[l_drive];
|
ack_d <= sd_ack[l_drive];
|
||||||
|
|
||||||
if (~(SDC_EN | sdc_always))
|
delay_time <= delay_time + 1'b1;
|
||||||
begin
|
if (time_clr)
|
||||||
sdc_busy <= 1'b1;
|
delay_time <= 14'b00000000000000;
|
||||||
sdc_ready <= 1'b0;
|
|
||||||
end
|
if (rxt_res_end) // If we read ff4b then we've read the ext_response
|
||||||
|
ext_response <= 1'b0;
|
||||||
|
|
||||||
case(state)
|
case(state)
|
||||||
state_idle:
|
state_idle:
|
||||||
begin
|
begin
|
||||||
sdc_busy <= 1'b0;
|
sdc_busy <= 1'b0;
|
||||||
|
sdc_ready <= 1'b0;
|
||||||
run <= 1'b0;
|
run <= 1'b0;
|
||||||
wr_cmd <= 1'b0;
|
wr_cmd <= 1'b0;
|
||||||
|
time_clr <= 1'b1;
|
||||||
transfer_clear <= 1'b1;
|
transfer_clear <= 1'b1;
|
||||||
if (new_cmd & ~new_cmd_d)
|
if (new_cmd & ~new_cmd_d)
|
||||||
if (command[7:3] == CMD_READ)
|
if (command[7:3] == CMD_READ)
|
||||||
@@ -271,16 +291,17 @@ begin
|
|||||||
state <= state_ext;
|
state <= state_ext;
|
||||||
end
|
end
|
||||||
else // no valid command found
|
else // no valid command found
|
||||||
|
begin
|
||||||
cmd_done <= 1'b1;
|
cmd_done <= 1'b1;
|
||||||
|
sdc_fail <= 1'b1;
|
||||||
|
end
|
||||||
end
|
end
|
||||||
state_read:
|
state_read:
|
||||||
begin
|
begin
|
||||||
sdc_busy <= 1'b1;
|
sdc_busy <= 1'b1;
|
||||||
if (~sdc_HALT)
|
|
||||||
begin
|
|
||||||
buffer_upper <= LSN[0];
|
buffer_upper <= LSN[0];
|
||||||
l_drive <= command[0];
|
l_drive <= command[0];
|
||||||
ext_response <= 1'b0;
|
ext_response <= 1'b0; // If we have not read the ext_response by now we are not going too
|
||||||
transfer_clear <= 1'b0;
|
transfer_clear <= 1'b0;
|
||||||
run <= 1'b1;
|
run <= 1'b1;
|
||||||
|
|
||||||
@@ -294,12 +315,10 @@ begin
|
|||||||
sd_lba[1] <= {8'h00, 1'b0, LSN[23:1]};
|
sd_lba[1] <= {8'h00, 1'b0, LSN[23:1]};
|
||||||
state <= state_r1;
|
state <= state_r1;
|
||||||
end
|
end
|
||||||
end
|
|
||||||
state_r1:
|
state_r1:
|
||||||
begin
|
begin
|
||||||
sd_rd[l_drive] <= 1'b1;
|
sd_rd[l_drive] <= 1'b1;
|
||||||
state <= state_r1a;
|
state <= state_r1a;
|
||||||
sdc_HALT <= 1'b1;
|
|
||||||
end
|
end
|
||||||
state_r1a:
|
state_r1a:
|
||||||
if (sd_ack[l_drive])
|
if (sd_ack[l_drive])
|
||||||
@@ -311,7 +330,6 @@ begin
|
|||||||
begin
|
begin
|
||||||
if (sd_ack[l_drive] & sd_buff_wr & (sd_buff_addr == 9'b111111111)) // wait for the last ack
|
if (sd_ack[l_drive] & sd_buff_wr & (sd_buff_addr == 9'b111111111)) // wait for the last ack
|
||||||
begin
|
begin
|
||||||
sdc_HALT <= 1'b0;
|
|
||||||
sdc_ready <= 1'b1;
|
sdc_ready <= 1'b1;
|
||||||
if (wr_cmd)
|
if (wr_cmd)
|
||||||
state <= state_write;
|
state <= state_write;
|
||||||
@@ -323,7 +341,6 @@ begin
|
|||||||
begin
|
begin
|
||||||
if ((transfer_address == 8'hff) & CLK_EN & SDC_RD & (ADDRESS[3:1] == 3'b101)) // wait for the last read
|
if ((transfer_address == 8'hff) & CLK_EN & SDC_RD & (ADDRESS[3:1] == 3'b101)) // wait for the last read
|
||||||
begin
|
begin
|
||||||
sdc_fail <= 1'b0;
|
|
||||||
cmd_done <= 1'b1;
|
cmd_done <= 1'b1;
|
||||||
sdc_ready <= 1'b0;
|
sdc_ready <= 1'b0;
|
||||||
sdc_busy <= 1'b0;
|
sdc_busy <= 1'b0;
|
||||||
@@ -334,7 +351,7 @@ begin
|
|||||||
|
|
||||||
state_write:
|
state_write:
|
||||||
begin
|
begin
|
||||||
if ((transfer_address == 8'hff) & SDC_WR & (ADDRESS[3:1] == 3'b101)) // wait for the last write
|
if ((transfer_address == 8'hff) & CLK_EN & SDC_WR & (ADDRESS[3:1] == 3'b101)) // wait for the last write
|
||||||
begin
|
begin
|
||||||
state <= state_w1;
|
state <= state_w1;
|
||||||
end
|
end
|
||||||
@@ -353,11 +370,20 @@ begin
|
|||||||
end
|
end
|
||||||
state_w3:
|
state_w3:
|
||||||
begin
|
begin
|
||||||
if (end_ack & sdc_HALT) // wait for the end of ack...
|
time_clr <= 1'b1;
|
||||||
|
if (end_ack) // wait for the end of ack...
|
||||||
|
begin
|
||||||
|
state <= state_w4;
|
||||||
|
end
|
||||||
|
end
|
||||||
|
state_w4:
|
||||||
|
begin
|
||||||
|
time_clr <= 1'b0;
|
||||||
|
if (delay_time[13]) // wait for .1ms...
|
||||||
begin
|
begin
|
||||||
sdc_HALT <= 1'b0;
|
sdc_HALT <= 1'b0;
|
||||||
sdc_fail <= 1'b0;
|
|
||||||
wr_cmd <= 1'b0;
|
wr_cmd <= 1'b0;
|
||||||
|
|
||||||
cmd_done <= 1'b1;
|
cmd_done <= 1'b1;
|
||||||
sdc_ready <= 1'b0;
|
sdc_ready <= 1'b0;
|
||||||
sdc_busy <= 1'b0;
|
sdc_busy <= 1'b0;
|
||||||
@@ -372,34 +398,42 @@ begin
|
|||||||
sdc_busy <= 1'b1;
|
sdc_busy <= 1'b1;
|
||||||
state <= state_e1;
|
state <= state_e1;
|
||||||
end
|
end
|
||||||
// else if (LSN[23:16] == 8'H67) // This is g [Disable FDC emulation]
|
else if (LSN[23:16] == 8'H67) // This is g [Disable FDC emulation] [Used by OS9]
|
||||||
// begin
|
begin
|
||||||
// cmd_done <= 1'b1;
|
cmd_done <= 1'b1;
|
||||||
// sdc_always <= 1'b1; // Disable floppy
|
sdc_always <= 1'b1; // Disable floppy
|
||||||
// state <= state_idle;
|
state <= state_idle;
|
||||||
// end
|
end
|
||||||
else
|
else
|
||||||
begin
|
begin
|
||||||
cmd_done <= 1'b1; // All other ext commands...
|
cmd_done <= 1'b1; // All other ext commands...
|
||||||
|
sdc_fail <= 1'b1;
|
||||||
state <= state_idle;
|
state <= state_idle;
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
state_e1:
|
state_e1:
|
||||||
begin
|
begin
|
||||||
sdc_busy <= 1'b0;
|
|
||||||
ext_response <= 1'b1;
|
ext_response <= 1'b1;
|
||||||
response_reg <= {8'h00, drive_size[l_drive]};
|
|
||||||
|
`ifdef CoCo3_sdc_override_size
|
||||||
|
// response_reg <= 24'h555555; // This fixes a redirect error in OS9EOU - Value=no hardware
|
||||||
|
response_reg <= 24'h404040; // This fixes a redirect error in OS9EOU - Value=no hardware
|
||||||
|
`else
|
||||||
|
response_reg <= drive_size[l_drive][31:8]; // This returns the correct size of the mounted drive in sectors
|
||||||
|
`endif
|
||||||
state <= state_e2;
|
state <= state_e2;
|
||||||
end
|
end
|
||||||
|
|
||||||
state_e2:
|
state_e2:
|
||||||
begin
|
begin
|
||||||
|
sdc_busy <= 1'b0;
|
||||||
cmd_done <= 1'b1;
|
cmd_done <= 1'b1;
|
||||||
state <= state_idle;
|
state <= state_idle;
|
||||||
end
|
end
|
||||||
|
|
||||||
endcase
|
endcase
|
||||||
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
@@ -407,12 +441,12 @@ wire [7:0] hd_buff_data;
|
|||||||
|
|
||||||
wire [7:0] sd_buf_out;
|
wire [7:0] sd_buf_out;
|
||||||
|
|
||||||
assign sd_buff_din[0] = (~l_drive) ? sd_buf_out:
|
|
||||||
8'h00;
|
|
||||||
|
|
||||||
assign sd_buff_din[1] = (l_drive) ? sd_buf_out:
|
// Both drives cannot be executing a read or write at the same time. Both use the same sd sector buffer
|
||||||
8'h00;
|
|
||||||
|
|
||||||
|
assign sd_buff_din[0] = sd_buf_out;
|
||||||
|
|
||||||
|
assign sd_buff_din[1] = sd_buf_out;
|
||||||
|
|
||||||
sdc_dpram hd_buff
|
sdc_dpram hd_buff
|
||||||
(
|
(
|
||||||
@@ -424,44 +458,24 @@ sdc_dpram hd_buff
|
|||||||
|
|
||||||
.address_b({buffer_upper, transfer_address}),
|
.address_b({buffer_upper, transfer_address}),
|
||||||
.data_b(SDC_DATA_IN),
|
.data_b(SDC_DATA_IN),
|
||||||
.wren_b((SDC_EN | sdc_always) & SDC_WR & (ADDRESS[3:1] == 3'b101)),
|
.wren_b(SDC_EN & CLK_EN & SDC_WR & (ADDRESS[3:1] == 3'b101)),
|
||||||
.q_b(hd_buff_data)
|
.q_b(hd_buff_data)
|
||||||
);
|
);
|
||||||
|
|
||||||
wire [1:0] drive_wp;
|
|
||||||
reg [1:0] drive_ready = 2'b00;
|
|
||||||
wire [7:0] sdc_status;
|
wire [7:0] sdc_status;
|
||||||
|
|
||||||
assign sdc_status = {sdc_fail, drive_wp[l_drive], 1'b0, ~drive_ready[l_drive], 2'b00, sdc_ready, sdc_busy};
|
assign sdc_status = {sdc_fail, drive_wp[l_drive], 1'b0, ~drive_ready[l_drive], 2'b00, sdc_ready, sdc_busy};
|
||||||
|
|
||||||
assign SDC_READ_DATA = (ADDRESS == ADRS_FF42) ? {sdc_data_reg, 4'h0}:
|
assign SDC_READ_DATA = (ADDRESS == ADRS_FF42) ? {sdc_data_reg, 4'h0}:
|
||||||
(ADDRESS == ADRS_FF43) ? sdc_status_reg:
|
(ADDRESS == ADRS_FF43) ? sdc_status_reg:
|
||||||
((ADDRESS == ADRS_FF48) & ~ext_response) ? sdc_status:
|
(ADDRESS == ADRS_FF48) ? sdc_status:
|
||||||
((ADDRESS == ADRS_FF48) & ext_response) ? response_reg[23:16]:
|
(ADDRESS == ADRS_FF49) ? response_reg[23:16]:
|
||||||
((ADDRESS == ADRS_FF4A) & ~ext_response) ? hd_buff_data:
|
((ADDRESS == ADRS_FF4A) & ~ext_response) ? hd_buff_data:
|
||||||
((ADDRESS == ADRS_FF4A) & ext_response) ? response_reg[15:8]:
|
((ADDRESS == ADRS_FF4A) & ext_response) ? response_reg[15:8]:
|
||||||
((ADDRESS == ADRS_FF4B) & ~ext_response) ? hd_buff_data:
|
((ADDRESS == ADRS_FF4B) & ~ext_response) ? hd_buff_data:
|
||||||
((ADDRESS == ADRS_FF4B) & ext_response) ? response_reg[7:0]:
|
((ADDRESS == ADRS_FF4B) & ext_response) ? response_reg[7:0]:
|
||||||
8'h00;
|
8'h00;
|
||||||
|
|
||||||
// SD Drive 0
|
|
||||||
|
|
||||||
always @(negedge img_mounted[0])
|
|
||||||
begin
|
|
||||||
drive_wp[0] <= img_readonly;
|
|
||||||
drive_ready[0] <= 1'b1;
|
|
||||||
drive_size[0] <= {4'h0, img_size[19:8]}; //Size / 256
|
|
||||||
end
|
|
||||||
|
|
||||||
// SD Drive 1
|
|
||||||
|
|
||||||
always @(negedge img_mounted[1])
|
|
||||||
begin
|
|
||||||
drive_wp[1] <= img_readonly;
|
|
||||||
drive_ready[1] <= 1'b1;
|
|
||||||
drive_size[1] <= {4'h0, img_size[19:8]}; //Size / 256
|
|
||||||
end
|
|
||||||
|
|
||||||
endmodule
|
endmodule
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
+88
-61
@@ -47,6 +47,8 @@
|
|||||||
// of this controller will be shutdown and the normal 4 drive fdc will take
|
// of this controller will be shutdown and the normal 4 drive fdc will take
|
||||||
// over dfc on a different mpi slot.
|
// over dfc on a different mpi slot.
|
||||||
//
|
//
|
||||||
|
// Ver 2.00 Implemented with single 1793 ...
|
||||||
|
//
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
////////////////////////////////////////////////////////////////////////////////
|
////////////////////////////////////////////////////////////////////////////////
|
||||||
|
|
||||||
@@ -77,6 +79,8 @@ module sdc_top(
|
|||||||
input SDC_REG_W_ENA,
|
input SDC_REG_W_ENA,
|
||||||
input SDC_REG_READ,
|
input SDC_REG_READ,
|
||||||
|
|
||||||
|
output ext_response,
|
||||||
|
|
||||||
// SD block level interface
|
// SD block level interface
|
||||||
|
|
||||||
input [1:0] img_mounted, // signaling that new image has been mounted
|
input [1:0] img_mounted, // signaling that new image has been mounted
|
||||||
@@ -124,18 +128,19 @@ begin
|
|||||||
end
|
end
|
||||||
|
|
||||||
localparam SDC_MAGIC_CMD = 8'h43;
|
localparam SDC_MAGIC_CMD = 8'h43;
|
||||||
|
wire sdc_always;
|
||||||
|
|
||||||
wire [7:0] FF40_READ_VALUE = {HALT_EN, DRIVE_SEL_EXT[3], DENSITY, WRT_PREC, MOTOR, DRIVE_SEL_EXT[2:0]};
|
wire [7:0] FF40_READ_VALUE = {HALT_EN, DRIVE_SEL_EXT[3], DENSITY, WRT_PREC, MOTOR, DRIVE_SEL_EXT[2:0]};
|
||||||
wire SDC_EN = (FF40_READ_VALUE == SDC_MAGIC_CMD);
|
wire SDC_EN = ((FF40_READ_VALUE == SDC_MAGIC_CMD) | sdc_always);
|
||||||
wire [7:0] SDC_READ_DATA;
|
wire [7:0] SDC_READ_DATA;
|
||||||
wire sdc_always;
|
wire FF40_RD = ({SDC_EN_CS, ADDRESS[3:0]} == 5'b10000);
|
||||||
wire FF40_RD = ({SDC_EN_CS, ADDRESS[3:0]} == 5'h10);
|
|
||||||
|
|
||||||
|
|
||||||
//FDC read data path. =$ff40 or wd1793(s)
|
//FDC read data path. =$ff40 or wd1793(s)
|
||||||
assign DATA_HDD = (SDC_EN | sdc_always) ? SDC_READ_DATA:
|
|
||||||
(SDC_EN_CS & (ADDRESS[3:1] == 3'b001)) ? SDC_READ_DATA: // FF42 & FF43
|
assign DATA_HDD =
|
||||||
(FF40_RD) ? FF40_READ_VALUE:
|
(FF40_RD) ? FF40_READ_VALUE:
|
||||||
|
(SDC_EN | ext_response) ? SDC_READ_DATA:
|
||||||
|
(SDC_EN_CS & (ADDRESS[3:1] == 3'b001)) ? SDC_READ_DATA: // FF42 & FF43
|
||||||
(WD1793_RD) ? DATA_1793: //(1793[s])
|
(WD1793_RD) ? DATA_1793: //(1793[s])
|
||||||
8'h00;
|
8'h00;
|
||||||
|
|
||||||
@@ -147,47 +152,52 @@ wire [1:0] sdc_sd_wr;
|
|||||||
wire [1:0] fdc_sd_wr;
|
wire [1:0] fdc_sd_wr;
|
||||||
wire [7:0] sdc_sd_buff_din[2];
|
wire [7:0] sdc_sd_buff_din[2];
|
||||||
wire [7:0] fdc_sd_buff_din[2];
|
wire [7:0] fdc_sd_buff_din[2];
|
||||||
|
wire [7:0] wd1793_sd_buff_din;
|
||||||
wire sdc_HALT;
|
wire sdc_HALT;
|
||||||
|
|
||||||
assign sd_lba[0:1] = (SDC_EN | sdc_always) ? sdc_sd_lba[0:1]:
|
assign sd_lba[0:1] = SDC_EN ? sdc_sd_lba[0:1]:
|
||||||
fdc_sd_lba[0:1];
|
fdc_sd_lba[0:1];
|
||||||
|
|
||||||
assign sd_rd[1:0] = (SDC_EN | sdc_always) ? sdc_sd_rd[1:0]:
|
assign sd_rd[1:0] = SDC_EN ? sdc_sd_rd[1:0]:
|
||||||
fdc_sd_rd[1:0];
|
fdc_sd_rd[1:0];
|
||||||
|
|
||||||
assign sd_wr[1:0] = (SDC_EN | sdc_always) ? sdc_sd_wr[1:0]:
|
assign sd_wr[1:0] = SDC_EN ? sdc_sd_wr[1:0]:
|
||||||
fdc_sd_wr[1:0];
|
fdc_sd_wr[1:0];
|
||||||
|
|
||||||
assign sd_buff_din[0:1] = (SDC_EN | sdc_always) ? sdc_sd_buff_din[0:1]:
|
assign sd_buff_din[0:1] = SDC_EN ? sdc_sd_buff_din[0:1]:
|
||||||
fdc_sd_buff_din[0:1];
|
fdc_sd_buff_din[0:1];
|
||||||
|
|
||||||
|
|
||||||
sdc coco_sdc(
|
sdc coco_sdc(
|
||||||
.CLK(CLK), // clock
|
.CLK(CLK), // clock
|
||||||
.RESET_N(RESET_N), // async reset
|
.RESET_N(RESET_N), // async reset
|
||||||
.ADDRESS(ADDRESS), // i/o port addr [extended for coco]
|
.ADDRESS(ADDRESS), // i/o port addr [extended for coco]
|
||||||
.SDC_DATA_IN(DATA_IN), // data in
|
.SDC_DATA_IN(DATA_IN), // data in
|
||||||
.SDC_READ_DATA, // data out
|
.SDC_READ_DATA(SDC_READ_DATA), // data out
|
||||||
|
|
||||||
.SDC_EN(SDC_EN), // SDC is active [input to sdc]
|
.SDC_EN(SDC_EN), // SDC is active [input to sdc]
|
||||||
.CLK_EN(CLK_EN),
|
.CLK_EN(CLK_EN),
|
||||||
.SDC_WR(SDC_REG_W_ENA),
|
.SDC_WR(SDC_REG_W_ENA),
|
||||||
.SDC_RD(SDC_REG_READ),
|
.SDC_RD(SDC_REG_READ),
|
||||||
|
|
||||||
.sdc_always(sdc_always), // SDC is active [output from sdc (sdc is turning off fdc)]
|
|
||||||
|
|
||||||
.sdc_HALT(sdc_HALT),
|
.sdc_HALT(sdc_HALT),
|
||||||
|
|
||||||
// SD block level interface
|
.ext_response(ext_response),
|
||||||
|
.sdc_always(sdc_always),
|
||||||
|
|
||||||
.img_mounted(img_mounted[1:0]), // signaling that new image has been mounted
|
// SD block level interface
|
||||||
.img_readonly(img_readonly), // mounted as read only. valid only for active bit in img_mounted
|
|
||||||
.img_size(img_size), // size of image in bytes.
|
|
||||||
|
|
||||||
.sd_lba(sdc_sd_lba[0:1]),
|
.sd_lba(sdc_sd_lba[0:1]),
|
||||||
.sd_rd(sdc_sd_rd[1:0]),
|
.sd_rd(sdc_sd_rd[1:0]),
|
||||||
.sd_wr(sdc_sd_wr[1:0]),
|
.sd_wr(sdc_sd_wr[1:0]),
|
||||||
.sd_ack(sd_ack[1:0]),
|
.sd_ack(sd_ack[1:0]),
|
||||||
|
|
||||||
|
// Drive descripters
|
||||||
|
|
||||||
|
.drive_wp(drive_wp),
|
||||||
|
.drive_ready(drive_ready),
|
||||||
|
.drive_size(drive_size[0:1]),
|
||||||
|
|
||||||
// SD byte level access. Signals for 2-PORT altsyncram.
|
// SD byte level access. Signals for 2-PORT altsyncram.
|
||||||
.sd_buff_addr(sd_buff_addr),
|
.sd_buff_addr(sd_buff_addr),
|
||||||
.sd_buff_dout(sd_buff_dout),
|
.sd_buff_dout(sd_buff_dout),
|
||||||
@@ -199,15 +209,14 @@ sdc coco_sdc(
|
|||||||
|
|
||||||
// $ff40 control register [part 1]
|
// $ff40 control register [part 1]
|
||||||
|
|
||||||
wire [3:0] DRIVE_SEL_EXT_PRE = {DATA_IN[6], DATA_IN[2:0]};
|
wire [3:0] DRIVE_SEL_EXT_PRE = {DATA_IN[6] // Side Select
|
||||||
|
, DATA_IN[2:0]}; // ONLY 2 drives (DS)
|
||||||
|
|
||||||
reg [2:0] drive_index;
|
reg [2:0] drive_index;
|
||||||
|
|
||||||
// SD blk system is a array of 4 systems - one for each drive.
|
// SD blk system is a array of 4 systems - one for each drive.
|
||||||
// To keep disk track memory, we created 4 wd1793's to match the sd block interfaces
|
// 'drive_index' identifies which controller is addressd.
|
||||||
// For the interface back to the coco - we need to isolate the wd1793 the computer is talking
|
// drive 1-2 for the sdc is denoted as 1 , 2 [0 is no drive selected]
|
||||||
// to and route those feedback signals back to the coco. This is accomplished via the drive
|
|
||||||
// select. 'drive_index' identifies which controller is addressd.
|
|
||||||
|
|
||||||
|
|
||||||
always @(negedge FF40_CLK or negedge RESET_N)
|
always @(negedge FF40_CLK or negedge RESET_N)
|
||||||
begin
|
begin
|
||||||
@@ -223,25 +232,31 @@ begin
|
|||||||
begin
|
begin
|
||||||
if (FF40_ENA)
|
if (FF40_ENA)
|
||||||
begin
|
begin
|
||||||
DRIVE_SEL_EXT <= {4'b0000,
|
DRIVE_SEL_EXT <= {4'b0000, DRIVE_SEL_EXT_PRE};
|
||||||
DATA_IN[6], // Drive Select [3] / Side Select
|
|
||||||
1'b0,
|
|
||||||
DATA_IN[1:0]}; // Drive Select [1:0] (2 drives + side select)
|
|
||||||
MOTOR <= DATA_IN[3]; // Turn on motor, not used here just checked, 0=MotorOff 1=MotorOn
|
MOTOR <= DATA_IN[3]; // Turn on motor, not used here just checked, 0=MotorOff 1=MotorOn
|
||||||
WRT_PREC <= DATA_IN[4]; // Write Precompensation, not used here
|
WRT_PREC <= DATA_IN[4]; // Write Precompensation, not used here
|
||||||
DENSITY <= DATA_IN[5]; // Density, not used here just checked
|
DENSITY <= DATA_IN[5]; // Density, not used here just checked
|
||||||
case(DRIVE_SEL_EXT_PRE)
|
case(DRIVE_SEL_EXT_PRE)
|
||||||
4'b0010:
|
4'b0010:
|
||||||
drive_index <= 3'd1;
|
drive_index <= 3'd2;
|
||||||
|
|
||||||
4'b0001:
|
4'b0001:
|
||||||
drive_index <= 3'd0;
|
|
||||||
|
|
||||||
4'b1010:
|
|
||||||
drive_index <= 3'd1;
|
drive_index <= 3'd1;
|
||||||
|
|
||||||
|
4'b1010:
|
||||||
|
drive_index <= 3'd2;
|
||||||
|
|
||||||
4'b1001:
|
4'b1001:
|
||||||
drive_index <= 3'd0;
|
drive_index <= 3'd1;
|
||||||
|
|
||||||
|
4'b1011: // This is what the Magic Number $43 does so we select a non-active drive
|
||||||
|
drive_index <= 3'd1;
|
||||||
|
4'b1000: // This is no drive with DS = illegal drive
|
||||||
|
drive_index <= 3'd1;
|
||||||
|
4'b0000: // This is no drive (maybe 0 in ff40) = illegal drive
|
||||||
|
drive_index <= 3'd1;
|
||||||
|
default:
|
||||||
|
drive_index <= 3'd1;
|
||||||
endcase
|
endcase
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@@ -259,6 +274,8 @@ begin
|
|||||||
if (FF40_ENA)
|
if (FF40_ENA)
|
||||||
begin
|
begin
|
||||||
HALT_EN <= DATA_IN[7]; // Normal Halt enable, 0=Disabled 1=Enabled
|
HALT_EN <= DATA_IN[7]; // Normal Halt enable, 0=Disabled 1=Enabled
|
||||||
|
if (sdc_always)
|
||||||
|
HALT_EN <= 1'b0;
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@@ -274,7 +291,6 @@ wire selected_INTRQ;
|
|||||||
wire WR[2];
|
wire WR[2];
|
||||||
wire RD[2];
|
wire RD[2];
|
||||||
wire RD_E[2];
|
wire RD_E[2];
|
||||||
//wire CE;
|
|
||||||
wire HALT_EN_RST;
|
wire HALT_EN_RST;
|
||||||
wire [7:0] DATA_1793;
|
wire [7:0] DATA_1793;
|
||||||
wire [7:0] dout[2];
|
wire [7:0] dout[2];
|
||||||
@@ -289,8 +305,8 @@ reg read1;
|
|||||||
reg write1;
|
reg write1;
|
||||||
reg [1:0] ADDRESS_L;
|
reg [1:0] ADDRESS_L;
|
||||||
|
|
||||||
assign RD[0] = (read || RD_E[0]) && (drive_index == 3'd0);
|
assign RD[0] = (read || RD_E[0]) && (drive_index == 2'd1);
|
||||||
assign RD[1] = (read || RD_E[1]) && (drive_index == 3'd1);
|
assign RD[1] = (read || RD_E[1]) && (drive_index == 3'd2);
|
||||||
|
|
||||||
// The idea here is to "stretch" the CPU read and write signals to ensure we catch a 8 mhz enable.
|
// The idea here is to "stretch" the CPU read and write signals to ensure we catch a 8 mhz enable.
|
||||||
// For writes we will buffer the data out to ensure it does not go away.
|
// For writes we will buffer the data out to ensure it does not go away.
|
||||||
@@ -301,9 +317,11 @@ assign RD[1] = (read || RD_E[1]) && (drive_index == 3'd1);
|
|||||||
// It is heavily dependant on address and write data being available just after
|
// It is heavily dependant on address and write data being available just after
|
||||||
// the previous cycle.
|
// the previous cycle.
|
||||||
|
|
||||||
always @(negedge CLK or negedge RESET_N)
|
wire wd1793_r_w_sync_rst = RESET_N;
|
||||||
|
|
||||||
|
always @(negedge CLK or negedge wd1793_r_w_sync_rst)
|
||||||
begin
|
begin
|
||||||
if(!RESET_N)
|
if(!wd1793_r_w_sync_rst)
|
||||||
begin
|
begin
|
||||||
read_d <= 1'b0;
|
read_d <= 1'b0;
|
||||||
write_d <= 1'b0;
|
write_d <= 1'b0;
|
||||||
@@ -322,10 +340,10 @@ begin
|
|||||||
begin
|
begin
|
||||||
|
|
||||||
// synchronizers
|
// synchronizers
|
||||||
read1 <= WD1793_RD_CTRL & ~(SDC_EN | sdc_always);
|
read1 <= WD1793_RD_CTRL & ~SDC_EN;
|
||||||
read <= read1;
|
read <= read1;
|
||||||
|
|
||||||
write1 <= WD1793_WR_CTRL & ~(SDC_EN | sdc_always);
|
write1 <= WD1793_WR_CTRL & ~SDC_EN;
|
||||||
write <= write1;
|
write <= write1;
|
||||||
|
|
||||||
// delays for edge detection
|
// delays for edge detection
|
||||||
@@ -342,12 +360,12 @@ begin
|
|||||||
// Synchronus rising edge of write
|
// Synchronus rising edge of write
|
||||||
if ((write == 1'b1) && (write_d == 1'b0))
|
if ((write == 1'b1) && (write_d == 1'b0))
|
||||||
begin
|
begin
|
||||||
// Set Writes
|
// Set Write
|
||||||
r_w_active <= 1'b1;
|
r_w_active <= 1'b1;
|
||||||
case (drive_index)
|
case (drive_index)
|
||||||
3'd0:
|
|
||||||
WR[0] <= 1'b1;
|
|
||||||
3'd1:
|
3'd1:
|
||||||
|
WR[0] <= 1'b1;
|
||||||
|
3'd2:
|
||||||
WR[1] <= 1'b1;
|
WR[1] <= 1'b1;
|
||||||
endcase
|
endcase
|
||||||
end
|
end
|
||||||
@@ -357,9 +375,9 @@ begin
|
|||||||
begin
|
begin
|
||||||
r_w_active <= 1'b1;
|
r_w_active <= 1'b1;
|
||||||
case (drive_index)
|
case (drive_index)
|
||||||
3'd0:
|
|
||||||
RD_E[0] <= 1'b1;
|
|
||||||
3'd1:
|
3'd1:
|
||||||
|
RD_E[0] <= 1'b1;
|
||||||
|
3'd2:
|
||||||
RD_E[1] <= 1'b1;
|
RD_E[1] <= 1'b1;
|
||||||
endcase
|
endcase
|
||||||
end
|
end
|
||||||
@@ -373,7 +391,6 @@ begin
|
|||||||
begin
|
begin
|
||||||
clk_8Mhz_enable_found <= 1'b0;
|
clk_8Mhz_enable_found <= 1'b0;
|
||||||
r_w_active <= 1'b0;
|
r_w_active <= 1'b0;
|
||||||
|
|
||||||
WR[0] <= 1'b0;
|
WR[0] <= 1'b0;
|
||||||
WR[1] <= 1'b0;
|
WR[1] <= 1'b0;
|
||||||
|
|
||||||
@@ -386,27 +403,31 @@ end
|
|||||||
|
|
||||||
// NMI from disk controller
|
// NMI from disk controller
|
||||||
// Selected INTRQ
|
// Selected INTRQ
|
||||||
assign selected_INTRQ = (drive_index == 3'd0) ? INTRQ[0]:
|
assign selected_INTRQ = (drive_index == 3'd1) ? INTRQ[0]:
|
||||||
(drive_index == 3'd1) ? INTRQ[1]:
|
(drive_index == 3'd2) ? INTRQ[1]:
|
||||||
1'b0;
|
1'b0;
|
||||||
|
|
||||||
assign NMI_09 = DENSITY & selected_INTRQ; // Send NMI if Double Density (Halt Mode)
|
assign NMI_09 = ~SDC_EN & DENSITY & selected_INTRQ; // Send NMI if Double Density (Halt Mode)
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
// HALT from disk controller
|
// HALT from disk controller
|
||||||
|
|
||||||
// Selected DRQ
|
// Selected DRQ
|
||||||
assign selected_DRQ = (drive_index == 3'd0) ? DRQ[0]:
|
assign selected_DRQ = (drive_index == 3'd1) ? DRQ[0]:
|
||||||
(drive_index == 3'd1) ? DRQ[1]:
|
(drive_index == 3'd2) ? DRQ[1]:
|
||||||
1'b1;
|
1'b1;
|
||||||
|
|
||||||
assign HALT = (HALT_EN & ~selected_DRQ) | sdc_HALT;
|
assign HALT = (~SDC_EN & HALT_EN & ~selected_DRQ) | sdc_HALT;
|
||||||
|
|
||||||
assign HALT_EN_RST = RESET_N & ~selected_INTRQ; // From controller schematic
|
assign HALT_EN_RST = RESET_N & ~selected_INTRQ; // From controller schematic
|
||||||
|
|
||||||
// Data bus selection
|
// Data bus selection
|
||||||
assign DATA_1793 = (drive_index == 3'd0) ? dout[0]:
|
assign DATA_1793 = (drive_index == 3'd1) ? dout[0]:
|
||||||
(drive_index == 3'd1) ? dout[1]:
|
(drive_index == 3'd2) ? dout[1]:
|
||||||
8'd0;
|
8'd0;
|
||||||
|
|
||||||
|
|
||||||
// The SD_BLK interface and thus the wd1793 will allways transfer 1 blk. This is blk qty - 1 per spec.
|
// The SD_BLK interface and thus the wd1793 will allways transfer 1 blk. This is blk qty - 1 per spec.
|
||||||
assign sd_blk_cnt[1] = 6'd0;
|
assign sd_blk_cnt[1] = 6'd0;
|
||||||
assign sd_blk_cnt[0] = 6'd0;
|
assign sd_blk_cnt[0] = 6'd0;
|
||||||
@@ -414,6 +435,7 @@ assign sd_blk_cnt[0] = 6'd0;
|
|||||||
reg drive_wp[2];
|
reg drive_wp[2];
|
||||||
reg [1:0] drive_ready = 2'b00;
|
reg [1:0] drive_ready = 2'b00;
|
||||||
reg [1:0] double_sided = 2'b00;
|
reg [1:0] double_sided = 2'b00;
|
||||||
|
reg [31:0] drive_size[2];
|
||||||
|
|
||||||
// As drives are mounted in MISTer this logic saves the write protect and generates ready for
|
// As drives are mounted in MISTer this logic saves the write protect and generates ready for
|
||||||
// changing drives to the wd1793.
|
// changing drives to the wd1793.
|
||||||
@@ -427,6 +449,7 @@ always @(negedge img_mounted[0])
|
|||||||
begin
|
begin
|
||||||
drive_wp[0] <= img_readonly;
|
drive_wp[0] <= img_readonly;
|
||||||
drive_ready[0] <= 1'b1;
|
drive_ready[0] <= 1'b1;
|
||||||
|
drive_size[0] <= img_size[31:0]; //Size / 256 on [31:8]
|
||||||
double_sided[0]<= (img_size > 64'd368600) & (img_size < 64'd740000);//20'd368640;
|
double_sided[0]<= (img_size > 64'd368600) & (img_size < 64'd740000);//20'd368640;
|
||||||
end
|
end
|
||||||
|
|
||||||
@@ -436,11 +459,12 @@ always @(negedge img_mounted[1])
|
|||||||
begin
|
begin
|
||||||
drive_wp[1] <= img_readonly;
|
drive_wp[1] <= img_readonly;
|
||||||
drive_ready[1] <= 1'b1;
|
drive_ready[1] <= 1'b1;
|
||||||
|
drive_size[1] <= img_size[31:0]; //Size / 256 on [31:8]
|
||||||
double_sided[1]<= (img_size > 64'd368600) & (img_size < 64'd740000);//20'd368640;
|
double_sided[1]<= (img_size > 64'd368600) & (img_size < 64'd740000);//20'd368640;
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
||||||
wd1793 #(1,1) coco_wd1793_0
|
wd1793 #(1,0) coco_wd1793_sdc_0
|
||||||
(
|
(
|
||||||
.clk_sys(~CLK),
|
.clk_sys(~CLK),
|
||||||
.ce(ena_8Mhz),
|
.ce(ena_8Mhz),
|
||||||
@@ -454,8 +478,9 @@ wd1793 #(1,1) coco_wd1793_0
|
|||||||
.drq(DRQ[0]),
|
.drq(DRQ[0]),
|
||||||
.intrq(INTRQ[0]),
|
.intrq(INTRQ[0]),
|
||||||
|
|
||||||
.img_mounted(img_mounted[0]),
|
.img_mounted(1'b0), // Not used when using _override
|
||||||
.img_size(img_size),
|
.img_mounted_overide(1'b1), // Load img_size and layout on each clock
|
||||||
|
.img_size(drive_size[0]),
|
||||||
|
|
||||||
.sd_lba(fdc_sd_lba[0]),
|
.sd_lba(fdc_sd_lba[0]),
|
||||||
.sd_rd(fdc_sd_rd[0]),
|
.sd_rd(fdc_sd_rd[0]),
|
||||||
@@ -474,14 +499,14 @@ wd1793 #(1,1) coco_wd1793_0
|
|||||||
.side(double_sided[0] & DRIVE_SEL_EXT[3]),
|
.side(double_sided[0] & DRIVE_SEL_EXT[3]),
|
||||||
.ready(drive_ready[0]),
|
.ready(drive_ready[0]),
|
||||||
|
|
||||||
.input_active(0),
|
.input_active(0), // Section not used
|
||||||
.input_addr(0),
|
.input_addr(0),
|
||||||
.input_data(0),
|
.input_data(0),
|
||||||
.input_wr(0),
|
.input_wr(0),
|
||||||
.buff_din(0)
|
.buff_din(0)
|
||||||
);
|
);
|
||||||
|
|
||||||
wd1793 #(1,0) coco_wd1793_1
|
wd1793 #(1,0) coco_wd1793_sdc_1
|
||||||
(
|
(
|
||||||
.clk_sys(~CLK),
|
.clk_sys(~CLK),
|
||||||
.ce(ena_8Mhz),
|
.ce(ena_8Mhz),
|
||||||
@@ -495,8 +520,9 @@ wd1793 #(1,0) coco_wd1793_1
|
|||||||
.drq(DRQ[1]),
|
.drq(DRQ[1]),
|
||||||
.intrq(INTRQ[1]),
|
.intrq(INTRQ[1]),
|
||||||
|
|
||||||
.img_mounted(img_mounted[1]),
|
.img_mounted(1'b0), // Not used when using _override
|
||||||
.img_size(img_size),
|
.img_mounted_overide(1'b1), // Load img_size and layout on each clock
|
||||||
|
.img_size(drive_size[1]),
|
||||||
|
|
||||||
.sd_lba(fdc_sd_lba[1]),
|
.sd_lba(fdc_sd_lba[1]),
|
||||||
.sd_rd(fdc_sd_rd[1]),
|
.sd_rd(fdc_sd_rd[1]),
|
||||||
@@ -515,11 +541,12 @@ wd1793 #(1,0) coco_wd1793_1
|
|||||||
.side(double_sided[1] & DRIVE_SEL_EXT[3]),
|
.side(double_sided[1] & DRIVE_SEL_EXT[3]),
|
||||||
.ready(drive_ready[1]),
|
.ready(drive_ready[1]),
|
||||||
|
|
||||||
.input_active(0),
|
.input_active(0), // Section not used
|
||||||
.input_addr(0),
|
.input_addr(0),
|
||||||
.input_data(0),
|
.input_data(0),
|
||||||
.input_wr(0),
|
.input_wr(0),
|
||||||
.buff_din(0)
|
.buff_din(0)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
endmodule
|
endmodule
|
||||||
+17
-2
@@ -4,6 +4,7 @@
|
|||||||
//
|
//
|
||||||
// Copyright (C) 2007,2008 Viacheslav Slavinsky
|
// Copyright (C) 2007,2008 Viacheslav Slavinsky
|
||||||
// Copyright (C) 2016 Sorgelig
|
// Copyright (C) 2016 Sorgelig
|
||||||
|
// Copyright (C) 2021,2023 Stan Hodge
|
||||||
//
|
//
|
||||||
// Modifications for track size of 18 x 256 by Stan Hodge (SRH) 9/6/21
|
// Modifications for track size of 18 x 256 by Stan Hodge (SRH) 9/6/21
|
||||||
// Modifications not to reset the track and sector registers by SRH 12/18/21
|
// Modifications not to reset the track and sector registers by SRH 12/18/21
|
||||||
@@ -48,6 +49,7 @@ module wd1793 #(parameter RWMODE=0, EDSK=1)
|
|||||||
|
|
||||||
// SD access (RWMODE == 1)
|
// SD access (RWMODE == 1)
|
||||||
input img_mounted, // signaling that new image has been mounted
|
input img_mounted, // signaling that new image has been mounted
|
||||||
|
input img_mounted_overide, // SRH - used to always load img_size (& layout) per clock [img_mounted occurs at higher level]
|
||||||
// input [19:0] img_size, // size of image in bytes. 1MB MAX!
|
// input [19:0] img_size, // size of image in bytes. 1MB MAX!
|
||||||
input [63:0] img_size, // size of image in bytes.
|
input [63:0] img_size, // size of image in bytes.
|
||||||
output prepare,
|
output prepare,
|
||||||
@@ -97,6 +99,7 @@ reg [1:0] wd_size_code;
|
|||||||
wire [7:0] buff_dout;
|
wire [7:0] buff_dout;
|
||||||
reg [1:0] sd_block = 0;
|
reg [1:0] sd_block = 0;
|
||||||
reg format;
|
reg format;
|
||||||
|
reg buff_wr;
|
||||||
generate
|
generate
|
||||||
if(RWMODE) begin
|
if(RWMODE) begin
|
||||||
wd1793_dpram sbuf
|
wd1793_dpram sbuf
|
||||||
@@ -113,7 +116,6 @@ generate
|
|||||||
.wren_b(wre & buff_wr & (addr == A_DATA) & ~scan_active),
|
.wren_b(wre & buff_wr & (addr == A_DATA) & ~scan_active),
|
||||||
.q_b(buff_dout)
|
.q_b(buff_dout)
|
||||||
);
|
);
|
||||||
reg buff_wr;
|
|
||||||
end else begin
|
end else begin
|
||||||
assign buff_dout = 0;
|
assign buff_dout = 0;
|
||||||
assign sd_buff_din = 0;
|
assign sd_buff_din = 0;
|
||||||
@@ -299,6 +301,13 @@ always @(posedge clk_sys) begin
|
|||||||
|
|
||||||
if(RWMODE) begin
|
if(RWMODE) begin
|
||||||
old_mounted <= img_mounted;
|
old_mounted <= img_mounted;
|
||||||
|
|
||||||
|
// SRH img_mounted_overide added to allow img_mounted to be processed at higher level
|
||||||
|
if (img_mounted_overide)
|
||||||
|
begin
|
||||||
|
disk_size <= img_size[19:0];
|
||||||
|
layout_r <= layout;
|
||||||
|
end
|
||||||
if(old_mounted && ~img_mounted) begin
|
if(old_mounted && ~img_mounted) begin
|
||||||
if(EDSK) begin
|
if(EDSK) begin
|
||||||
scan_active<= 1;
|
scan_active<= 1;
|
||||||
@@ -779,13 +788,19 @@ wire[10:0] edsk_next = ((edsk_addr + 1'd1) >= edsk_size) ? 11'd0 : edsk_addr + 1
|
|||||||
|
|
||||||
reg [7:0] spt_size = 0;
|
reg [7:0] spt_size = 0;
|
||||||
|
|
||||||
|
// spt_addr is assigned from the always block above, outside the
|
||||||
|
// `generate if(EDSK)` scope it used to be declared in. Quartus tolerates that,
|
||||||
|
// but Verilator rejects it ("Can't find definition of variable: 'spt_addr'"),
|
||||||
|
// so it lives at module scope, next to spt_size. No behavioural change.
|
||||||
|
reg [7:0] spt_addr;
|
||||||
|
|
||||||
generate
|
generate
|
||||||
if(EDSK) begin
|
if(EDSK) begin
|
||||||
wire [7:0] scan_data = RWMODE ? buff_dout : input_data;
|
wire [7:0] scan_data = RWMODE ? buff_dout : input_data;
|
||||||
reg [53:0] edsk[1992];
|
reg [53:0] edsk[1992];
|
||||||
reg [7:0] spt[166];
|
reg [7:0] spt[166];
|
||||||
|
|
||||||
reg [7:0] spt_addr;
|
// reg [7:0] spt_addr;
|
||||||
always @(posedge clk_sys) begin
|
always @(posedge clk_sys) begin
|
||||||
{edsk_track,edsk_side,edsk_trackf,edsk_sidef,edsk_sector,edsk_sizecode,edsk_offset} <= edsk[edsk_addr];
|
{edsk_track,edsk_side,edsk_trackf,edsk_sidef,edsk_sector,edsk_sizecode,edsk_offset} <= edsk[edsk_addr];
|
||||||
edsk_spt <= spt[spt_addr];
|
edsk_spt <= spt[spt_addr];
|
||||||
|
|||||||
@@ -99,6 +99,11 @@ generate
|
|||||||
assign G = {RGB_fix[7:4],RGB_fix[7:4]};
|
assign G = {RGB_fix[7:4],RGB_fix[7:4]};
|
||||||
assign B = {RGB_fix[3:0],RGB_fix[3:0]};
|
assign B = {RGB_fix[3:0],RGB_fix[3:0]};
|
||||||
end
|
end
|
||||||
|
else if(DW == 18) begin
|
||||||
|
assign R = {RGB_fix[17:12],RGB_fix[17:16]};
|
||||||
|
assign G = {RGB_fix[11: 6],RGB_fix[11:10]};
|
||||||
|
assign B = {RGB_fix[ 5: 0],RGB_fix[ 5: 4]};
|
||||||
|
end
|
||||||
else begin // 24
|
else begin // 24
|
||||||
assign R = RGB_fix[23:16];
|
assign R = RGB_fix[23:16];
|
||||||
assign G = RGB_fix[15:8];
|
assign G = RGB_fix[15:8];
|
||||||
|
|||||||
+160
-41
@@ -103,7 +103,7 @@ USE ieee.numeric_std.ALL;
|
|||||||
-- DOWNSCALE : True=Support downscaling False=Downscaling disabled
|
-- DOWNSCALE : True=Support downscaling False=Downscaling disabled
|
||||||
-- BYTESWAP : Little/Big endian byte swap
|
-- BYTESWAP : Little/Big endian byte swap
|
||||||
-- FRAC : Fractional bits, subpixel resolution
|
-- FRAC : Fractional bits, subpixel resolution
|
||||||
-- OHRES : Max. output horizontal resolution. Must be a power of two.
|
-- OHRES : Max. output horizontal resolution. 1024, 2048, 2304, 2560, 4096
|
||||||
-- (Used for sizing line buffers)
|
-- (Used for sizing line buffers)
|
||||||
-- IHRES : Max. input horizontal resolution. Must be a power of two.
|
-- IHRES : Max. input horizontal resolution. Must be a power of two.
|
||||||
-- (Used for sizing line buffers)
|
-- (Used for sizing line buffers)
|
||||||
@@ -125,7 +125,7 @@ ENTITY ascal IS
|
|||||||
ADAPTIVE : boolean := true;
|
ADAPTIVE : boolean := true;
|
||||||
DOWNSCALE_NN : boolean := false;
|
DOWNSCALE_NN : boolean := false;
|
||||||
FRAC : natural RANGE 4 TO 8 :=4;
|
FRAC : natural RANGE 4 TO 8 :=4;
|
||||||
OHRES : natural RANGE 1 TO 4096 :=2048;
|
OHRES : natural RANGE 1 TO 4096 :=2304;
|
||||||
IHRES : natural RANGE 1 TO 2048 :=2048;
|
IHRES : natural RANGE 1 TO 2048 :=2048;
|
||||||
N_DW : natural RANGE 64 TO 128 := 128;
|
N_DW : natural RANGE 64 TO 128 := 128;
|
||||||
N_AW : natural RANGE 8 TO 32 := 32;
|
N_AW : natural RANGE 8 TO 32 := 32;
|
||||||
@@ -204,6 +204,7 @@ ENTITY ascal IS
|
|||||||
run : IN std_logic :='1'; -- 1=Enable output image. 0=No image
|
run : IN std_logic :='1'; -- 1=Enable output image. 0=No image
|
||||||
freeze : IN std_logic :='0'; -- 1=Disable framebuffer writes
|
freeze : IN std_logic :='0'; -- 1=Disable framebuffer writes
|
||||||
mode : IN unsigned(4 DOWNTO 0);
|
mode : IN unsigned(4 DOWNTO 0);
|
||||||
|
bob_deint : IN std_logic := '0';
|
||||||
-- SYNC |_________________________/"""""""""\_______|
|
-- SYNC |_________________________/"""""""""\_______|
|
||||||
-- DE |""""""""""""""""""\________________________|
|
-- DE |""""""""""""""""""\________________________|
|
||||||
-- RGB | <#IMAGE#> ^HDISP |
|
-- RGB | <#IMAGE#> ^HDISP |
|
||||||
@@ -222,6 +223,7 @@ ENTITY ascal IS
|
|||||||
vmax : IN natural RANGE 0 TO 4095; -- 0 <= vmin < vmax < vdisp
|
vmax : IN natural RANGE 0 TO 4095; -- 0 <= vmin < vmax < vdisp
|
||||||
vrr : IN std_logic := '0';
|
vrr : IN std_logic := '0';
|
||||||
vrrmax : IN natural RANGE 0 TO 4095 := 0;
|
vrrmax : IN natural RANGE 0 TO 4095 := 0;
|
||||||
|
swblack : IN std_logic := '0'; -- will output 3 black frame on every resolution switch
|
||||||
|
|
||||||
-- Scaler format. 00=16bpp 565, 01=24bpp 10=32bpp
|
-- Scaler format. 00=16bpp 565, 01=24bpp 10=32bpp
|
||||||
format : IN unsigned(1 DOWNTO 0) :="01";
|
format : IN unsigned(1 DOWNTO 0) :="01";
|
||||||
@@ -257,6 +259,9 @@ ENTITY ascal IS
|
|||||||
BEGIN
|
BEGIN
|
||||||
ASSERT N_DW=64 OR N_DW=128 REPORT "DW" SEVERITY failure;
|
ASSERT N_DW=64 OR N_DW=128 REPORT "DW" SEVERITY failure;
|
||||||
|
|
||||||
|
ASSERT OHRES = 1024 OR OHRES = 2048 OR OHRES = 2304 OR
|
||||||
|
OHRES = 2560 OR OHRES = 4096 REPORT "OHRES" SEVERITY failure;
|
||||||
|
|
||||||
END ENTITY ascal;
|
END ENTITY ascal;
|
||||||
|
|
||||||
--##############################################################################
|
--##############################################################################
|
||||||
@@ -287,6 +292,35 @@ ARCHITECTURE rtl OF ascal IS
|
|||||||
END IF;
|
END IF;
|
||||||
END FUNCTION to_std_logic;
|
END FUNCTION to_std_logic;
|
||||||
|
|
||||||
|
----------------------------------------------------------
|
||||||
|
FUNCTION ohres_h(CONSTANT r : natural) RETURN natural IS
|
||||||
|
BEGIN
|
||||||
|
CASE r IS
|
||||||
|
WHEN 1024 => RETURN 1024;
|
||||||
|
WHEN 2048 => RETURN 2048;
|
||||||
|
WHEN OTHERS => RETURN 4096;
|
||||||
|
END CASE;
|
||||||
|
END FUNCTION;
|
||||||
|
FUNCTION ohres_l(CONSTANT r : natural) RETURN natural IS
|
||||||
|
BEGIN
|
||||||
|
CASE r IS
|
||||||
|
WHEN 1024 => RETURN 1024;
|
||||||
|
WHEN 2048 | 2304 | 2560 => RETURN 2048;
|
||||||
|
WHEN OTHERS => RETURN 4096;
|
||||||
|
END CASE;
|
||||||
|
END FUNCTION;
|
||||||
|
FUNCTION ohres_m(CONSTANT r : natural) RETURN natural IS
|
||||||
|
BEGIN
|
||||||
|
CASE r IS
|
||||||
|
WHEN 1024 | 2048 | 2304 => RETURN 256;
|
||||||
|
WHEN OTHERS => RETURN 512;
|
||||||
|
END CASE;
|
||||||
|
END FUNCTION;
|
||||||
|
|
||||||
|
CONSTANT OHRESH : natural := ohres_h(OHRES);
|
||||||
|
CONSTANT OHRESL : natural := ohres_l(OHRES);
|
||||||
|
CONSTANT OHRESM : natural := ohres_m(OHRES);
|
||||||
|
|
||||||
----------------------------------------------------------
|
----------------------------------------------------------
|
||||||
CONSTANT NB_BURST : natural :=ilog2(N_BURST);
|
CONSTANT NB_BURST : natural :=ilog2(N_BURST);
|
||||||
CONSTANT NB_LA : natural :=ilog2(N_DW/8); -- Low address bits
|
CONSTANT NB_LA : natural :=ilog2(N_DW/8); -- Low address bits
|
||||||
@@ -318,6 +352,7 @@ ARCHITECTURE rtl OF ascal IS
|
|||||||
SIGNAL i_pvs,i_pfl,i_pde,i_pce : std_logic;
|
SIGNAL i_pvs,i_pfl,i_pde,i_pce : std_logic;
|
||||||
SIGNAL i_ppix : type_pix;
|
SIGNAL i_ppix : type_pix;
|
||||||
SIGNAL i_freeze : std_logic;
|
SIGNAL i_freeze : std_logic;
|
||||||
|
SIGNAL i_bob_deint : std_logic;
|
||||||
SIGNAL i_count : unsigned(2 DOWNTO 0);
|
SIGNAL i_count : unsigned(2 DOWNTO 0);
|
||||||
SIGNAL i_hsize,i_hmin,i_hmax,i_hcpt : uint12;
|
SIGNAL i_hsize,i_hmin,i_hmax,i_hcpt : uint12;
|
||||||
SIGNAL i_hrsize,i_vrsize : uint12;
|
SIGNAL i_hrsize,i_vrsize : uint12;
|
||||||
@@ -333,6 +368,7 @@ ARCHITECTURE rtl OF ascal IS
|
|||||||
SIGNAL i_de_delay : natural RANGE 0 TO 31;
|
SIGNAL i_de_delay : natural RANGE 0 TO 31;
|
||||||
SIGNAL i_intercnt : natural RANGE 0 TO 3;
|
SIGNAL i_intercnt : natural RANGE 0 TO 3;
|
||||||
SIGNAL i_inter,i_half,i_flm : std_logic;
|
SIGNAL i_inter,i_half,i_flm : std_logic;
|
||||||
|
SIGNAL i_wfl : std_logic_vector(2 DOWNTO 0);
|
||||||
SIGNAL i_write,i_wreq,i_alt,i_line,i_wline,i_wline_mem : std_logic;
|
SIGNAL i_write,i_wreq,i_alt,i_line,i_wline,i_wline_mem : std_logic;
|
||||||
SIGNAL i_walt,i_walt_mem,i_wreq_mem : std_logic;
|
SIGNAL i_walt,i_walt_mem,i_wreq_mem : std_logic;
|
||||||
SIGNAL i_wdelay : natural RANGE 0 TO 7;
|
SIGNAL i_wdelay : natural RANGE 0 TO 7;
|
||||||
@@ -362,7 +398,7 @@ ARCHITECTURE rtl OF ascal IS
|
|||||||
SIGNAL i_hacc,i_vacc : uint13;
|
SIGNAL i_hacc,i_vacc : uint13;
|
||||||
SIGNAL i_hdown,i_vdown : std_logic;
|
SIGNAL i_hdown,i_vdown : std_logic;
|
||||||
SIGNAL i_divcpt : natural RANGE 0 TO 36;
|
SIGNAL i_divcpt : natural RANGE 0 TO 36;
|
||||||
SIGNAL i_lwad,i_lrad : natural RANGE 0 TO OHRES-1;
|
SIGNAL i_lwad,i_lrad : natural RANGE 0 TO OHRESH-1;
|
||||||
SIGNAL i_lwr,i_bil : std_logic;
|
SIGNAL i_lwr,i_bil : std_logic;
|
||||||
SIGNAL i_ldw,i_ldrm : type_pix;
|
SIGNAL i_ldw,i_ldrm : type_pix;
|
||||||
SIGNAL i_hpixp,i_hpix0,i_hpix1,i_hpix2,i_hpix3,i_hpix4 : type_pix;
|
SIGNAL i_hpixp,i_hpix0,i_hpix1,i_hpix2,i_hpix3,i_hpix4 : type_pix;
|
||||||
@@ -410,6 +446,8 @@ ARCHITECTURE rtl OF ascal IS
|
|||||||
-- Output
|
-- Output
|
||||||
SIGNAL o_run : std_logic;
|
SIGNAL o_run : std_logic;
|
||||||
SIGNAL o_freeze : std_logic;
|
SIGNAL o_freeze : std_logic;
|
||||||
|
SIGNAL o_bob_deint : std_logic;
|
||||||
|
SIGNAL o_iwfl : std_logic_vector(2 DOWNTO 0);
|
||||||
SIGNAL o_mode,o_hmode,o_vmode : unsigned(4 DOWNTO 0);
|
SIGNAL o_mode,o_hmode,o_vmode : unsigned(4 DOWNTO 0);
|
||||||
SIGNAL o_format : unsigned(5 DOWNTO 0);
|
SIGNAL o_format : unsigned(5 DOWNTO 0);
|
||||||
SIGNAL o_fb_pal_dr : unsigned(23 DOWNTO 0);
|
SIGNAL o_fb_pal_dr : unsigned(23 DOWNTO 0);
|
||||||
@@ -456,13 +494,21 @@ ARCHITECTURE rtl OF ascal IS
|
|||||||
SIGNAL o_reset_na : std_logic;
|
SIGNAL o_reset_na : std_logic;
|
||||||
SIGNAL o_dpram : arr_dw(0 TO BLEN*2-1);
|
SIGNAL o_dpram : arr_dw(0 TO BLEN*2-1);
|
||||||
ATTRIBUTE ramstyle OF o_dpram : SIGNAL IS "no_rw_check";
|
ATTRIBUTE ramstyle OF o_dpram : SIGNAL IS "no_rw_check";
|
||||||
SIGNAL o_line0,o_line1,o_line2,o_line3 : arr_pix(0 TO OHRES-1);
|
SIGNAL o_line0,o_line1,o_line2,o_line3 : arr_pix(0 TO OHRESL-1);
|
||||||
|
SIGNAL o_linf0,o_linf1,o_linf2,o_linf3 : arr_pix(0 TO OHRESM-1);
|
||||||
|
|
||||||
ATTRIBUTE ramstyle OF o_line0 : SIGNAL IS "no_rw_check";
|
ATTRIBUTE ramstyle OF o_line0 : SIGNAL IS "no_rw_check";
|
||||||
ATTRIBUTE ramstyle OF o_line1 : SIGNAL IS "no_rw_check";
|
ATTRIBUTE ramstyle OF o_line1 : SIGNAL IS "no_rw_check";
|
||||||
ATTRIBUTE ramstyle OF o_line2 : SIGNAL IS "no_rw_check";
|
ATTRIBUTE ramstyle OF o_line2 : SIGNAL IS "no_rw_check";
|
||||||
ATTRIBUTE ramstyle OF o_line3 : SIGNAL IS "no_rw_check";
|
ATTRIBUTE ramstyle OF o_line3 : SIGNAL IS "no_rw_check";
|
||||||
SIGNAL o_wadl,o_radl0,o_radl1,o_radl2,o_radl3 : natural RANGE 0 TO OHRES-1;
|
ATTRIBUTE ramstyle OF o_linf0 : SIGNAL IS "no_rw_check";
|
||||||
SIGNAL o_ldw,o_ldr0,o_ldr1,o_ldr2,o_ldr3 : type_pix;
|
ATTRIBUTE ramstyle OF o_linf1 : SIGNAL IS "no_rw_check";
|
||||||
|
ATTRIBUTE ramstyle OF o_linf2 : SIGNAL IS "no_rw_check";
|
||||||
|
ATTRIBUTE ramstyle OF o_linf3 : SIGNAL IS "no_rw_check";
|
||||||
|
SIGNAL o_wadl,o_radl0,o_radl1,o_radl2,o_radl3 : natural RANGE 0 TO OHRESH-1;
|
||||||
|
SIGNAL o_ldr0,o_ldr1,o_ldr2,o_ldr3,o_ldw : type_pix;
|
||||||
|
SIGNAL o_ler0,o_ler1,o_ler2,o_ler3 : type_pix;
|
||||||
|
SIGNAL o_lex0,o_lex1,o_lex2,o_lex3 : std_logic;
|
||||||
SIGNAL o_wr : unsigned(3 DOWNTO 0);
|
SIGNAL o_wr : unsigned(3 DOWNTO 0);
|
||||||
SIGNAL o_hcpt,o_vcpt,o_vcpt_pre,o_vcpt_pre2,o_vcpt_pre3,o_vcpt2 : uint12;
|
SIGNAL o_hcpt,o_vcpt,o_vcpt_pre,o_vcpt_pre2,o_vcpt_pre3,o_vcpt2 : uint12;
|
||||||
SIGNAL o_ihsize,o_ihsizem,o_ivsize : uint12;
|
SIGNAL o_ihsize,o_ihsizem,o_ivsize : uint12;
|
||||||
@@ -472,7 +518,7 @@ ARCHITECTURE rtl OF ascal IS
|
|||||||
SIGNAL o_hfrac : arr_frac(0 TO 9);
|
SIGNAL o_hfrac : arr_frac(0 TO 9);
|
||||||
ATTRIBUTE ramstyle OF o_hfrac : SIGNAL IS "logic"; -- avoid blockram shift register
|
ATTRIBUTE ramstyle OF o_hfrac : SIGNAL IS "logic"; -- avoid blockram shift register
|
||||||
|
|
||||||
SIGNAL o_hacc,o_hacc_ini,o_hacc_next,o_vacc,o_vacc_next,o_vacc_ini : natural RANGE 0 TO 4*OHRES-1;
|
SIGNAL o_hacc,o_hacc_ini,o_hacc_next,o_vacc,o_vacc_next,o_vacc_ini : natural RANGE 0 TO 4*OHRESH-1;
|
||||||
SIGNAL o_hsv,o_vsv,o_dev,o_pev,o_end : unsigned(0 TO 11);
|
SIGNAL o_hsv,o_vsv,o_dev,o_pev,o_end : unsigned(0 TO 11);
|
||||||
SIGNAL o_hsp,o_vss : std_logic;
|
SIGNAL o_hsp,o_vss : std_logic;
|
||||||
SIGNAL o_vcarrym,o_prim : boolean;
|
SIGNAL o_vcarrym,o_prim : boolean;
|
||||||
@@ -490,8 +536,9 @@ ARCHITECTURE rtl OF ascal IS
|
|||||||
TYPE arr_uint4 IS ARRAY (natural RANGE <>) OF natural RANGE 0 TO 15;
|
TYPE arr_uint4 IS ARRAY (natural RANGE <>) OF natural RANGE 0 TO 15;
|
||||||
SIGNAL o_off : arr_uint4(0 TO 2);
|
SIGNAL o_off : arr_uint4(0 TO 2);
|
||||||
SIGNAL o_bibu : std_logic :='0';
|
SIGNAL o_bibu : std_logic :='0';
|
||||||
SIGNAL o_dcptv : arr_uint12(1 TO 14);
|
SIGNAL o_dcptv : arr_uint12(13 TO 14);
|
||||||
SIGNAL o_dcpt : uint12;
|
SIGNAL o_dcpt_clr, o_dcpt_inc : std_logic;
|
||||||
|
SIGNAL o_dcptv_clr, o_dcptv_inc : std_logic_vector(1 TO 12);
|
||||||
SIGNAL o_hpixs,o_hpix0,o_hpix1,o_hpix2,o_hpix3 : type_pix;
|
SIGNAL o_hpixs,o_hpix0,o_hpix1,o_hpix2,o_hpix3 : type_pix;
|
||||||
SIGNAL o_hpixq : arr_pixq(2 TO 8);
|
SIGNAL o_hpixq : arr_pixq(2 TO 8);
|
||||||
ATTRIBUTE ramstyle OF o_hpixq : SIGNAL IS "logic"; -- avoid blockram shift register
|
ATTRIBUTE ramstyle OF o_hpixq : SIGNAL IS "logic"; -- avoid blockram shift register
|
||||||
@@ -499,7 +546,6 @@ ARCHITECTURE rtl OF ascal IS
|
|||||||
SIGNAL o_vpix_outer : arr_pix(0 TO 2);
|
SIGNAL o_vpix_outer : arr_pix(0 TO 2);
|
||||||
SIGNAL o_vpix_inner : arr_pix(0 TO 6);
|
SIGNAL o_vpix_inner : arr_pix(0 TO 6);
|
||||||
|
|
||||||
|
|
||||||
SIGNAL o_vpe : std_logic;
|
SIGNAL o_vpe : std_logic;
|
||||||
SIGNAL o_div : arr_div(0 TO 2); --uint12;
|
SIGNAL o_div : arr_div(0 TO 2); --uint12;
|
||||||
SIGNAL o_dir : arr_frac(0 TO 2);
|
SIGNAL o_dir : arr_frac(0 TO 2);
|
||||||
@@ -510,6 +556,7 @@ ARCHITECTURE rtl OF ascal IS
|
|||||||
SIGNAL o_divrun : std_logic;
|
SIGNAL o_divrun : std_logic;
|
||||||
SIGNAL o_hacpt,o_vacpt : unsigned(11 DOWNTO 0);
|
SIGNAL o_hacpt,o_vacpt : unsigned(11 DOWNTO 0);
|
||||||
SIGNAL o_vacptl : unsigned(1 DOWNTO 0);
|
SIGNAL o_vacptl : unsigned(1 DOWNTO 0);
|
||||||
|
signal o_newres : integer range 0 to 3;
|
||||||
|
|
||||||
-----------------------------------------------------------------------------
|
-----------------------------------------------------------------------------
|
||||||
FUNCTION shift_ishift(shift : unsigned(0 TO 119);
|
FUNCTION shift_ishift(shift : unsigned(0 TO 119);
|
||||||
@@ -528,7 +575,7 @@ ARCHITECTURE rtl OF ascal IS
|
|||||||
END CASE;
|
END CASE;
|
||||||
END FUNCTION;
|
END FUNCTION;
|
||||||
|
|
||||||
FUNCTION shift_ipack( i_dw : unsigned(N_DW-1 DOWNTO 0);
|
FUNCTION shift_ipack(i_dw : unsigned(N_DW-1 DOWNTO 0);
|
||||||
acpt : natural RANGE 0 TO 15;
|
acpt : natural RANGE 0 TO 15;
|
||||||
shift : unsigned(0 TO 119);
|
shift : unsigned(0 TO 119);
|
||||||
pix : type_pix;
|
pix : type_pix;
|
||||||
@@ -1130,6 +1177,7 @@ BEGIN
|
|||||||
i_pushhead<='0';
|
i_pushhead<='0';
|
||||||
i_eol<='0'; -- End Of Line
|
i_eol<='0'; -- End Of Line
|
||||||
i_freeze <=freeze; -- <ASYNC>
|
i_freeze <=freeze; -- <ASYNC>
|
||||||
|
i_bob_deint <= bob_deint;
|
||||||
i_iauto<=iauto; -- <ASYNC>
|
i_iauto<=iauto; -- <ASYNC>
|
||||||
i_wreq<='0';
|
i_wreq<='0';
|
||||||
i_wr<='0';
|
i_wr<='0';
|
||||||
@@ -1190,11 +1238,13 @@ BEGIN
|
|||||||
i_vcpt<=0;
|
i_vcpt<=0;
|
||||||
IF i_inter='1' AND i_flm='0' AND i_half='0' AND INTER THEN
|
IF i_inter='1' AND i_flm='0' AND i_half='0' AND INTER THEN
|
||||||
i_line<='1';
|
i_line<='1';
|
||||||
|
i_wfl(o_ibuf1) <= '0';
|
||||||
i_adrsi<=to_unsigned(N_BURST * i_hburst,32) +
|
i_adrsi<=to_unsigned(N_BURST * i_hburst,32) +
|
||||||
to_unsigned(N_BURST * to_integer(
|
to_unsigned(N_BURST * to_integer(
|
||||||
unsigned'("00") & to_std_logic(HEADER)),32);
|
unsigned'("00") & to_std_logic(HEADER)),32);
|
||||||
ELSE
|
ELSE
|
||||||
i_line<='0';
|
i_line<='0';
|
||||||
|
i_wfl(o_ibuf0) <= '1';
|
||||||
i_adrsi<=to_unsigned(N_BURST * to_integer(
|
i_adrsi<=to_unsigned(N_BURST * to_integer(
|
||||||
unsigned'("00") & to_std_logic(HEADER)),32);
|
unsigned'("00") & to_std_logic(HEADER)),32);
|
||||||
END IF;
|
END IF;
|
||||||
@@ -1204,8 +1254,8 @@ BEGIN
|
|||||||
i_vcpt>=i_vmin AND i_vcpt<=i_vmax);
|
i_vcpt>=i_vmin AND i_vcpt<=i_vmax);
|
||||||
|
|
||||||
-- Detects end of frame for triple buffering.
|
-- Detects end of frame for triple buffering.
|
||||||
i_endframe0<=i_vs AND (NOT i_inter OR i_flm);
|
i_endframe0<=i_vs AND (NOT i_inter OR i_flm OR i_bob_deint);
|
||||||
i_endframe1<=i_vs AND (NOT i_inter OR NOT i_flm);
|
i_endframe1<=i_vs AND (NOT i_inter OR NOT i_flm OR i_bob_deint);
|
||||||
|
|
||||||
i_vss<=to_std_logic(i_vcpt>=i_vmin AND i_vcpt<=i_vmax);
|
i_vss<=to_std_logic(i_vcpt>=i_vmin AND i_vcpt<=i_vmax);
|
||||||
|
|
||||||
@@ -1453,12 +1503,12 @@ BEGIN
|
|||||||
-- Push pixels to downscaling line buffer
|
-- Push pixels to downscaling line buffer
|
||||||
i_lwr<=i_hnp4 AND i_ven5 AND i_pce;
|
i_lwr<=i_hnp4 AND i_ven5 AND i_pce;
|
||||||
IF i_lwr='1' THEN
|
IF i_lwr='1' THEN
|
||||||
i_lwad<=(i_lwad+1) MOD OHRES;
|
i_lwad<=(i_lwad+1) MOD OHRESH;
|
||||||
END IF;
|
END IF;
|
||||||
i_ldw<=i_hpix;
|
i_ldw<=i_hpix;
|
||||||
|
|
||||||
IF i_hnp3='1' AND i_ven4='1' AND i_pce='1' THEN
|
IF i_hnp3='1' AND i_ven4='1' AND i_pce='1' THEN
|
||||||
i_lrad<=(i_lrad+1) MOD OHRES;
|
i_lrad<=(i_lrad+1) MOD OHRESH;
|
||||||
END IF;
|
END IF;
|
||||||
|
|
||||||
------------------------------------------------------
|
------------------------------------------------------
|
||||||
@@ -1817,7 +1867,7 @@ BEGIN
|
|||||||
VARIABLE shift_v : unsigned(0 TO N_DW+15);
|
VARIABLE shift_v : unsigned(0 TO N_DW+15);
|
||||||
VARIABLE hpix_v : type_pix;
|
VARIABLE hpix_v : type_pix;
|
||||||
VARIABLE hcarry_v,vcarry_v : boolean;
|
VARIABLE hcarry_v,vcarry_v : boolean;
|
||||||
VARIABLE dif_v : natural RANGE 0 TO 8*OHRES-1;
|
VARIABLE dif_v : natural RANGE 0 TO 8*OHRESH-1;
|
||||||
VARIABLE off_v : natural RANGE 0 TO 15;
|
VARIABLE off_v : natural RANGE 0 TO 15;
|
||||||
BEGIN
|
BEGIN
|
||||||
IF o_reset_na='0' THEN
|
IF o_reset_na='0' THEN
|
||||||
@@ -1862,6 +1912,8 @@ BEGIN
|
|||||||
o_isync <= '0';
|
o_isync <= '0';
|
||||||
o_isync2 <= o_isync;
|
o_isync2 <= o_isync;
|
||||||
o_freeze <= freeze;
|
o_freeze <= freeze;
|
||||||
|
o_bob_deint <= bob_deint;
|
||||||
|
o_iwfl <= i_wfl;
|
||||||
o_inter <=i_inter; -- <ASYNC>
|
o_inter <=i_inter; -- <ASYNC>
|
||||||
o_iendframe0<=i_endframe0; -- <ASYNC>
|
o_iendframe0<=i_endframe0; -- <ASYNC>
|
||||||
o_iendframe02<=o_iendframe0;
|
o_iendframe02<=o_iendframe0;
|
||||||
@@ -1890,6 +1942,14 @@ BEGIN
|
|||||||
o_ivsize<=i_vrsize; -- <ASYNC>
|
o_ivsize<=i_vrsize; -- <ASYNC>
|
||||||
o_hdown<=i_hdown; -- <ASYNC>
|
o_hdown<=i_hdown; -- <ASYNC>
|
||||||
o_vdown<=i_vdown; -- <ASYNC>
|
o_vdown<=i_vdown; -- <ASYNC>
|
||||||
|
|
||||||
|
IF (o_newres > 0) then
|
||||||
|
o_newres <= o_newres- 1;
|
||||||
|
END IF;
|
||||||
|
END IF;
|
||||||
|
|
||||||
|
IF (swblack = '1' and o_fb_ena = '0' and (o_ihsize /= i_hrsize or o_ivsize /= i_vrsize)) then
|
||||||
|
o_newres <= 3;
|
||||||
END IF;
|
END IF;
|
||||||
|
|
||||||
-- Simultaneous change of input and output framebuffers
|
-- Simultaneous change of input and output framebuffers
|
||||||
@@ -2086,7 +2146,26 @@ BEGIN
|
|||||||
o_read<=o_read_pre AND o_run;
|
o_read<=o_read_pre AND o_run;
|
||||||
o_rline<=o_vacpt(0); -- Even/Odd line for interlaced video
|
o_rline<=o_vacpt(0); -- Even/Odd line for interlaced video
|
||||||
|
|
||||||
|
----
|
||||||
|
-- When bob deinterlacing we read lines from one buffer (the most current) but we read them twice
|
||||||
|
-- (in contrast to weave deinterlacing where we read each 480p line from alternating buffers)
|
||||||
|
-- To counteract the severe vibrating/motion with bob deinterlacing, we need to offset one field
|
||||||
|
-- by a half-line. This is done by only reading the first line of the 'even' frame once
|
||||||
|
|
||||||
|
IF o_inter='1' AND o_bob_deint='1' THEN
|
||||||
|
IF o_iwfl(o_obuf0)='0' THEN
|
||||||
|
IF o_vacpt=0 OR o_rline='1' THEN
|
||||||
|
o_adrs_pre <= to_integer(o_vacpt) * to_integer(o_stride);
|
||||||
|
ELSE
|
||||||
|
o_adrs_pre <= (to_integer(o_vacpt)-1) * to_integer(o_stride);
|
||||||
|
END IF;
|
||||||
|
ELSE
|
||||||
|
o_adrs_pre <= to_integer(o_vacpt(11 DOWNTO 1) & "0") * to_integer(o_stride);
|
||||||
|
END IF;
|
||||||
|
ELSE
|
||||||
o_adrs_pre<=to_integer(o_vacpt) * to_integer(o_stride);
|
o_adrs_pre<=to_integer(o_vacpt) * to_integer(o_stride);
|
||||||
|
END IF;
|
||||||
|
|
||||||
IF o_adrsa='1' THEN
|
IF o_adrsa='1' THEN
|
||||||
IF o_fload=2 THEN
|
IF o_fload=2 THEN
|
||||||
o_adrs<=to_unsigned(o_hbcpt * N_BURST,32);
|
o_adrs<=to_unsigned(o_hbcpt * N_BURST,32);
|
||||||
@@ -2103,6 +2182,9 @@ BEGIN
|
|||||||
------------------------------------------------------
|
------------------------------------------------------
|
||||||
-- Copy from buffered memory to pixel lines
|
-- Copy from buffered memory to pixel lines
|
||||||
o_sh<='0';
|
o_sh<='0';
|
||||||
|
o_dcpt_clr <= '0';
|
||||||
|
o_dcpt_inc <= '0';
|
||||||
|
|
||||||
CASE o_copy IS
|
CASE o_copy IS
|
||||||
WHEN sWAIT =>
|
WHEN sWAIT =>
|
||||||
o_copyv(0)<='0';
|
o_copyv(0)<='0';
|
||||||
@@ -2121,7 +2203,7 @@ BEGIN
|
|||||||
o_hacc <=o_hacc_ini;
|
o_hacc <=o_hacc_ini;
|
||||||
o_hacc_next<=o_hacc_ini + 2*o_ihsize;
|
o_hacc_next<=o_hacc_ini + 2*o_ihsize;
|
||||||
o_hacpt <=x"000";
|
o_hacpt <=x"000";
|
||||||
o_dcpt<=0;
|
o_dcpt_clr <= '1';
|
||||||
o_dshi<=2;
|
o_dshi<=2;
|
||||||
o_acpt<=0;
|
o_acpt<=0;
|
||||||
o_first<='1';
|
o_first<='1';
|
||||||
@@ -2149,17 +2231,17 @@ BEGIN
|
|||||||
WHEN sCOPY =>
|
WHEN sCOPY =>
|
||||||
-- dshi : Force shift first two or three pixels of each line
|
-- dshi : Force shift first two or three pixels of each line
|
||||||
IF o_dshi=0 THEN
|
IF o_dshi=0 THEN
|
||||||
dif_v:=(o_hacc_next - 2*o_hsize + (8*OHRES)) MOD (8*OHRES);
|
dif_v:=(o_hacc_next - 2*o_hsize + (8*OHRESH)) MOD (8*OHRESH);
|
||||||
IF dif_v>=4*OHRES THEN
|
IF dif_v>=4*OHRESH THEN
|
||||||
o_hacc<=o_hacc_next;
|
o_hacc<=o_hacc_next;
|
||||||
o_hacc_next<=o_hacc_next + 2*o_ihsize;
|
o_hacc_next<=o_hacc_next + 2*o_ihsize;
|
||||||
hcarry_v:=false;
|
hcarry_v:=false;
|
||||||
ELSE
|
ELSE
|
||||||
o_hacc<=dif_v;
|
o_hacc<=dif_v;
|
||||||
o_hacc_next<=(dif_v + 2*o_ihsize + (4*OHRES)) MOD (4*OHRES);
|
o_hacc_next<=(dif_v + 2*o_ihsize + (4*OHRESH)) MOD (4*OHRESH);
|
||||||
hcarry_v:=true;
|
hcarry_v:=true;
|
||||||
END IF;
|
END IF;
|
||||||
o_dcpt<=(o_dcpt+1) MOD 4096;
|
o_dcpt_inc <= '1';
|
||||||
ELSE
|
ELSE
|
||||||
o_dshi<=o_dshi-1;
|
o_dshi<=o_dshi-1;
|
||||||
hcarry_v:=false;
|
hcarry_v:=false;
|
||||||
@@ -2219,6 +2301,9 @@ BEGIN
|
|||||||
hpix_v:=(r=>o_fb_pal_dr(23 DOWNTO 16),g=>o_fb_pal_dr(15 DOWNTO 8),
|
hpix_v:=(r=>o_fb_pal_dr(23 DOWNTO 16),g=>o_fb_pal_dr(15 DOWNTO 8),
|
||||||
b=>o_fb_pal_dr(7 DOWNTO 0));
|
b=>o_fb_pal_dr(7 DOWNTO 0));
|
||||||
END IF;
|
END IF;
|
||||||
|
IF (o_newres > 0) then
|
||||||
|
hpix_v := (others => (others => '0'));
|
||||||
|
END IF;
|
||||||
o_hpix0<=hpix_v;
|
o_hpix0<=hpix_v;
|
||||||
o_hpix1<=o_hpix0;
|
o_hpix1<=o_hpix0;
|
||||||
o_hpix2<=o_hpix1;
|
o_hpix2<=o_hpix1;
|
||||||
@@ -2526,13 +2611,19 @@ BEGIN
|
|||||||
o_hfrac(2 TO 9) <= o_hfrac(1 TO 8);
|
o_hfrac(2 TO 9) <= o_hfrac(1 TO 8);
|
||||||
|
|
||||||
o_copyv(1 TO 14)<=o_copyv(0 TO 13);
|
o_copyv(1 TO 14)<=o_copyv(0 TO 13);
|
||||||
|
o_dcptv_clr(1 TO 12)<=o_dcpt_clr & o_dcptv_clr(1 TO 11);
|
||||||
|
o_dcptv_inc(1 TO 12)<=o_dcpt_inc & o_dcptv_inc(1 TO 11);
|
||||||
|
|
||||||
o_dcptv(1)<=o_dcpt;
|
IF o_dcptv_clr(12)='1' THEN
|
||||||
IF o_dcptv(1)>=o_hsize THEN
|
o_dcptv(13) <= 0;
|
||||||
o_copyv(2)<='0';
|
ELSIF o_dcptv_inc(12)='1' THEN
|
||||||
|
o_dcptv(13) <= (o_dcptv(13) + 1) MOD OHRESH;
|
||||||
|
END IF;
|
||||||
|
o_dcptv(14)<=o_dcptv(13);
|
||||||
|
|
||||||
|
IF o_dcptv(13)>=o_hsize THEN
|
||||||
|
o_copyv(14)<='0';
|
||||||
END IF;
|
END IF;
|
||||||
o_dcptv(2)<=o_dcptv(1) MOD OHRES;
|
|
||||||
o_dcptv(3 TO 14)<=o_dcptv(2 TO 13);
|
|
||||||
|
|
||||||
-- C2
|
-- C2
|
||||||
o_hpixq(2)<=(o_hpix3,o_hpix2,o_hpix1,o_hpix0);
|
o_hpixq(2)<=(o_hpix3,o_hpix2,o_hpix1,o_hpix0);
|
||||||
@@ -2625,17 +2716,39 @@ BEGIN
|
|||||||
OLBUF:PROCESS(o_clk) IS
|
OLBUF:PROCESS(o_clk) IS
|
||||||
BEGIN
|
BEGIN
|
||||||
IF rising_edge(o_clk) THEN
|
IF rising_edge(o_clk) THEN
|
||||||
|
-----------------------------------------------
|
||||||
-- WRITES
|
-- WRITES
|
||||||
IF o_wr(0)='1' THEN o_line0(o_wadl)<=o_ldw; END IF;
|
IF o_wr(0)='1' AND o_wadl < OHRESL THEN o_line0(o_wadl MOD OHRESL)<=o_ldw; END IF;
|
||||||
IF o_wr(1)='1' THEN o_line1(o_wadl)<=o_ldw; END IF;
|
IF o_wr(1)='1' AND o_wadl < OHRESL THEN o_line1(o_wadl MOD OHRESL)<=o_ldw; END IF;
|
||||||
IF o_wr(2)='1' THEN o_line2(o_wadl)<=o_ldw; END IF;
|
IF o_wr(2)='1' AND o_wadl < OHRESL THEN o_line2(o_wadl MOD OHRESL)<=o_ldw; END IF;
|
||||||
IF o_wr(3)='1' THEN o_line3(o_wadl)<=o_ldw; END IF;
|
IF o_wr(3)='1' AND o_wadl < OHRESL THEN o_line3(o_wadl MOD OHRESL)<=o_ldw; END IF;
|
||||||
|
IF OHRES = 2304 OR OHRES = 2560 THEN
|
||||||
|
IF o_wr(0)='1' AND o_wadl >= OHRESL THEN o_linf0(o_wadl MOD OHRESM)<=o_ldw; END IF;
|
||||||
|
IF o_wr(1)='1' AND o_wadl >= OHRESL THEN o_linf1(o_wadl MOD OHRESM)<=o_ldw; END IF;
|
||||||
|
IF o_wr(2)='1' AND o_wadl >= OHRESL THEN o_linf2(o_wadl MOD OHRESM)<=o_ldw; END IF;
|
||||||
|
IF o_wr(3)='1' AND o_wadl >= OHRESL THEN o_linf3(o_wadl MOD OHRESM)<=o_ldw; END IF;
|
||||||
|
END IF;
|
||||||
|
|
||||||
|
-----------------------------------------------
|
||||||
-- READS
|
-- READS
|
||||||
o_ldr0<=o_line0(o_radl0);
|
o_ldr0<=o_line0(o_radl0 MOD OHRESL);
|
||||||
o_ldr1<=o_line1(o_radl1);
|
o_ldr1<=o_line1(o_radl1 MOD OHRESL);
|
||||||
o_ldr2<=o_line2(o_radl2);
|
o_ldr2<=o_line2(o_radl2 MOD OHRESL);
|
||||||
o_ldr3<=o_line3(o_radl3);
|
o_ldr3<=o_line3(o_radl3 MOD OHRESL);
|
||||||
|
|
||||||
|
IF OHRES = 2304 OR OHRES = 2560 THEN
|
||||||
|
o_ler0<=o_linf0(o_radl0 MOD OHRESM);
|
||||||
|
o_ler1<=o_linf1(o_radl1 MOD OHRESM);
|
||||||
|
o_ler2<=o_linf2(o_radl2 MOD OHRESM);
|
||||||
|
o_ler3<=o_linf3(o_radl3 MOD OHRESM);
|
||||||
|
END IF;
|
||||||
|
|
||||||
|
o_lex0 <= to_std_logic(o_radl0 >= OHRESL);
|
||||||
|
o_lex1 <= to_std_logic(o_radl1 >= OHRESL);
|
||||||
|
o_lex2 <= to_std_logic(o_radl2 >= OHRESL);
|
||||||
|
o_lex3 <= to_std_logic(o_radl3 >= OHRESL);
|
||||||
|
-----------------------------------------------
|
||||||
|
|
||||||
END IF;
|
END IF;
|
||||||
END PROCESS OLBUF;
|
END PROCESS OLBUF;
|
||||||
|
|
||||||
@@ -2721,16 +2834,17 @@ BEGIN
|
|||||||
VSCAL:PROCESS(o_clk) IS
|
VSCAL:PROCESS(o_clk) IS
|
||||||
VARIABLE pixq_v : arr_pix(0 TO 3);
|
VARIABLE pixq_v : arr_pix(0 TO 3);
|
||||||
VARIABLE vlumpix_v : type_pix;
|
VARIABLE vlumpix_v : type_pix;
|
||||||
VARIABLE r1_v, r2_v : natural RANGE 0 TO OHRES-1;
|
VARIABLE r1_v, r2_v : natural RANGE 0 TO OHRESH-1;
|
||||||
VARIABLE fracnn_v : std_logic;
|
VARIABLE fracnn_v : std_logic;
|
||||||
|
VARIABLE o_l0_v, o_l1_v, o_l2_v, o_l3_v : type_pix;
|
||||||
BEGIN
|
BEGIN
|
||||||
IF rising_edge(o_clk) THEN
|
IF rising_edge(o_clk) THEN
|
||||||
IF o_ce='1' THEN
|
IF o_ce='1' THEN
|
||||||
o_v_hmin_adj<=o_hmin + 5;
|
o_v_hmin_adj<=o_hmin + 5;
|
||||||
|
|
||||||
fracnn_v := o_vfrac(o_vfrac'left);
|
fracnn_v := o_vfrac(o_vfrac'left);
|
||||||
r1_v := (o_hcpt - o_v_hmin_adj + OHRES) MOD OHRES;
|
r1_v := (o_hcpt - o_v_hmin_adj + OHRESH) MOD OHRESH;
|
||||||
r2_v := (o_hcpt - o_hmin + OHRES) MOD OHRES;
|
r2_v := (o_hcpt - o_hmin + OHRESH) MOD OHRESH;
|
||||||
|
|
||||||
-- CYCLE 1 -----------------------------------------
|
-- CYCLE 1 -----------------------------------------
|
||||||
-- Read mem
|
-- Read mem
|
||||||
@@ -2757,11 +2871,16 @@ BEGIN
|
|||||||
|
|
||||||
-- CYCLE 2 -----------------------------------------
|
-- CYCLE 2 -----------------------------------------
|
||||||
-- Lines reordering
|
-- Lines reordering
|
||||||
|
IF o_lex0='0' THEN o_l0_v := o_ldr0; ELSE o_l0_v := o_ler0; END IF;
|
||||||
|
IF o_lex1='0' THEN o_l1_v := o_ldr1; ELSE o_l1_v := o_ler1; END IF;
|
||||||
|
IF o_lex2='0' THEN o_l2_v := o_ldr2; ELSE o_l2_v := o_ler2; END IF;
|
||||||
|
IF o_lex3='0' THEN o_l3_v := o_ldr3; ELSE o_l3_v := o_ler3; END IF;
|
||||||
|
|
||||||
CASE o_vacptl IS
|
CASE o_vacptl IS
|
||||||
WHEN "10" => pixq_v:=(o_ldr0,o_ldr1,o_ldr2,o_ldr3);
|
WHEN "10" => pixq_v:=(o_l0_v,o_l1_v,o_l2_v,o_l3_v);
|
||||||
WHEN "11" => pixq_v:=(o_ldr1,o_ldr2,o_ldr3,o_ldr0);
|
WHEN "11" => pixq_v:=(o_l1_v,o_l2_v,o_l3_v,o_l0_v);
|
||||||
WHEN "00" => pixq_v:=(o_ldr2,o_ldr3,o_ldr0,o_ldr1);
|
WHEN "00" => pixq_v:=(o_l2_v,o_l3_v,o_l0_v,o_l1_v);
|
||||||
WHEN OTHERS => pixq_v:=(o_ldr3,o_ldr0,o_ldr1,o_ldr2);
|
WHEN OTHERS => pixq_v:=(o_l3_v,o_l0_v,o_l1_v,o_l2_v);
|
||||||
END CASE;
|
END CASE;
|
||||||
|
|
||||||
IF fracnn_v = '0' THEN
|
IF fracnn_v = '0' THEN
|
||||||
|
|||||||
+26
-1
@@ -2,13 +2,16 @@
|
|||||||
# Build TimeStamp Verilog Module
|
# Build TimeStamp Verilog Module
|
||||||
# Jeff Wiencrot - 8/1/2011
|
# Jeff Wiencrot - 8/1/2011
|
||||||
# Sorgelig - 02/11/2019
|
# Sorgelig - 02/11/2019
|
||||||
|
# Stan Hodge - 04/22/2024
|
||||||
|
|
||||||
proc generateBuildID_Verilog {} {
|
proc generateBuildID_Verilog {} {
|
||||||
|
|
||||||
# Get the timestamp (see: http://www.altera.com/support/examples/tcl/tcl-date-time-stamp.html)
|
# Get the timestamp (see: http://www.altera.com/support/examples/tcl/tcl-date-time-stamp.html)
|
||||||
set buildDate "`define BUILD_DATE \"[clock format [ clock seconds ] -format %y%m%d]\""
|
set buildDate "`define BUILD_DATE \"[clock format [ clock seconds ] -format %y%m%d]\""
|
||||||
|
|
||||||
# Create a Verilog file for output
|
# Create a Verilog file(s) for output
|
||||||
set outputFileName "build_id.v"
|
set outputFileName "build_id.v"
|
||||||
|
set outputFileNameNum "build_id_num.v"
|
||||||
|
|
||||||
set fileData ""
|
set fileData ""
|
||||||
if { [file exists $outputFileName]} {
|
if { [file exists $outputFileName]} {
|
||||||
@@ -17,13 +20,35 @@ proc generateBuildID_Verilog {} {
|
|||||||
close $outputFile
|
close $outputFile
|
||||||
}
|
}
|
||||||
|
|
||||||
|
set fileData_num ""
|
||||||
|
if { [file exists $outputFileNameNum]} {
|
||||||
|
set outputFile [open $outputFileNameNum "r"]
|
||||||
|
set fileData_num [read $outputFile]
|
||||||
|
close $outputFile
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
if {$buildDate ne $fileData} {
|
if {$buildDate ne $fileData} {
|
||||||
set outputFile [open $outputFileName "w"]
|
set outputFile [open $outputFileName "w"]
|
||||||
puts -nonewline $outputFile $buildDate
|
puts -nonewline $outputFile $buildDate
|
||||||
close $outputFile
|
close $outputFile
|
||||||
|
|
||||||
|
set buildnumbervar 1
|
||||||
|
|
||||||
# Send confirmation message to the Messages window
|
# Send confirmation message to the Messages window
|
||||||
post_message "Generated: [pwd]/$outputFileName: $buildDate"
|
post_message "Generated: [pwd]/$outputFileName: $buildDate"
|
||||||
|
} else {
|
||||||
|
scan $fileData_num "`define BUILD_NUMBER \"%d" buildnumbervar
|
||||||
|
incr buildnumbervar
|
||||||
}
|
}
|
||||||
|
|
||||||
|
set buildnumber "`define BUILD_NUMBER \"[format "%03d" $buildnumbervar]\""
|
||||||
|
set outputFile [open $outputFileNameNum "w"]
|
||||||
|
puts -nonewline $outputFile $buildnumber
|
||||||
|
close $outputFile
|
||||||
|
|
||||||
|
post_message "Generated: [pwd]/$outputFileNameNum: $buildnumber"
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
# Build CDF file
|
# Build CDF file
|
||||||
|
|||||||
+39
-9
@@ -27,7 +27,7 @@
|
|||||||
// VDNUM 1..10
|
// VDNUM 1..10
|
||||||
// BLKSZ 0..7: 0 = 128, 1 = 256, 2 = 512(default), .. 7 = 16384
|
// BLKSZ 0..7: 0 = 128, 1 = 256, 2 = 512(default), .. 7 = 16384
|
||||||
//
|
//
|
||||||
module hps_io #(parameter CONF_STR, CONF_STR_BRAM=1, PS2DIV=0, WIDE=0, VDNUM=1, BLKSZ=2, PS2WE=0)
|
module hps_io #(parameter CONF_STR, CONF_STR_BRAM=0, PS2DIV=0, WIDE=0, VDNUM=1, BLKSZ=2, PS2WE=0, STRLEN=$size(CONF_STR)>>3)
|
||||||
(
|
(
|
||||||
input clk_sys,
|
input clk_sys,
|
||||||
inout [48:0] HPS_BUS,
|
inout [48:0] HPS_BUS,
|
||||||
@@ -226,14 +226,13 @@ video_calc video_calc
|
|||||||
.new_vmode(new_vmode),
|
.new_vmode(new_vmode),
|
||||||
.video_rotated(video_rotated),
|
.video_rotated(video_rotated),
|
||||||
|
|
||||||
.par_num(byte_cnt[3:0]),
|
.par_num(byte_cnt[4:0]),
|
||||||
.dout(vc_dout)
|
.dout(vc_dout)
|
||||||
);
|
);
|
||||||
|
|
||||||
/////////////////////////////////////////////////////////
|
/////////////////////////////////////////////////////////
|
||||||
|
|
||||||
localparam STRLEN = $size(CONF_STR)>>3;
|
localparam MAX_W = $clog2((64 > (STRLEN+2)) ? 64 : (STRLEN+2))-1;
|
||||||
localparam MAX_W = $clog2((32 > (STRLEN+2)) ? 32 : (STRLEN+2))-1;
|
|
||||||
|
|
||||||
wire [7:0] conf_byte;
|
wire [7:0] conf_byte;
|
||||||
generate
|
generate
|
||||||
@@ -502,7 +501,7 @@ always@(posedge clk_sys) begin : uio_block
|
|||||||
'h22: RTC[(byte_cnt-6'd1)<<4 +:16] <= io_din;
|
'h22: RTC[(byte_cnt-6'd1)<<4 +:16] <= io_din;
|
||||||
|
|
||||||
//Video res.
|
//Video res.
|
||||||
'h23: if(!byte_cnt[MAX_W:4]) io_dout <= vc_dout;
|
'h23: if(!byte_cnt[MAX_W:5]) io_dout <= vc_dout;
|
||||||
|
|
||||||
//RTC
|
//RTC
|
||||||
'h24: TIMESTAMP[(byte_cnt-6'd1)<<4 +:16] <= io_din;
|
'h24: TIMESTAMP[(byte_cnt-6'd1)<<4 +:16] <= io_din;
|
||||||
@@ -872,7 +871,7 @@ module video_calc
|
|||||||
input new_vmode,
|
input new_vmode,
|
||||||
input video_rotated,
|
input video_rotated,
|
||||||
|
|
||||||
input [3:0] par_num,
|
input [4:0] par_num,
|
||||||
output reg [15:0] dout
|
output reg [15:0] dout
|
||||||
);
|
);
|
||||||
|
|
||||||
@@ -893,6 +892,9 @@ always @(posedge clk_sys) begin
|
|||||||
13: dout <= vid_vtime_hdmi[31:16];
|
13: dout <= vid_vtime_hdmi[31:16];
|
||||||
14: dout <= vid_ccnt[15:0];
|
14: dout <= vid_ccnt[15:0];
|
||||||
15: dout <= vid_ccnt[31:16];
|
15: dout <= vid_ccnt[31:16];
|
||||||
|
16: dout <= vid_pixrep;
|
||||||
|
17: dout <= vid_de_h;
|
||||||
|
18: dout <= vid_de_v;
|
||||||
default dout <= 0;
|
default dout <= 0;
|
||||||
endcase
|
endcase
|
||||||
end
|
end
|
||||||
@@ -902,24 +904,44 @@ reg [31:0] vid_vcnt = 0;
|
|||||||
reg [31:0] vid_ccnt = 0;
|
reg [31:0] vid_ccnt = 0;
|
||||||
reg [7:0] vid_nres = 0;
|
reg [7:0] vid_nres = 0;
|
||||||
reg [1:0] vid_int = 0;
|
reg [1:0] vid_int = 0;
|
||||||
|
reg [7:0] vid_pixrep;
|
||||||
|
reg [15:0] vid_de_h;
|
||||||
|
reg [7:0] vid_de_v;
|
||||||
|
|
||||||
always @(posedge clk_vid) begin
|
always @(posedge clk_vid) begin
|
||||||
integer hcnt;
|
integer hcnt;
|
||||||
integer vcnt;
|
integer vcnt;
|
||||||
integer ccnt;
|
integer ccnt;
|
||||||
reg old_vs= 0, old_de = 0, old_vmode = 0;
|
reg [7:0] pcnt;
|
||||||
|
reg [7:0] de_v;
|
||||||
|
reg [15:0] de_h;
|
||||||
|
reg old_vs = 0, old_hs = 0, old_hs_vclk = 0, old_de = 0, old_de_vclk = 0, old_de1 = 0, old_vmode = 0;
|
||||||
reg [3:0] resto = 0;
|
reg [3:0] resto = 0;
|
||||||
reg calch = 0;
|
reg calch = 0;
|
||||||
|
|
||||||
if(calch & de) ccnt <= ccnt + 1;
|
if(calch & de) ccnt <= ccnt + 1;
|
||||||
|
pcnt <= pcnt + 1'd1;
|
||||||
|
|
||||||
|
old_hs_vclk <= hs;
|
||||||
|
de_h <= de_h + 1'd1;
|
||||||
|
if(old_hs_vclk & ~hs) de_h <= 1;
|
||||||
|
|
||||||
|
old_de_vclk <= de;
|
||||||
|
if(calch & ~old_de_vclk & de) vid_de_h <= de_h;
|
||||||
|
|
||||||
if(ce_pix) begin
|
if(ce_pix) begin
|
||||||
old_vs <= vs;
|
old_vs <= vs;
|
||||||
|
old_hs <= hs;
|
||||||
old_de <= de;
|
old_de <= de;
|
||||||
|
old_de1 <= old_de;
|
||||||
|
pcnt <= 1;
|
||||||
|
|
||||||
if(~vs & ~old_de & de) vcnt <= vcnt + 1;
|
if(~vs & ~old_de & de) vcnt <= vcnt + 1;
|
||||||
if(calch & de) hcnt <= hcnt + 1;
|
if(calch & de) hcnt <= hcnt + 1;
|
||||||
if(old_de & ~de) calch <= 0;
|
if(old_de & ~de) calch <= 0;
|
||||||
|
if(~old_de1 & old_de) vid_pixrep <= pcnt;
|
||||||
|
if(old_hs & ~hs) de_v <= de_v + 1'd1;
|
||||||
|
if(calch & ~old_de & de) vid_de_v <= de_v;
|
||||||
|
|
||||||
if(old_vs & ~vs) begin
|
if(old_vs & ~vs) begin
|
||||||
vid_int <= {vid_int[0],f1};
|
vid_int <= {vid_int[0],f1};
|
||||||
@@ -939,6 +961,7 @@ always @(posedge clk_vid) begin
|
|||||||
hcnt <= 0;
|
hcnt <= 0;
|
||||||
ccnt <= 0;
|
ccnt <= 0;
|
||||||
calch <= 1;
|
calch <= 1;
|
||||||
|
de_v <= 0;
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@@ -1008,8 +1031,15 @@ module confstr_rom #(parameter CONF_STR, STRLEN)
|
|||||||
output reg [7:0] conf_byte
|
output reg [7:0] conf_byte
|
||||||
);
|
);
|
||||||
|
|
||||||
wire [7:0] rom[STRLEN];
|
reg [7:0] rom[STRLEN];
|
||||||
initial for(int i = 0; i < STRLEN; i++) rom[i] = CONF_STR[((STRLEN-i)*8)-1 -:8];
|
|
||||||
|
initial begin
|
||||||
|
if( CONF_STR=="" )
|
||||||
|
$readmemh("cfgstr.hex",rom);
|
||||||
|
else
|
||||||
|
for(int i = 0; i < STRLEN; i++) rom[i] = CONF_STR[((STRLEN-i)*8)-1 -:8];
|
||||||
|
end
|
||||||
|
|
||||||
always @ (posedge clk_sys) conf_byte <= rom[conf_addr];
|
always @ (posedge clk_sys) conf_byte <= rom[conf_addr];
|
||||||
|
|
||||||
endmodule
|
endmodule
|
||||||
@@ -75,7 +75,7 @@ always @(posedge CLK) begin
|
|||||||
END <= 0;
|
END <= 0;
|
||||||
rd <= READ;
|
rd <= READ;
|
||||||
len <= I2C_WLEN;
|
len <= I2C_WLEN;
|
||||||
if(READ) SD <= {2'b10, I2C_ADDR, 1'b1, 1'b1, 8'b11111111, 1'b0, 3'b011, 9'b111111111};
|
if(READ) SD <= {2'b10, I2C_ADDR, 1'b1, 1'b1, 8'b11111111, 1'b1, 3'b011, 9'b111111111};
|
||||||
else SD <= {2'b10, I2C_ADDR, 1'b0, 1'b1, I2C_WDATA1, 1'b1, I2C_WDATA2, 4'b1011};
|
else SD <= {2'b10, I2C_ADDR, 1'b0, 1'b1, I2C_WDATA1, 1'b1, I2C_WDATA2, 4'b1011};
|
||||||
SD_COUNTER <= 0;
|
SD_COUNTER <= 0;
|
||||||
end else begin
|
end else begin
|
||||||
|
|||||||
+10
-3
@@ -8,7 +8,9 @@ module mcp23009
|
|||||||
|
|
||||||
output reg [2:0] btn,
|
output reg [2:0] btn,
|
||||||
input [2:0] led,
|
input [2:0] led,
|
||||||
output reg sd_cd,
|
output reg flg_sd_cd,
|
||||||
|
output reg flg_present,
|
||||||
|
output reg flg_mode,
|
||||||
|
|
||||||
output scl,
|
output scl,
|
||||||
inout sda
|
inout sda
|
||||||
@@ -50,7 +52,9 @@ always@(posedge clk) begin
|
|||||||
idx <= 0;
|
idx <= 0;
|
||||||
btn <= 0;
|
btn <= 0;
|
||||||
rw <= 0;
|
rw <= 0;
|
||||||
sd_cd <= 1;
|
flg_sd_cd <= 1;
|
||||||
|
flg_present <= 0;
|
||||||
|
flg_mode <= 1;
|
||||||
end
|
end
|
||||||
else begin
|
else begin
|
||||||
if(~&init_data[idx]) begin
|
if(~&init_data[idx]) begin
|
||||||
@@ -84,7 +88,10 @@ always@(posedge clk) begin
|
|||||||
state <= 0;
|
state <= 0;
|
||||||
rw <= 0;
|
rw <= 0;
|
||||||
if(!error) begin
|
if(!error) begin
|
||||||
if(rw) {sd_cd, btn} <= {dout[7], dout[5:3]};
|
if(rw) begin
|
||||||
|
{flg_sd_cd, flg_mode, btn} <= {dout[7:3]};
|
||||||
|
flg_present <= 1;
|
||||||
|
end
|
||||||
rw <= ~rw;
|
rw <= ~rw;
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
+2
-41
@@ -1,44 +1,5 @@
|
|||||||
set_global_assignment -entity "pll_cfg" -library "pll_cfg" -name IP_TOOL_NAME "altera_pll_reconfig"
|
|
||||||
set_global_assignment -entity "pll_cfg" -library "pll_cfg" -name IP_TOOL_VERSION "17.0"
|
|
||||||
set_global_assignment -entity "pll_cfg" -library "pll_cfg" -name IP_TOOL_ENV "mwpim"
|
|
||||||
set_global_assignment -library "pll_cfg" -name MISC_FILE [file join $::quartus(qip_path) "pll_cfg.cmp"]
|
|
||||||
set_global_assignment -entity "pll_cfg" -library "pll_cfg" -name IP_TARGETED_DEVICE_FAMILY "Cyclone V"
|
|
||||||
set_global_assignment -entity "pll_cfg" -library "pll_cfg" -name IP_GENERATED_DEVICE_FAMILY "{Cyclone V}"
|
|
||||||
set_global_assignment -entity "pll_cfg" -library "pll_cfg" -name IP_QSYS_MODE "UNKNOWN"
|
|
||||||
set_global_assignment -name SYNTHESIS_ONLY_QIP ON
|
set_global_assignment -name SYNTHESIS_ONLY_QIP ON
|
||||||
set_global_assignment -entity "pll_cfg" -library "pll_cfg" -name IP_COMPONENT_NAME "cGxsX2hkbWlfY2Zn"
|
set_global_assignment -library "pll_cfg" -name VERILOG_FILE [file join $::quartus(qip_path) "pll_cfg/pll_cfg.v"]
|
||||||
set_global_assignment -entity "pll_cfg" -library "pll_cfg" -name IP_COMPONENT_DISPLAY_NAME "QWx0ZXJhIFBMTCBSZWNvbmZpZw=="
|
set_global_assignment -library "pll_cfg" -name VERILOG_FILE [file join $::quartus(qip_path) "pll_cfg/pll_cfg_hdmi.v"]
|
||||||
set_global_assignment -entity "pll_cfg" -library "pll_cfg" -name IP_COMPONENT_REPORT_HIERARCHY "Off"
|
|
||||||
set_global_assignment -entity "pll_cfg" -library "pll_cfg" -name IP_COMPONENT_INTERNAL "Off"
|
|
||||||
set_global_assignment -entity "pll_cfg" -library "pll_cfg" -name IP_COMPONENT_AUTHOR "QWx0ZXJhIENvcnBvcmF0aW9u"
|
|
||||||
set_global_assignment -entity "pll_cfg" -library "pll_cfg" -name IP_COMPONENT_VERSION "MTcuMA=="
|
|
||||||
set_global_assignment -entity "pll_cfg" -library "pll_cfg" -name IP_COMPONENT_DESCRIPTION "QWx0ZXJhIFBoYXNlLUxvY2tlZCBMb29wIFJlY29uZmlndXJhdGlvbiBCbG9jayhBTFRFUkFfUExMX1JFQ09ORklHKQ=="
|
|
||||||
set_global_assignment -entity "pll_cfg" -library "pll_cfg" -name IP_COMPONENT_PARAMETER "RU5BQkxFX0JZVEVFTkFCTEU=::ZmFsc2U=::QWRkIGJ5dGVlbmFibGUgcG9ydA=="
|
|
||||||
set_global_assignment -entity "pll_cfg" -library "pll_cfg" -name IP_COMPONENT_PARAMETER "QllURUVOQUJMRV9XSURUSA==::NA==::QllURUVOQUJMRV9XSURUSA=="
|
|
||||||
set_global_assignment -entity "pll_cfg" -library "pll_cfg" -name IP_COMPONENT_PARAMETER "UkVDT05GSUdfQUREUl9XSURUSA==::Ng==::UkVDT05GSUdfQUREUl9XSURUSA=="
|
|
||||||
set_global_assignment -entity "pll_cfg" -library "pll_cfg" -name IP_COMPONENT_PARAMETER "UkVDT05GSUdfREFUQV9XSURUSA==::MzI=::UkVDT05GSUdfREFUQV9XSURUSA=="
|
|
||||||
set_global_assignment -entity "pll_cfg" -library "pll_cfg" -name IP_COMPONENT_PARAMETER "cmVjb25mX3dpZHRo::NjQ=::cmVjb25mX3dpZHRo"
|
|
||||||
set_global_assignment -entity "pll_cfg" -library "pll_cfg" -name IP_COMPONENT_PARAMETER "V0FJVF9GT1JfTE9DSw==::dHJ1ZQ==::V0FJVF9GT1JfTE9DSw=="
|
|
||||||
set_global_assignment -entity "altera_pll_reconfig_top" -library "pll_cfg" -name IP_COMPONENT_NAME "YWx0ZXJhX3BsbF9yZWNvbmZpZ190b3A="
|
|
||||||
set_global_assignment -entity "altera_pll_reconfig_top" -library "pll_cfg" -name IP_COMPONENT_DISPLAY_NAME "QWx0ZXJhIFBMTCBSZWNvbmZpZw=="
|
|
||||||
set_global_assignment -entity "altera_pll_reconfig_top" -library "pll_cfg" -name IP_COMPONENT_REPORT_HIERARCHY "Off"
|
|
||||||
set_global_assignment -entity "altera_pll_reconfig_top" -library "pll_cfg" -name IP_COMPONENT_INTERNAL "Off"
|
|
||||||
set_global_assignment -entity "altera_pll_reconfig_top" -library "pll_cfg" -name IP_COMPONENT_AUTHOR "QWx0ZXJhIENvcnBvcmF0aW9u"
|
|
||||||
set_global_assignment -entity "altera_pll_reconfig_top" -library "pll_cfg" -name IP_COMPONENT_VERSION "MTcuMA=="
|
|
||||||
set_global_assignment -entity "altera_pll_reconfig_top" -library "pll_cfg" -name IP_COMPONENT_DESCRIPTION "QWx0ZXJhIFBoYXNlLUxvY2tlZCBMb29wIFJlY29uZmlndXJhdGlvbiBCbG9jayhBTFRFUkFfUExMX1JFQ09ORklHKQ=="
|
|
||||||
set_global_assignment -entity "altera_pll_reconfig_top" -library "pll_cfg" -name IP_COMPONENT_PARAMETER "ZGV2aWNlX2ZhbWlseQ==::Q3ljbG9uZSBW::ZGV2aWNlX2ZhbWlseQ=="
|
|
||||||
set_global_assignment -entity "altera_pll_reconfig_top" -library "pll_cfg" -name IP_COMPONENT_PARAMETER "RU5BQkxFX01JRg==::ZmFsc2U=::RW5hYmxlIE1JRiBTdHJlYW1pbmc="
|
|
||||||
set_global_assignment -entity "altera_pll_reconfig_top" -library "pll_cfg" -name IP_COMPONENT_PARAMETER "RU5BQkxFX0JZVEVFTkFCTEU=::ZmFsc2U=::QWRkIGJ5dGVlbmFibGUgcG9ydA=="
|
|
||||||
set_global_assignment -entity "altera_pll_reconfig_top" -library "pll_cfg" -name IP_COMPONENT_PARAMETER "QllURUVOQUJMRV9XSURUSA==::NA==::QllURUVOQUJMRV9XSURUSA=="
|
|
||||||
set_global_assignment -entity "altera_pll_reconfig_top" -library "pll_cfg" -name IP_COMPONENT_PARAMETER "UkVDT05GSUdfQUREUl9XSURUSA==::Ng==::UkVDT05GSUdfQUREUl9XSURUSA=="
|
|
||||||
set_global_assignment -entity "altera_pll_reconfig_top" -library "pll_cfg" -name IP_COMPONENT_PARAMETER "UkVDT05GSUdfREFUQV9XSURUSA==::MzI=::UkVDT05GSUdfREFUQV9XSURUSA=="
|
|
||||||
set_global_assignment -entity "altera_pll_reconfig_top" -library "pll_cfg" -name IP_COMPONENT_PARAMETER "cmVjb25mX3dpZHRo::NjQ=::cmVjb25mX3dpZHRo"
|
|
||||||
set_global_assignment -entity "altera_pll_reconfig_top" -library "pll_cfg" -name IP_COMPONENT_PARAMETER "V0FJVF9GT1JfTE9DSw==::dHJ1ZQ==::V0FJVF9GT1JfTE9DSw=="
|
|
||||||
|
|
||||||
set_global_assignment -library "pll_cfg" -name VERILOG_FILE [file join $::quartus(qip_path) "pll_cfg.v"]
|
|
||||||
set_global_assignment -library "pll_cfg" -name VERILOG_FILE [file join $::quartus(qip_path) "pll_cfg/altera_pll_reconfig_top.v"]
|
set_global_assignment -library "pll_cfg" -name VERILOG_FILE [file join $::quartus(qip_path) "pll_cfg/altera_pll_reconfig_top.v"]
|
||||||
set_global_assignment -library "pll_cfg" -name VERILOG_FILE [file join $::quartus(qip_path) "pll_cfg/altera_pll_reconfig_core.v"]
|
set_global_assignment -library "pll_cfg" -name VERILOG_FILE [file join $::quartus(qip_path) "pll_cfg/altera_pll_reconfig_core.v"]
|
||||||
|
|
||||||
set_global_assignment -entity "altera_pll_reconfig_top" -library "pll_cfg" -name IP_TOOL_NAME "altera_pll_reconfig"
|
|
||||||
set_global_assignment -entity "altera_pll_reconfig_top" -library "pll_cfg" -name IP_TOOL_VERSION "17.0"
|
|
||||||
set_global_assignment -entity "altera_pll_reconfig_top" -library "pll_cfg" -name IP_TOOL_ENV "mwpim"
|
|
||||||
@@ -16,7 +16,7 @@
|
|||||||
module altera_pll_reconfig_core
|
module altera_pll_reconfig_core
|
||||||
#(
|
#(
|
||||||
parameter reconf_width = 64,
|
parameter reconf_width = 64,
|
||||||
parameter device_family = "Stratix V",
|
parameter device_family = "Cyclone V",
|
||||||
// MIF Streaming parameters
|
// MIF Streaming parameters
|
||||||
parameter RECONFIG_ADDR_WIDTH = 6,
|
parameter RECONFIG_ADDR_WIDTH = 6,
|
||||||
parameter RECONFIG_DATA_WIDTH = 32,
|
parameter RECONFIG_DATA_WIDTH = 32,
|
||||||
@@ -1883,7 +1883,7 @@ module fpll_dprio_init (
|
|||||||
endmodule
|
endmodule
|
||||||
module dyn_phase_shift
|
module dyn_phase_shift
|
||||||
#(
|
#(
|
||||||
parameter device_family = "Stratix V"
|
parameter device_family = "Cyclone V"
|
||||||
) (
|
) (
|
||||||
|
|
||||||
input wire clk,
|
input wire clk,
|
||||||
@@ -2112,7 +2112,7 @@ endmodule
|
|||||||
module generic_lcell_comb
|
module generic_lcell_comb
|
||||||
#(
|
#(
|
||||||
//parameter
|
//parameter
|
||||||
parameter family = "Stratix V",
|
parameter family = "Cyclone V",
|
||||||
parameter lut_mask = 64'hAAAAAAAAAAAAAAAA,
|
parameter lut_mask = 64'hAAAAAAAAAAAAAAAA,
|
||||||
parameter dont_touch = "on"
|
parameter dont_touch = "on"
|
||||||
) (
|
) (
|
||||||
|
|||||||
@@ -16,7 +16,7 @@
|
|||||||
module altera_pll_reconfig_top
|
module altera_pll_reconfig_top
|
||||||
#(
|
#(
|
||||||
parameter reconf_width = 64,
|
parameter reconf_width = 64,
|
||||||
parameter device_family = "Stratix V",
|
parameter device_family = "Cyclone V",
|
||||||
parameter RECONFIG_ADDR_WIDTH = 6,
|
parameter RECONFIG_ADDR_WIDTH = 6,
|
||||||
parameter RECONFIG_DATA_WIDTH = 32,
|
parameter RECONFIG_DATA_WIDTH = 32,
|
||||||
|
|
||||||
|
|||||||
@@ -0,0 +1,86 @@
|
|||||||
|
// megafunction wizard: %Altera PLL Reconfig v17.0%
|
||||||
|
// GENERATION: XML
|
||||||
|
// pll_cfg.v
|
||||||
|
|
||||||
|
// Generated using ACDS version 17.0 598
|
||||||
|
|
||||||
|
`timescale 1 ps / 1 ps
|
||||||
|
module pll_cfg #(
|
||||||
|
parameter ENABLE_BYTEENABLE = 0,
|
||||||
|
parameter BYTEENABLE_WIDTH = 4,
|
||||||
|
parameter RECONFIG_ADDR_WIDTH = 6,
|
||||||
|
parameter RECONFIG_DATA_WIDTH = 32,
|
||||||
|
parameter reconf_width = 64,
|
||||||
|
parameter WAIT_FOR_LOCK = 1
|
||||||
|
) (
|
||||||
|
input wire mgmt_clk, // mgmt_clk.clk
|
||||||
|
input wire mgmt_reset, // mgmt_reset.reset
|
||||||
|
output wire mgmt_waitrequest, // mgmt_avalon_slave.waitrequest
|
||||||
|
input wire mgmt_read, // .read
|
||||||
|
input wire mgmt_write, // .write
|
||||||
|
output wire [31:0] mgmt_readdata, // .readdata
|
||||||
|
input wire [5:0] mgmt_address, // .address
|
||||||
|
input wire [31:0] mgmt_writedata, // .writedata
|
||||||
|
output wire [63:0] reconfig_to_pll, // reconfig_to_pll.reconfig_to_pll
|
||||||
|
input wire [63:0] reconfig_from_pll // reconfig_from_pll.reconfig_from_pll
|
||||||
|
);
|
||||||
|
|
||||||
|
altera_pll_reconfig_top #(
|
||||||
|
.device_family ("Cyclone V"),
|
||||||
|
.ENABLE_MIF (0),
|
||||||
|
.MIF_FILE_NAME ("sys/pll_cfg.mif"),
|
||||||
|
.ENABLE_BYTEENABLE (ENABLE_BYTEENABLE),
|
||||||
|
.BYTEENABLE_WIDTH (BYTEENABLE_WIDTH),
|
||||||
|
.RECONFIG_ADDR_WIDTH (RECONFIG_ADDR_WIDTH),
|
||||||
|
.RECONFIG_DATA_WIDTH (RECONFIG_DATA_WIDTH),
|
||||||
|
.reconf_width (reconf_width),
|
||||||
|
.WAIT_FOR_LOCK (WAIT_FOR_LOCK)
|
||||||
|
) pll_cfg_inst (
|
||||||
|
.mgmt_clk (mgmt_clk), // mgmt_clk.clk
|
||||||
|
.mgmt_reset (mgmt_reset), // mgmt_reset.reset
|
||||||
|
.mgmt_waitrequest (mgmt_waitrequest), // mgmt_avalon_slave.waitrequest
|
||||||
|
.mgmt_read (mgmt_read), // .read
|
||||||
|
.mgmt_write (mgmt_write), // .write
|
||||||
|
.mgmt_readdata (mgmt_readdata), // .readdata
|
||||||
|
.mgmt_address (mgmt_address), // .address
|
||||||
|
.mgmt_writedata (mgmt_writedata), // .writedata
|
||||||
|
.reconfig_to_pll (reconfig_to_pll), // reconfig_to_pll.reconfig_to_pll
|
||||||
|
.reconfig_from_pll (reconfig_from_pll), // reconfig_from_pll.reconfig_from_pll
|
||||||
|
.mgmt_byteenable (4'b0000) // (terminated)
|
||||||
|
);
|
||||||
|
|
||||||
|
endmodule
|
||||||
|
// Retrieval info: <?xml version="1.0"?>
|
||||||
|
//<!--
|
||||||
|
// Generated by Altera MegaWizard Launcher Utility version 1.0
|
||||||
|
// ************************************************************
|
||||||
|
// THIS IS A WIZARD-GENERATED FILE. DO NOT EDIT THIS FILE!
|
||||||
|
// ************************************************************
|
||||||
|
// Copyright (C) 1991-2018 Altera Corporation
|
||||||
|
// Any megafunction design, and related net list (encrypted or decrypted),
|
||||||
|
// support information, device programming or simulation file, and any other
|
||||||
|
// associated documentation or information provided by Altera or a partner
|
||||||
|
// under Altera's Megafunction Partnership Program may be used only to
|
||||||
|
// program PLD devices (but not masked PLD devices) from Altera. Any other
|
||||||
|
// use of such megafunction design, net list, support information, device
|
||||||
|
// programming or simulation file, or any other related documentation or
|
||||||
|
// information is prohibited for any other purpose, including, but not
|
||||||
|
// limited to modification, reverse engineering, de-compiling, or use with
|
||||||
|
// any other silicon devices, unless such use is explicitly licensed under
|
||||||
|
// a separate agreement with Altera or a megafunction partner. Title to
|
||||||
|
// the intellectual property, including patents, copyrights, trademarks,
|
||||||
|
// trade secrets, or maskworks, embodied in any such megafunction design,
|
||||||
|
// net list, support information, device programming or simulation file, or
|
||||||
|
// any other related documentation or information provided by Altera or a
|
||||||
|
// megafunction partner, remains with Altera, the megafunction partner, or
|
||||||
|
// their respective licensors. No other licenses, including any licenses
|
||||||
|
// needed under any third party's intellectual property, are provided herein.
|
||||||
|
//-->
|
||||||
|
// Retrieval info: <instance entity-name="altera_pll_reconfig" version="17.0" >
|
||||||
|
// Retrieval info: <generic name="device_family" value="Cyclone V" />
|
||||||
|
// Retrieval info: <generic name="ENABLE_MIF" value="false" />
|
||||||
|
// Retrieval info: <generic name="MIF_FILE_NAME" value="sys/pll_cfg.mif" />
|
||||||
|
// Retrieval info: <generic name="ENABLE_BYTEENABLE" value="false" />
|
||||||
|
// Retrieval info: </instance>
|
||||||
|
// IPFS_FILES : pll_cfg.vo
|
||||||
|
// RELATED_FILES: pll_cfg.v, altera_pll_reconfig_top.v, altera_pll_reconfig_core.v, altera_std_synchronizer.v
|
||||||
File diff suppressed because it is too large.
Load diff
+1776
File diff suppressed because it is too large.
Load diff
+1
-3
@@ -1,6 +1,4 @@
|
|||||||
set_global_assignment -name QIP_FILE [file join $::quartus(qip_path) pll.13.qip ]
|
set_global_assignment -name QIP_FILE [file join $::quartus(qip_path) pll.13.qip ]
|
||||||
set_global_assignment -name QIP_FILE [file join $::quartus(qip_path) pll_hdmi.13.qip ]
|
set_global_assignment -name QIP_FILE [file join $::quartus(qip_path) pll_hdmi.13.qip ]
|
||||||
set_global_assignment -name QIP_FILE [file join $::quartus(qip_path) pll_audio.13.qip ]
|
set_global_assignment -name QIP_FILE [file join $::quartus(qip_path) pll_audio.13.qip ]
|
||||||
set_global_assignment -name VERILOG_FILE [file join $::quartus(qip_path) pll_cfg.v ]
|
set_global_assignment -name QIP_FILE [file join $::quartus(qip_path) pll_cfg.qip ]
|
||||||
set_global_assignment -name VERILOG_FILE [file join $::quartus(qip_path) pll_cfg/altera_pll_reconfig_core.v ]
|
|
||||||
set_global_assignment -name VERILOG_FILE [file join $::quartus(qip_path) pll_cfg/altera_pll_reconfig_top.v ]
|
|
||||||
+4
-4
@@ -58,10 +58,10 @@ localparam DW = WIDE ? 15 : 7;
|
|||||||
localparam SZ = OCTAL ? 8 : 1;
|
localparam SZ = OCTAL ? 8 : 1;
|
||||||
localparam SW = SZ-1;
|
localparam SW = SZ-1;
|
||||||
|
|
||||||
wire [7:0] DATA_TOKEN_CMD25 = 8'hfc;
|
localparam DATA_TOKEN_CMD25 = 8'hfc;
|
||||||
wire [7:0] STOP_TRAN = 8'hfd;
|
localparam STOP_TRAN = 8'hfd;
|
||||||
wire [7:0] DATA_TOKEN = 8'hfe;
|
localparam DATA_TOKEN = 8'hfe;
|
||||||
wire [7:0] WRITE_DATA_RESPONSE = 8'h05;
|
localparam WRITE_DATA_RESPONSE = 8'he5;
|
||||||
|
|
||||||
// number of bytes to wait after a command before sending the reply
|
// number of bytes to wait after a command before sending the reply
|
||||||
localparam NCR = 5+3; // 5 bytes are required (command length)
|
localparam NCR = 5+3; // 5 bytes are required (command length)
|
||||||
|
|||||||
+2
-9
@@ -16,13 +16,6 @@ set_location_assignment PIN_V10 -to ADC_SCK
|
|||||||
set_location_assignment PIN_AC4 -to ADC_SDI
|
set_location_assignment PIN_AC4 -to ADC_SDI
|
||||||
set_location_assignment PIN_AD4 -to ADC_SDO
|
set_location_assignment PIN_AD4 -to ADC_SDO
|
||||||
|
|
||||||
#============================================================
|
|
||||||
# ARDUINO
|
|
||||||
#============================================================
|
|
||||||
set_instance_assignment -name IO_STANDARD "3.3-V LVTTL" -to ARDUINO_IO[*]
|
|
||||||
set_instance_assignment -name WEAK_PULL_UP_RESISTOR ON -to ARDUINO_IO[*]
|
|
||||||
set_instance_assignment -name CURRENT_STRENGTH_NEW "MAXIMUM CURRENT" -to ARDUINO_IO[*]
|
|
||||||
|
|
||||||
#============================================================
|
#============================================================
|
||||||
# I2C LEDS/BUTTONS
|
# I2C LEDS/BUTTONS
|
||||||
#============================================================
|
#============================================================
|
||||||
@@ -72,8 +65,8 @@ set_location_assignment PIN_AD17 -to SDRAM_A[11]
|
|||||||
set_location_assignment PIN_D12 -to SDRAM_A[12]
|
set_location_assignment PIN_D12 -to SDRAM_A[12]
|
||||||
set_location_assignment PIN_Y17 -to SDRAM_BA[0]
|
set_location_assignment PIN_Y17 -to SDRAM_BA[0]
|
||||||
set_location_assignment PIN_AB25 -to SDRAM_BA[1]
|
set_location_assignment PIN_AB25 -to SDRAM_BA[1]
|
||||||
set_location_assignment PIN_E8 -to SDRAM_DQ[0]
|
set_location_assignment PIN_V12 -to SDRAM_DQ[0]
|
||||||
set_location_assignment PIN_V12 -to SDRAM_DQ[1]
|
set_location_assignment PIN_E8 -to SDRAM_DQ[1]
|
||||||
set_location_assignment PIN_D11 -to SDRAM_DQ[2]
|
set_location_assignment PIN_D11 -to SDRAM_DQ[2]
|
||||||
set_location_assignment PIN_W12 -to SDRAM_DQ[3]
|
set_location_assignment PIN_W12 -to SDRAM_DQ[3]
|
||||||
set_location_assignment PIN_AH13 -to SDRAM_DQ[4]
|
set_location_assignment PIN_AH13 -to SDRAM_DQ[4]
|
||||||
|
|||||||
+5
-1
@@ -25,6 +25,7 @@ set_false_path -from [get_ports {KEY*}]
|
|||||||
set_false_path -from [get_ports {BTN_*}]
|
set_false_path -from [get_ports {BTN_*}]
|
||||||
set_false_path -to [get_ports {LED_*}]
|
set_false_path -to [get_ports {LED_*}]
|
||||||
set_false_path -to [get_ports {VGA_*}]
|
set_false_path -to [get_ports {VGA_*}]
|
||||||
|
set_false_path -from [get_ports {VGA_EN}]
|
||||||
set_false_path -to [get_ports {AUDIO_SPDIF}]
|
set_false_path -to [get_ports {AUDIO_SPDIF}]
|
||||||
set_false_path -to [get_ports {AUDIO_L}]
|
set_false_path -to [get_ports {AUDIO_L}]
|
||||||
set_false_path -to [get_ports {AUDIO_R}]
|
set_false_path -to [get_ports {AUDIO_R}]
|
||||||
@@ -34,6 +35,7 @@ set_false_path -from {cfg[*]}
|
|||||||
set_false_path -from {VSET[*]}
|
set_false_path -from {VSET[*]}
|
||||||
set_false_path -to {wcalc[*] hcalc[*]}
|
set_false_path -to {wcalc[*] hcalc[*]}
|
||||||
set_false_path -to {hdmi_width[*] hdmi_height[*]}
|
set_false_path -to {hdmi_width[*] hdmi_height[*]}
|
||||||
|
set_false_path -to {deb_* btn_en btn_up}
|
||||||
|
|
||||||
set_multicycle_path -to {*_osd|osd_vcnt*} -setup 2
|
set_multicycle_path -to {*_osd|osd_vcnt*} -setup 2
|
||||||
set_multicycle_path -to {*_osd|osd_vcnt*} -hold 1
|
set_multicycle_path -to {*_osd|osd_vcnt*} -hold 1
|
||||||
@@ -58,6 +60,7 @@ set_false_path -from {vol_att[*] scaler_flt[*] led_overtake[*] led_state[*]}
|
|||||||
set_false_path -from {aflt_* acx* acy* areset* arc*}
|
set_false_path -from {aflt_* acx* acy* areset* arc*}
|
||||||
set_false_path -from {arx* ary*}
|
set_false_path -from {arx* ary*}
|
||||||
set_false_path -from {vs_line*}
|
set_false_path -from {vs_line*}
|
||||||
|
set_false_path -from {ColorBurst_Range* PhaseInc* pal_en cvbs yc_en}
|
||||||
|
|
||||||
set_false_path -from {ascal|o_ihsize*}
|
set_false_path -from {ascal|o_ihsize*}
|
||||||
set_false_path -from {ascal|o_ivsize*}
|
set_false_path -from {ascal|o_ivsize*}
|
||||||
@@ -70,4 +73,5 @@ set_false_path -from {ascal|o_htotal* ascal|o_vtotal*}
|
|||||||
set_false_path -from {ascal|o_hsstart* ascal|o_vsstart* ascal|o_hsend* ascal|o_vsend*}
|
set_false_path -from {ascal|o_hsstart* ascal|o_vsstart* ascal|o_hsend* ascal|o_vsend*}
|
||||||
set_false_path -from {ascal|o_hsize* ascal|o_vsize*}
|
set_false_path -from {ascal|o_hsize* ascal|o_vsize*}
|
||||||
|
|
||||||
set_false_path -from {mcp23009|sd_cd}
|
set_false_path -from {mcp23009|flg_*}
|
||||||
|
set_false_path -to {sysmem|fpga_interfaces|clocks_resets|f2h*}
|
||||||
+322
-204
@@ -72,7 +72,7 @@ module sys_top
|
|||||||
output [5:0] VGA_R,
|
output [5:0] VGA_R,
|
||||||
output [5:0] VGA_G,
|
output [5:0] VGA_G,
|
||||||
output [5:0] VGA_B,
|
output [5:0] VGA_B,
|
||||||
inout VGA_HS, // VGA_HS is secondary SD card detect when VGA_EN = 1 (inactive)
|
inout VGA_HS,
|
||||||
output VGA_VS,
|
output VGA_VS,
|
||||||
input VGA_EN, // active low
|
input VGA_EN, // active low
|
||||||
|
|
||||||
@@ -125,28 +125,24 @@ module sys_top
|
|||||||
);
|
);
|
||||||
|
|
||||||
////////////////////// Secondary SD ///////////////////////////////////
|
////////////////////// Secondary SD ///////////////////////////////////
|
||||||
wire SD_CS, SD_CLK, SD_MOSI;
|
wire SD_CS, SD_CLK, SD_MOSI, SD_MISO, SD_CD;
|
||||||
|
|
||||||
`ifndef MISTER_DUAL_SDRAM
|
`ifndef MISTER_DUAL_SDRAM
|
||||||
wire sd_miso = SW[3] | SDIO_DAT[0];
|
wire sd_cd = SDCD_SPDIF & ~SW[2]; // SW[2]=ON workaround for faulty boards without SD card detect pin.
|
||||||
`else
|
assign SD_CD = mcp_en ? mcp_sdcd : sd_cd;
|
||||||
wire sd_miso = 1;
|
assign SD_MISO = SD_CD | (mcp_en ? SD_SPI_MISO : (VGA_EN | SDIO_DAT[0]));
|
||||||
`endif
|
assign SD_SPI_CS = mcp_en ? (mcp_sdcd ? 1'bZ : SD_CS) : (sog & ~cs1 & ~VGA_EN) ? 1'b1 : 1'bZ;
|
||||||
wire SD_MISO = mcp_sdcd ? sd_miso : SD_SPI_MISO;
|
assign SD_SPI_CLK = (~mcp_en | mcp_sdcd) ? 1'bZ : SD_CLK;
|
||||||
|
assign SD_SPI_MOSI = (~mcp_en | mcp_sdcd) ? 1'bZ : SD_MOSI;
|
||||||
`ifndef MISTER_DUAL_SDRAM
|
assign {SDIO_CLK,SDIO_CMD,SDIO_DAT} = av_dis ? 6'bZZZZZZ : (mcp_en | sd_cd) ? {vga_g,vga_r,vga_b} : {SD_CLK,SD_MOSI,SD_CS,3'bZZZ};
|
||||||
assign SDIO_DAT[2:1]= 2'bZZ;
|
|
||||||
assign SDIO_DAT[3] = SW[3] ? 1'bZ : SD_CS;
|
|
||||||
assign SDIO_CLK = SW[3] ? 1'bZ : SD_CLK;
|
|
||||||
assign SDIO_CMD = SW[3] ? 1'bZ : SD_MOSI;
|
|
||||||
assign SD_SPI_CS = mcp_sdcd ? ((~VGA_EN & sog & ~cs1) ? 1'b1 : 1'bZ) : SD_CS;
|
|
||||||
`else
|
`else
|
||||||
|
assign SD_CD = mcp_sdcd;
|
||||||
|
assign SD_MISO = mcp_sdcd | SD_SPI_MISO;
|
||||||
assign SD_SPI_CS = mcp_sdcd ? 1'bZ : SD_CS;
|
assign SD_SPI_CS = mcp_sdcd ? 1'bZ : SD_CS;
|
||||||
|
assign SD_SPI_CLK = mcp_sdcd ? 1'bZ : SD_CLK;
|
||||||
|
assign SD_SPI_MOSI = mcp_sdcd ? 1'bZ : SD_MOSI;
|
||||||
`endif
|
`endif
|
||||||
|
|
||||||
assign SD_SPI_CLK = mcp_sdcd ? 1'bZ : SD_CLK;
|
|
||||||
assign SD_SPI_MOSI = mcp_sdcd ? 1'bZ : SD_MOSI;
|
|
||||||
|
|
||||||
////////////////////// LEDs/Buttons ///////////////////////////////////
|
////////////////////// LEDs/Buttons ///////////////////////////////////
|
||||||
|
|
||||||
reg [7:0] led_overtake = 0;
|
reg [7:0] led_overtake = 0;
|
||||||
@@ -157,36 +153,59 @@ wire led_d = led_disk[1] ? ~led_disk[0] : ~(led_disk[0] | gp_out[29]);
|
|||||||
wire led_u = ~led_user;
|
wire led_u = ~led_user;
|
||||||
wire led_locked;
|
wire led_locked;
|
||||||
|
|
||||||
`ifndef MISTER_DUAL_SDRAM
|
//LEDs on de10-nano board
|
||||||
assign LED_POWER = (SW[3] | led_p) ? 1'bZ : 1'b0;
|
|
||||||
assign LED_HDD = (SW[3] | led_d) ? 1'bZ : 1'b0;
|
|
||||||
assign LED_USER = (SW[3] | led_u) ? 1'bZ : 1'b0;
|
|
||||||
`endif
|
|
||||||
|
|
||||||
//LEDs on main board
|
|
||||||
assign LED = (led_overtake & led_state) | (~led_overtake & {1'b0,led_locked,1'b0, ~led_p, 1'b0, ~led_d, 1'b0, ~led_u});
|
assign LED = (led_overtake & led_state) | (~led_overtake & {1'b0,led_locked,1'b0, ~led_p, 1'b0, ~led_d, 1'b0, ~led_u});
|
||||||
|
|
||||||
wire btn_r, btn_o, btn_u;
|
|
||||||
`ifdef MISTER_DUAL_SDRAM
|
|
||||||
assign {btn_r,btn_o,btn_u} = SW[3] ? {mcp_btn[1],mcp_btn[2],mcp_btn[0]} : ~{SDRAM2_DQ[9],SDRAM2_DQ[13],SDRAM2_DQ[11]};
|
|
||||||
`else
|
|
||||||
assign {btn_r,btn_o,btn_u} = ~{BTN_RESET,BTN_OSD,BTN_USER} | {mcp_btn[1],mcp_btn[2],mcp_btn[0]};
|
|
||||||
`endif
|
|
||||||
|
|
||||||
wire [2:0] mcp_btn;
|
wire [2:0] mcp_btn;
|
||||||
wire mcp_sdcd;
|
wire mcp_sdcd;
|
||||||
|
wire mcp_en;
|
||||||
|
wire mcp_mode;
|
||||||
mcp23009 mcp23009
|
mcp23009 mcp23009
|
||||||
(
|
(
|
||||||
.clk(FPGA_CLK2_50),
|
.clk(FPGA_CLK2_50),
|
||||||
|
|
||||||
.btn(mcp_btn),
|
.btn(mcp_btn),
|
||||||
.led({led_p, led_d, led_u}),
|
.led({led_p, led_d, led_u}),
|
||||||
.sd_cd(mcp_sdcd),
|
.flg_sd_cd(mcp_sdcd),
|
||||||
|
.flg_present(mcp_en),
|
||||||
|
.flg_mode(mcp_mode),
|
||||||
|
|
||||||
.scl(IO_SCL),
|
.scl(IO_SCL),
|
||||||
.sda(IO_SDA)
|
.sda(IO_SDA)
|
||||||
);
|
);
|
||||||
|
|
||||||
|
wire io_dig = mcp_en ? mcp_mode : SW[3];
|
||||||
|
|
||||||
|
`ifndef MISTER_DUAL_SDRAM
|
||||||
|
wire av_dis = io_dig | VGA_EN;
|
||||||
|
assign LED_POWER = av_dis ? 1'bZ : mcp_en ? de1 : led_p ? 1'bZ : 1'b0;
|
||||||
|
assign LED_HDD = av_dis ? 1'bZ : mcp_en ? (sog & ~cs1) : led_d ? 1'bZ : 1'b0;
|
||||||
|
//assign LED_USER = av_dis ? 1'bZ : mcp_en ? ~vga_tx_clk : led_u ? 1'bZ : 1'b0;
|
||||||
|
assign LED_USER = VGA_TX_CLK;
|
||||||
|
wire BTN_DIS = VGA_EN;
|
||||||
|
`else
|
||||||
|
wire BTN_RESET = 1'b1;
|
||||||
|
wire BTN_OSD = 1'b1;
|
||||||
|
wire BTN_USER = 1'b1;
|
||||||
|
wire BTN_DIS = 1'b1;
|
||||||
|
`endif
|
||||||
|
|
||||||
|
reg BTN_EN = 0;
|
||||||
|
reg [25:0] btn_timeout = 0;
|
||||||
|
initial btn_timeout = 0;
|
||||||
|
always @(posedge FPGA_CLK2_50) begin
|
||||||
|
reg btn_up = 0;
|
||||||
|
reg btn_en = 0;
|
||||||
|
|
||||||
|
btn_up <= BTN_RESET & BTN_OSD & BTN_USER;
|
||||||
|
if(~reset & btn_up & ~&btn_timeout) btn_timeout <= btn_timeout + 1'd1;
|
||||||
|
btn_en <= ~BTN_DIS;
|
||||||
|
BTN_EN <= &btn_timeout & btn_en;
|
||||||
|
end
|
||||||
|
|
||||||
|
wire btn_r = (mcp_en | SW[3]) ? mcp_btn[1] : (BTN_EN & ~BTN_RESET);
|
||||||
|
wire btn_o = (mcp_en | SW[3]) ? mcp_btn[2] : (BTN_EN & ~BTN_OSD );
|
||||||
|
wire btn_u = (mcp_en | SW[3]) ? mcp_btn[0] : (BTN_EN & ~BTN_USER );
|
||||||
|
|
||||||
reg btn_user, btn_osd;
|
reg btn_user, btn_osd;
|
||||||
always @(posedge FPGA_CLK2_50) begin
|
always @(posedge FPGA_CLK2_50) begin
|
||||||
@@ -212,7 +231,7 @@ end
|
|||||||
|
|
||||||
// gp_in[31] = 0 - quick flag that FPGA is initialized (HPS reads 1 when FPGA is not in user mode)
|
// gp_in[31] = 0 - quick flag that FPGA is initialized (HPS reads 1 when FPGA is not in user mode)
|
||||||
// used to avoid lockups while JTAG loading
|
// used to avoid lockups while JTAG loading
|
||||||
wire [31:0] gp_in = {1'b0, btn_user | btn[1], btn_osd | btn[0], SW[3], 8'd0, io_ver, io_ack, io_wide, io_dout | io_dout_sys};
|
wire [31:0] gp_in = {1'b0, btn_user | btn[1], btn_osd | btn[0], io_dig, 8'd0, io_ver, io_ack, io_wide, io_dout | io_dout_sys};
|
||||||
wire [31:0] gp_out;
|
wire [31:0] gp_out;
|
||||||
|
|
||||||
wire [1:0] io_ver = 1; // 0 - obsolete. 1 - optimized HPS I/O. 2,3 - reserved for future.
|
wire [1:0] io_ver = 1; // 0 - obsolete. 1 - optimized HPS I/O. 2,3 - reserved for future.
|
||||||
@@ -226,7 +245,7 @@ wire io_ss1 = gp_outr[19];
|
|||||||
wire io_ss2 = gp_outr[20];
|
wire io_ss2 = gp_outr[20];
|
||||||
|
|
||||||
`ifndef MISTER_DEBUG_NOHDMI
|
`ifndef MISTER_DEBUG_NOHDMI
|
||||||
wire io_osd_hdmi = io_ss1 & ~io_ss0;
|
wire io_osd_hdmi = io_ss1 & ~io_ss0;
|
||||||
`endif
|
`endif
|
||||||
|
|
||||||
wire io_fpga = ~io_ss1 & io_ss0;
|
wire io_fpga = ~io_ss1 & io_ss0;
|
||||||
@@ -267,23 +286,28 @@ cyclonev_hps_interface_mpu_general_purpose h2f_gp
|
|||||||
|
|
||||||
|
|
||||||
reg [15:0] cfg;
|
reg [15:0] cfg;
|
||||||
|
|
||||||
reg cfg_set = 0;
|
reg cfg_set = 0;
|
||||||
wire vga_fb = cfg[12] | vga_force_scaler;
|
|
||||||
|
|
||||||
`ifdef MISTER_DEBUG_NOHDMI
|
`ifdef MISTER_DEBUG_NOHDMI
|
||||||
wire direct_video = 1;
|
wire vga_fb = 0;
|
||||||
|
wire direct_video = 1;
|
||||||
`else
|
`else
|
||||||
wire direct_video = cfg[10];
|
wire vga_fb = cfg[12] | vga_force_scaler;
|
||||||
|
wire direct_video = cfg[10];
|
||||||
`endif
|
`endif
|
||||||
|
|
||||||
wire audio_96k = cfg[6];
|
wire audio_96k = cfg[6];
|
||||||
wire csync_en = cfg[3];
|
wire csync_en = cfg[3];
|
||||||
wire io_osd_vga = io_ss1 & ~io_ss2;
|
wire io_osd_vga = io_ss1 & ~io_ss2;
|
||||||
`ifndef MISTER_DUAL_SDRAM
|
`ifndef MISTER_DUAL_SDRAM
|
||||||
|
wire forced_scandoubler = cfg[4];
|
||||||
wire ypbpr_en = cfg[5];
|
wire ypbpr_en = cfg[5];
|
||||||
wire sog = cfg[9];
|
wire sog = cfg[9];
|
||||||
|
`ifdef MISTER_DEBUG_NOHDMI
|
||||||
|
wire vga_scaler = 0;
|
||||||
|
`else
|
||||||
wire vga_scaler = cfg[2] | vga_force_scaler;
|
wire vga_scaler = cfg[2] | vga_force_scaler;
|
||||||
|
`endif
|
||||||
`endif
|
`endif
|
||||||
|
|
||||||
reg cfg_custom_t = 0;
|
reg cfg_custom_t = 0;
|
||||||
@@ -309,6 +333,7 @@ reg [11:0] vs_line = 0;
|
|||||||
|
|
||||||
reg scaler_out = 0;
|
reg scaler_out = 0;
|
||||||
reg vrr_mode = 0;
|
reg vrr_mode = 0;
|
||||||
|
wire hdmi_blackout;
|
||||||
|
|
||||||
reg [31:0] aflt_rate = 7056000;
|
reg [31:0] aflt_rate = 7056000;
|
||||||
reg [39:0] acx = 4258969;
|
reg [39:0] acx = 4258969;
|
||||||
@@ -370,6 +395,7 @@ always@(posedge clk_sys) begin
|
|||||||
`ifndef MISTER_DEBUG_NOHDMI
|
`ifndef MISTER_DEBUG_NOHDMI
|
||||||
if(io_din[7:0] == 'h40) io_dout_sys <= fb_crc;
|
if(io_din[7:0] == 'h40) io_dout_sys <= fb_crc;
|
||||||
`endif
|
`endif
|
||||||
|
if(io_din[7:0] == 'h42) io_dout_sys <= {1'b1, frame_cnt};
|
||||||
end
|
end
|
||||||
else begin
|
else begin
|
||||||
cnt <= cnt + 1'd1;
|
cnt <= cnt + 1'd1;
|
||||||
@@ -476,18 +502,22 @@ always@(posedge clk_sys) begin
|
|||||||
endcase
|
endcase
|
||||||
end
|
end
|
||||||
`endif
|
`endif
|
||||||
`ifndef MISTER_DISABLE_YC
|
|
||||||
if(cmd == 'h41) begin
|
if(cmd == 'h41) begin
|
||||||
case(cnt[3:0])
|
case(cnt[3:0])
|
||||||
|
`ifndef MISTER_DISABLE_YC
|
||||||
0: {pal_en,cvbs,yc_en} <= io_din[2:0];
|
0: {pal_en,cvbs,yc_en} <= io_din[2:0];
|
||||||
|
4: ColorBurst_Range[15:0] <= io_din;
|
||||||
|
5: ColorBurst_Range[16] <= io_din[0];
|
||||||
|
`endif
|
||||||
|
// Subcarrier commands (independent of YC module)
|
||||||
1: PhaseInc[15:0] <= io_din;
|
1: PhaseInc[15:0] <= io_din;
|
||||||
2: PhaseInc[31:16] <= io_din;
|
2: PhaseInc[31:16] <= io_din;
|
||||||
3: PhaseInc[39:32] <= io_din[7:0];
|
3: PhaseInc[39:32] <= io_din[7:0];
|
||||||
4: ColorBurst_Range[15:0] <= io_din;
|
`ifndef MISTER_DUAL_SDRAM
|
||||||
5: ColorBurst_Range[16] <= io_din[0];
|
6: subcarrier <= io_din[0];
|
||||||
|
`endif
|
||||||
endcase
|
endcase
|
||||||
end
|
end
|
||||||
`endif
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
@@ -506,6 +536,15 @@ always@(posedge clk_sys) begin
|
|||||||
if(~vs_d2 & vs_d1) vs_wait <= 0;
|
if(~vs_d2 & vs_d1) vs_wait <= 0;
|
||||||
end
|
end
|
||||||
|
|
||||||
|
reg [7:0] frame_cnt;
|
||||||
|
always @(posedge clk_sys) begin
|
||||||
|
reg vs_r, vs_old;
|
||||||
|
|
||||||
|
vs_r <= vs_fix;
|
||||||
|
if(vs_r == vs_fix) vs_old <= vs_r;
|
||||||
|
if(~vs_old & vs_r) frame_cnt <= frame_cnt + 1'd1;
|
||||||
|
end
|
||||||
|
|
||||||
cyclonev_hps_interface_peripheral_uart uart
|
cyclonev_hps_interface_peripheral_uart uart
|
||||||
(
|
(
|
||||||
.ri(0),
|
.ri(0),
|
||||||
@@ -519,17 +558,6 @@ cyclonev_hps_interface_peripheral_uart uart
|
|||||||
.txd(uart_txd)
|
.txd(uart_txd)
|
||||||
);
|
);
|
||||||
|
|
||||||
wire aspi_sck,aspi_mosi,aspi_ss,aspi_miso;
|
|
||||||
cyclonev_hps_interface_peripheral_spi_master spi
|
|
||||||
(
|
|
||||||
.sclk_out(aspi_sck),
|
|
||||||
.txd(aspi_mosi), // mosi
|
|
||||||
.rxd(aspi_miso), // miso
|
|
||||||
|
|
||||||
.ss_0_n(aspi_ss),
|
|
||||||
.ss_in_n(1)
|
|
||||||
);
|
|
||||||
|
|
||||||
wire [63:0] f2h_irq = {video_sync,HDMI_TX_VS};
|
wire [63:0] f2h_irq = {video_sync,HDMI_TX_VS};
|
||||||
cyclonev_hps_interface_interrupts interrupts
|
cyclonev_hps_interface_interrupts interrupts
|
||||||
(
|
(
|
||||||
@@ -635,11 +663,13 @@ ddr_svc ddr_svc
|
|||||||
.ram_write(ram2_write),
|
.ram_write(ram2_write),
|
||||||
.ram_bcnt(ram2_bcnt),
|
.ram_bcnt(ram2_bcnt),
|
||||||
|
|
||||||
|
`ifndef MISTER_DISABLE_ALSA
|
||||||
.ch0_addr(alsa_address),
|
.ch0_addr(alsa_address),
|
||||||
.ch0_burst(1),
|
.ch0_burst(1),
|
||||||
.ch0_data(alsa_readdata),
|
.ch0_data(alsa_readdata),
|
||||||
.ch0_req(alsa_req),
|
.ch0_req(alsa_req),
|
||||||
.ch0_ready(alsa_ready),
|
.ch0_ready(alsa_ready),
|
||||||
|
`endif
|
||||||
|
|
||||||
.ch1_addr(pal_addr),
|
.ch1_addr(pal_addr),
|
||||||
.ch1_burst(128),
|
.ch1_burst(128),
|
||||||
@@ -664,40 +694,42 @@ wire vbuf_write;
|
|||||||
wire [23:0] hdmi_data;
|
wire [23:0] hdmi_data;
|
||||||
wire hdmi_vs, hdmi_hs, hdmi_de, hdmi_vbl, hdmi_brd;
|
wire hdmi_vs, hdmi_hs, hdmi_de, hdmi_vbl, hdmi_brd;
|
||||||
wire freeze;
|
wire freeze;
|
||||||
|
wire bob_deint;
|
||||||
|
|
||||||
`ifndef MISTER_DEBUG_NOHDMI
|
`ifndef MISTER_DEBUG_NOHDMI
|
||||||
wire clk_hdmi = hdmi_clk_out;
|
wire clk_hdmi = hdmi_clk_out;
|
||||||
|
|
||||||
ascal
|
ascal
|
||||||
#(
|
#(
|
||||||
.RAMBASE(32'h20000000),
|
.RAMBASE(32'h20000000),
|
||||||
`ifdef MISTER_SMALL_VBUF
|
`ifdef MISTER_SMALL_VBUF
|
||||||
.RAMSIZE(32'h00200000),
|
.RAMSIZE(32'h00200000),
|
||||||
`else
|
`else
|
||||||
.RAMSIZE(32'h00800000),
|
.RAMSIZE(32'h00800000),
|
||||||
`endif
|
`endif
|
||||||
`ifndef MISTER_FB
|
`ifndef MISTER_FB
|
||||||
.PALETTE2("false"),
|
.PALETTE2("false"),
|
||||||
`else
|
`else
|
||||||
`ifndef MISTER_FB_PALETTE
|
`ifndef MISTER_FB_PALETTE
|
||||||
.PALETTE2("false"),
|
.PALETTE2("false"),
|
||||||
`endif
|
`endif
|
||||||
`endif
|
`endif
|
||||||
`ifdef MISTER_DISABLE_ADAPTIVE
|
`ifdef MISTER_DISABLE_ADAPTIVE
|
||||||
.ADAPTIVE("false"),
|
.ADAPTIVE("false"),
|
||||||
`endif
|
`endif
|
||||||
`ifdef MISTER_DOWNSCALE_NN
|
`ifdef MISTER_DOWNSCALE_NN
|
||||||
.DOWNSCALE_NN("true"),
|
.DOWNSCALE_NN("true"),
|
||||||
`endif
|
`endif
|
||||||
.FRAC(8),
|
.FRAC(8),
|
||||||
.N_DW(128),
|
.N_DW(128),
|
||||||
.N_AW(28)
|
.N_AW(28)
|
||||||
)
|
)
|
||||||
ascal
|
ascal
|
||||||
(
|
(
|
||||||
.reset_na (~reset_req),
|
.reset_na (~reset_req),
|
||||||
.run (1),
|
.run (1),
|
||||||
.freeze (freeze),
|
.freeze (freeze),
|
||||||
|
.bob_deint (bob_deint),
|
||||||
|
|
||||||
.i_clk (clk_ihdmi),
|
.i_clk (clk_ihdmi),
|
||||||
.i_ce (ce_hpix),
|
.i_ce (ce_hpix),
|
||||||
@@ -739,6 +771,7 @@ ascal
|
|||||||
.vmax (vmax),
|
.vmax (vmax),
|
||||||
.vrr (vrr_mode),
|
.vrr (vrr_mode),
|
||||||
.vrrmax (HEIGHT + VBP + VS[11:0] + 12'd1),
|
.vrrmax (HEIGHT + VBP + VS[11:0] + 12'd1),
|
||||||
|
.swblack (hdmi_blackout),
|
||||||
|
|
||||||
.mode ({~lowlat,LFB_EN ? LFB_FLT : |scaler_flt,2'b00}),
|
.mode ({~lowlat,LFB_EN ? LFB_FLT : |scaler_flt,2'b00}),
|
||||||
.poly_clk (clk_sys),
|
.poly_clk (clk_sys),
|
||||||
@@ -751,7 +784,7 @@ ascal
|
|||||||
.pal1_a (pal_a),
|
.pal1_a (pal_a),
|
||||||
.pal1_wr (pal_wr),
|
.pal1_wr (pal_wr),
|
||||||
|
|
||||||
`ifdef MISTER_FB
|
`ifdef MISTER_FB
|
||||||
`ifdef MISTER_FB_PALETTE
|
`ifdef MISTER_FB_PALETTE
|
||||||
.pal2_clk (fb_pal_clk),
|
.pal2_clk (fb_pal_clk),
|
||||||
.pal2_dw (fb_pal_d),
|
.pal2_dw (fb_pal_d),
|
||||||
@@ -760,7 +793,7 @@ ascal
|
|||||||
.pal2_wr (fb_pal_wr),
|
.pal2_wr (fb_pal_wr),
|
||||||
.pal_n (fb_en),
|
.pal_n (fb_en),
|
||||||
`endif
|
`endif
|
||||||
`endif
|
`endif
|
||||||
|
|
||||||
.o_fb_ena (FB_EN),
|
.o_fb_ena (FB_EN),
|
||||||
.o_fb_hsize (FB_WIDTH),
|
.o_fb_hsize (FB_WIDTH),
|
||||||
@@ -779,7 +812,7 @@ ascal
|
|||||||
.avl_write (vbuf_write),
|
.avl_write (vbuf_write),
|
||||||
.avl_read (vbuf_read),
|
.avl_read (vbuf_read),
|
||||||
.avl_byteenable (vbuf_byteenable)
|
.avl_byteenable (vbuf_byteenable)
|
||||||
);
|
);
|
||||||
`endif
|
`endif
|
||||||
|
|
||||||
reg LFB_EN = 0;
|
reg LFB_EN = 0;
|
||||||
@@ -820,8 +853,8 @@ always @(posedge clk_sys) begin
|
|||||||
end
|
end
|
||||||
|
|
||||||
`ifdef MISTER_FB
|
`ifdef MISTER_FB
|
||||||
reg fb_vbl;
|
reg fb_vbl;
|
||||||
always @(posedge clk_vid) fb_vbl <= hdmi_vbl;
|
always @(posedge clk_vid) fb_vbl <= hdmi_vbl;
|
||||||
`endif
|
`endif
|
||||||
|
|
||||||
reg ar_md_start;
|
reg ar_md_start;
|
||||||
@@ -947,9 +980,9 @@ always @(posedge clk_vid) begin
|
|||||||
end
|
end
|
||||||
|
|
||||||
`ifndef MISTER_DEBUG_NOHDMI
|
`ifndef MISTER_DEBUG_NOHDMI
|
||||||
wire [15:0] lltune;
|
wire [15:0] lltune;
|
||||||
pll_hdmi_adj pll_hdmi_adj
|
pll_hdmi_adj pll_hdmi_adj
|
||||||
(
|
(
|
||||||
.clk(FPGA_CLK1_50),
|
.clk(FPGA_CLK1_50),
|
||||||
.reset_na(~reset_req),
|
.reset_na(~reset_req),
|
||||||
|
|
||||||
@@ -964,7 +997,7 @@ pll_hdmi_adj pll_hdmi_adj
|
|||||||
.o_write(cfg_write),
|
.o_write(cfg_write),
|
||||||
.o_address(cfg_address),
|
.o_address(cfg_address),
|
||||||
.o_writedata(cfg_data)
|
.o_writedata(cfg_data)
|
||||||
);
|
);
|
||||||
`else
|
`else
|
||||||
assign led_locked = 0;
|
assign led_locked = 0;
|
||||||
`endif
|
`endif
|
||||||
@@ -990,15 +1023,15 @@ end
|
|||||||
|
|
||||||
///////////////////////// HDMI output /////////////////////////////////
|
///////////////////////// HDMI output /////////////////////////////////
|
||||||
`ifndef MISTER_DEBUG_NOHDMI
|
`ifndef MISTER_DEBUG_NOHDMI
|
||||||
wire hdmi_clk_out;
|
wire hdmi_clk_out;
|
||||||
pll_hdmi pll_hdmi
|
pll_hdmi pll_hdmi
|
||||||
(
|
(
|
||||||
.refclk(FPGA_CLK1_50),
|
.refclk(FPGA_CLK1_50),
|
||||||
.rst(reset_req),
|
.rst(reset_req),
|
||||||
.reconfig_to_pll(reconfig_to_pll),
|
.reconfig_to_pll(reconfig_to_pll),
|
||||||
.reconfig_from_pll(reconfig_from_pll),
|
.reconfig_from_pll(reconfig_from_pll),
|
||||||
.outclk_0(hdmi_clk_out)
|
.outclk_0(hdmi_clk_out)
|
||||||
);
|
);
|
||||||
`endif
|
`endif
|
||||||
|
|
||||||
//1920x1080@60 PCLK=148.5MHz CEA
|
//1920x1080@60 PCLK=148.5MHz CEA
|
||||||
@@ -1023,22 +1056,20 @@ reg [5:0] adj_address;
|
|||||||
reg [31:0] adj_data;
|
reg [31:0] adj_data;
|
||||||
|
|
||||||
`ifndef MISTER_DEBUG_NOHDMI
|
`ifndef MISTER_DEBUG_NOHDMI
|
||||||
pll_cfg pll_cfg
|
pll_cfg_hdmi pll_cfg_hdmi
|
||||||
(
|
(
|
||||||
.mgmt_clk(FPGA_CLK1_50),
|
.mgmt_clk(FPGA_CLK1_50),
|
||||||
.mgmt_reset(reset_req),
|
.mgmt_reset(reset_req),
|
||||||
.mgmt_waitrequest(cfg_waitrequest),
|
.mgmt_waitrequest(cfg_waitrequest),
|
||||||
.mgmt_read(0),
|
|
||||||
.mgmt_readdata(),
|
|
||||||
.mgmt_write(cfg_write),
|
.mgmt_write(cfg_write),
|
||||||
.mgmt_address(cfg_address),
|
.mgmt_address(cfg_address),
|
||||||
.mgmt_writedata(cfg_data),
|
.mgmt_writedata(cfg_data),
|
||||||
.reconfig_to_pll(reconfig_to_pll),
|
.reconfig_to_pll(reconfig_to_pll),
|
||||||
.reconfig_from_pll(reconfig_from_pll)
|
.reconfig_from_pll(reconfig_from_pll)
|
||||||
);
|
);
|
||||||
|
|
||||||
reg cfg_got = 0;
|
reg cfg_got = 0;
|
||||||
always @(posedge clk_sys) begin
|
always @(posedge clk_sys) begin
|
||||||
reg vsd, vsd2;
|
reg vsd, vsd2;
|
||||||
if(~cfg_ready || ~cfg_set) cfg_got <= cfg_set;
|
if(~cfg_ready || ~cfg_set) cfg_got <= cfg_set;
|
||||||
else begin
|
else begin
|
||||||
@@ -1046,10 +1077,10 @@ always @(posedge clk_sys) begin
|
|||||||
vsd2 <= vsd;
|
vsd2 <= vsd;
|
||||||
if(~vsd2 & vsd) cfg_got <= cfg_set;
|
if(~vsd2 & vsd) cfg_got <= cfg_set;
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
reg cfg_ready = 0;
|
reg cfg_ready = 0;
|
||||||
always @(posedge FPGA_CLK1_50) begin
|
always @(posedge FPGA_CLK1_50) begin
|
||||||
reg gotd = 0, gotd2 = 0;
|
reg gotd = 0, gotd2 = 0;
|
||||||
reg custd = 0, custd2 = 0;
|
reg custd = 0, custd2 = 0;
|
||||||
reg old_wait = 0;
|
reg old_wait = 0;
|
||||||
@@ -1075,12 +1106,9 @@ always @(posedge FPGA_CLK1_50) begin
|
|||||||
|
|
||||||
old_wait <= adj_waitrequest;
|
old_wait <= adj_waitrequest;
|
||||||
if(old_wait & ~adj_waitrequest & gotd) cfg_ready <= 1;
|
if(old_wait & ~adj_waitrequest & gotd) cfg_ready <= 1;
|
||||||
end
|
end
|
||||||
|
|
||||||
`else
|
`else
|
||||||
|
wire cfg_ready = 1;
|
||||||
wire cfg_ready = 1;
|
|
||||||
|
|
||||||
`endif
|
`endif
|
||||||
|
|
||||||
assign HDMI_I2C_SCL = hdmi_scl_en ? 1'b0 : 1'bZ;
|
assign HDMI_I2C_SCL = hdmi_scl_en ? 1'b0 : 1'bZ;
|
||||||
@@ -1096,26 +1124,25 @@ cyclonev_hps_interface_peripheral_i2c hdmi_i2c
|
|||||||
);
|
);
|
||||||
|
|
||||||
`ifndef MISTER_DEBUG_NOHDMI
|
`ifndef MISTER_DEBUG_NOHDMI
|
||||||
|
`ifdef MISTER_FB
|
||||||
`ifdef MISTER_FB
|
reg dis_output;
|
||||||
reg dis_output;
|
always @(posedge clk_hdmi) begin
|
||||||
always @(posedge clk_hdmi) begin
|
|
||||||
reg dis;
|
reg dis;
|
||||||
dis <= fb_force_blank & ~LFB_EN;
|
dis <= fb_force_blank & ~LFB_EN;
|
||||||
dis_output <= dis;
|
dis_output <= dis;
|
||||||
end
|
end
|
||||||
`else
|
`else
|
||||||
wire dis_output = 0;
|
wire dis_output = 0;
|
||||||
`endif
|
`endif
|
||||||
|
|
||||||
wire [23:0] hdmi_data_mask;
|
wire [23:0] hdmi_data_mask;
|
||||||
wire hdmi_de_mask, hdmi_vs_mask, hdmi_hs_mask;
|
wire hdmi_de_mask, hdmi_vs_mask, hdmi_hs_mask;
|
||||||
|
|
||||||
reg [15:0] shadowmask_data;
|
reg [15:0] shadowmask_data;
|
||||||
reg shadowmask_wr = 0;
|
reg shadowmask_wr = 0;
|
||||||
|
|
||||||
shadowmask HDMI_shadowmask
|
shadowmask HDMI_shadowmask
|
||||||
(
|
(
|
||||||
.clk(clk_hdmi),
|
.clk(clk_hdmi),
|
||||||
.clk_sys(clk_sys),
|
.clk_sys(clk_sys),
|
||||||
|
|
||||||
@@ -1133,13 +1160,13 @@ shadowmask HDMI_shadowmask
|
|||||||
.hs_out(hdmi_hs_mask),
|
.hs_out(hdmi_hs_mask),
|
||||||
.vs_out(hdmi_vs_mask),
|
.vs_out(hdmi_vs_mask),
|
||||||
.de_out(hdmi_de_mask)
|
.de_out(hdmi_de_mask)
|
||||||
);
|
);
|
||||||
|
|
||||||
wire [23:0] hdmi_data_osd;
|
wire [23:0] hdmi_data_osd;
|
||||||
wire hdmi_de_osd, hdmi_vs_osd, hdmi_hs_osd;
|
wire hdmi_de_osd, hdmi_vs_osd, hdmi_hs_osd;
|
||||||
|
|
||||||
osd hdmi_osd
|
osd hdmi_osd
|
||||||
(
|
(
|
||||||
.clk_sys(clk_sys),
|
.clk_sys(clk_sys),
|
||||||
|
|
||||||
.io_osd(io_osd_hdmi),
|
.io_osd(io_osd_hdmi),
|
||||||
@@ -1156,11 +1183,11 @@ osd hdmi_osd
|
|||||||
.hs_out(hdmi_hs_osd),
|
.hs_out(hdmi_hs_osd),
|
||||||
.vs_out(hdmi_vs_osd),
|
.vs_out(hdmi_vs_osd),
|
||||||
.de_out(hdmi_de_osd)
|
.de_out(hdmi_de_osd)
|
||||||
);
|
);
|
||||||
`endif
|
|
||||||
|
|
||||||
wire hdmi_cs_osd;
|
wire hdmi_cs_osd;
|
||||||
csync csync_hdmi(clk_hdmi, hdmi_hs_osd, hdmi_vs_osd, hdmi_cs_osd);
|
csync csync_hdmi(clk_hdmi, hdmi_hs_osd, hdmi_vs_osd, hdmi_cs_osd);
|
||||||
|
`endif
|
||||||
|
|
||||||
reg [23:0] dv_data;
|
reg [23:0] dv_data;
|
||||||
reg dv_hs, dv_vs, dv_de;
|
reg dv_hs, dv_vs, dv_de;
|
||||||
@@ -1194,11 +1221,12 @@ always @(posedge clk_vid) begin
|
|||||||
end
|
end
|
||||||
|
|
||||||
dv_de1 <= !{hss,dv_hs_osd} && vde;
|
dv_de1 <= !{hss,dv_hs_osd} && vde;
|
||||||
dv_hs1 <= csync_en ? dv_cs_osd : dv_hs_osd;
|
|
||||||
dv_vs1 <= dv_vs_osd;
|
|
||||||
end
|
end
|
||||||
|
|
||||||
dv_d1 <= dv_data_osd;
|
dv_d1 <= dv_data_osd;
|
||||||
|
dv_hs1 <= csync_en ? dv_cs_osd : dv_hs_osd;
|
||||||
|
dv_vs1 <= dv_vs_osd;
|
||||||
|
|
||||||
dv_d2 <= dv_d1;
|
dv_d2 <= dv_d1;
|
||||||
dv_de2 <= dv_de1;
|
dv_de2 <= dv_de1;
|
||||||
dv_hs2 <= dv_hs1;
|
dv_hs2 <= dv_hs1;
|
||||||
@@ -1211,21 +1239,21 @@ always @(posedge clk_vid) begin
|
|||||||
end
|
end
|
||||||
|
|
||||||
`ifndef MISTER_DISABLE_YC
|
`ifndef MISTER_DISABLE_YC
|
||||||
assign {dv_data_osd, dv_hs_osd, dv_vs_osd, dv_cs_osd } = ~yc_en ? {vga_data_osd, vga_hs_osd, vga_vs_osd, vga_cs_osd } : {yc_o, yc_hs, yc_vs, yc_cs };
|
assign {dv_data_osd, dv_hs_osd, dv_vs_osd, dv_cs_osd } = ~yc_en ? {vga_data_osd, vga_hs_osd, vga_vs_osd, vga_cs_osd } : {yc_o, yc_hs, yc_vs, yc_cs };
|
||||||
`else
|
`else
|
||||||
assign {dv_data_osd, dv_hs_osd, dv_vs_osd, dv_cs_osd } = {vga_data_osd, vga_hs_osd, vga_vs_osd, vga_cs_osd };
|
assign {dv_data_osd, dv_hs_osd, dv_vs_osd, dv_cs_osd } = {vga_data_osd, vga_hs_osd, vga_vs_osd, vga_cs_osd };
|
||||||
`endif
|
`endif
|
||||||
|
|
||||||
wire hdmi_tx_clk;
|
wire hdmi_tx_clk;
|
||||||
`ifndef MISTER_DEBUG_NOHDMI
|
`ifndef MISTER_DEBUG_NOHDMI
|
||||||
cyclonev_clkselect hdmi_clk_sw
|
cyclonev_clkselect hdmi_clk_sw
|
||||||
(
|
(
|
||||||
.clkselect({1'b1, ~vga_fb & direct_video}),
|
.clkselect({1'b1, ~vga_fb & direct_video}),
|
||||||
.inclk({clk_vid, hdmi_clk_out, 2'b00}),
|
.inclk({clk_vid, hdmi_clk_out, 2'b00}),
|
||||||
.outclk(hdmi_tx_clk)
|
.outclk(hdmi_tx_clk)
|
||||||
);
|
);
|
||||||
`else
|
`else
|
||||||
assign hdmi_tx_clk = clk_vid;
|
assign hdmi_tx_clk = clk_vid;
|
||||||
`endif
|
`endif
|
||||||
|
|
||||||
altddio_out
|
altddio_out
|
||||||
@@ -1270,10 +1298,17 @@ always @(posedge hdmi_tx_clk) begin
|
|||||||
hdmi_dv_vs <= dv_vs;
|
hdmi_dv_vs <= dv_vs;
|
||||||
hdmi_dv_de <= dv_de;
|
hdmi_dv_de <= dv_de;
|
||||||
|
|
||||||
|
`ifndef MISTER_DEBUG_NOHDMI
|
||||||
hs <= (~vga_fb & direct_video) ? hdmi_dv_hs : (direct_video & csync_en) ? hdmi_cs_osd : hdmi_hs_osd;
|
hs <= (~vga_fb & direct_video) ? hdmi_dv_hs : (direct_video & csync_en) ? hdmi_cs_osd : hdmi_hs_osd;
|
||||||
vs <= (~vga_fb & direct_video) ? hdmi_dv_vs : hdmi_vs_osd;
|
vs <= (~vga_fb & direct_video) ? hdmi_dv_vs : hdmi_vs_osd;
|
||||||
de <= (~vga_fb & direct_video) ? hdmi_dv_de : hdmi_de_osd;
|
de <= (~vga_fb & direct_video) ? hdmi_dv_de : hdmi_de_osd;
|
||||||
d <= (~vga_fb & direct_video) ? hdmi_dv_data : hdmi_data_osd;
|
d <= (~vga_fb & direct_video) ? hdmi_dv_data : hdmi_data_osd;
|
||||||
|
`else
|
||||||
|
hs <= hdmi_dv_hs;
|
||||||
|
vs <= hdmi_dv_vs;
|
||||||
|
de <= hdmi_dv_de;
|
||||||
|
d <= hdmi_dv_data;
|
||||||
|
`endif
|
||||||
|
|
||||||
hdmi_out_hs <= hs;
|
hdmi_out_hs <= hs;
|
||||||
hdmi_out_vs <= vs;
|
hdmi_out_vs <= vs;
|
||||||
@@ -1288,6 +1323,46 @@ assign HDMI_TX_D = hdmi_out_d;
|
|||||||
|
|
||||||
///////////////////////// VGA output //////////////////////////////////
|
///////////////////////// VGA output //////////////////////////////////
|
||||||
|
|
||||||
|
`ifndef MISTER_DUAL_SDRAM
|
||||||
|
wire vga_tx_clk;
|
||||||
|
`ifndef MISTER_DEBUG_NOHDMI
|
||||||
|
cyclonev_clkselect vga_clk_sw
|
||||||
|
(
|
||||||
|
.clkselect({1'b1, ~vga_fb & ~vga_scaler}),
|
||||||
|
.inclk({clk_vid, hdmi_clk_out, 2'b00}),
|
||||||
|
.outclk(vga_tx_clk)
|
||||||
|
);
|
||||||
|
`else
|
||||||
|
assign vga_tx_clk = clk_vid;
|
||||||
|
`endif
|
||||||
|
|
||||||
|
wire VGA_TX_CLK;
|
||||||
|
altddio_out
|
||||||
|
#(
|
||||||
|
.extend_oe_disable("OFF"),
|
||||||
|
.intended_device_family("Cyclone V"),
|
||||||
|
.invert_output("OFF"),
|
||||||
|
.lpm_hint("UNUSED"),
|
||||||
|
.lpm_type("altddio_out"),
|
||||||
|
.oe_reg("UNREGISTERED"),
|
||||||
|
.power_up_high("OFF"),
|
||||||
|
.width(1)
|
||||||
|
)
|
||||||
|
vgaclk_ddr
|
||||||
|
(
|
||||||
|
.datain_h(1'b0),
|
||||||
|
.datain_l(1'b1),
|
||||||
|
.outclock(vga_tx_clk),
|
||||||
|
.dataout(VGA_TX_CLK),
|
||||||
|
.aclr(~mcp_en & ~av_dis),
|
||||||
|
.aset(1'b0),
|
||||||
|
.oe(~av_dis & (mcp_en | ~led_u)),
|
||||||
|
.outclocken(1'b1),
|
||||||
|
.sclr(1'b0),
|
||||||
|
.sset(1'b0)
|
||||||
|
);
|
||||||
|
`endif
|
||||||
|
|
||||||
wire [23:0] vga_data_sl;
|
wire [23:0] vga_data_sl;
|
||||||
wire vga_de_sl, vga_ce_sl, vga_vs_sl, vga_hs_sl;
|
wire vga_de_sl, vga_ce_sl, vga_vs_sl, vga_hs_sl;
|
||||||
scanlines #(0) VGA_scanlines
|
scanlines #(0) VGA_scanlines
|
||||||
@@ -1309,7 +1384,7 @@ scanlines #(0) VGA_scanlines
|
|||||||
);
|
);
|
||||||
|
|
||||||
wire [23:0] vga_data_osd;
|
wire [23:0] vga_data_osd;
|
||||||
wire vga_vs_osd, vga_hs_osd;
|
wire vga_vs_osd, vga_hs_osd, vga_de_osd;
|
||||||
osd vga_osd
|
osd vga_osd
|
||||||
(
|
(
|
||||||
.clk_sys(clk_sys),
|
.clk_sys(clk_sys),
|
||||||
@@ -1327,54 +1402,20 @@ osd vga_osd
|
|||||||
|
|
||||||
.dout(vga_data_osd),
|
.dout(vga_data_osd),
|
||||||
.hs_out(vga_hs_osd),
|
.hs_out(vga_hs_osd),
|
||||||
.vs_out(vga_vs_osd)
|
.vs_out(vga_vs_osd),
|
||||||
|
.de_out(vga_de_osd)
|
||||||
);
|
);
|
||||||
|
|
||||||
wire vga_cs_osd;
|
wire vga_cs_osd;
|
||||||
csync csync_vga(clk_vid, vga_hs_osd, vga_vs_osd, vga_cs_osd);
|
csync csync_vga(clk_vid, vga_hs_osd, vga_vs_osd, vga_cs_osd);
|
||||||
|
|
||||||
`ifndef MISTER_DUAL_SDRAM
|
|
||||||
wire VGA_DISABLE;
|
|
||||||
wire [23:0] vgas_o;
|
|
||||||
wire vgas_hs, vgas_vs, vgas_cs;
|
|
||||||
vga_out vga_scaler_out
|
|
||||||
(
|
|
||||||
.clk(clk_hdmi),
|
|
||||||
.ypbpr_en(ypbpr_en),
|
|
||||||
.hsync(hdmi_hs_osd),
|
|
||||||
.vsync(hdmi_vs_osd),
|
|
||||||
.csync(hdmi_cs_osd),
|
|
||||||
.dout(vgas_o),
|
|
||||||
.din({24{hdmi_de_osd}} & hdmi_data_osd),
|
|
||||||
.hsync_o(vgas_hs),
|
|
||||||
.vsync_o(vgas_vs),
|
|
||||||
.csync_o(vgas_cs)
|
|
||||||
);
|
|
||||||
|
|
||||||
wire [23:0] vga_o, vga_o_t;
|
|
||||||
wire vga_hs, vga_vs, vga_cs, vga_hs_t, vga_vs_t, vga_cs_t;
|
|
||||||
vga_out vga_out
|
|
||||||
(
|
|
||||||
.clk(clk_vid),
|
|
||||||
.ypbpr_en(ypbpr_en),
|
|
||||||
.hsync(vga_hs_osd),
|
|
||||||
.vsync(vga_vs_osd),
|
|
||||||
.csync(vga_cs_osd),
|
|
||||||
.dout(vga_o_t),
|
|
||||||
.din(vga_data_osd),
|
|
||||||
.hsync_o(vga_hs_t),
|
|
||||||
.vsync_o(vga_vs_t),
|
|
||||||
.csync_o(vga_cs_t)
|
|
||||||
);
|
|
||||||
|
|
||||||
`ifndef MISTER_DISABLE_YC
|
`ifndef MISTER_DISABLE_YC
|
||||||
reg pal_en;
|
reg pal_en;
|
||||||
reg yc_en;
|
reg yc_en;
|
||||||
reg cvbs;
|
reg cvbs;
|
||||||
reg [16:0] ColorBurst_Range;
|
reg [16:0] ColorBurst_Range;
|
||||||
reg [39:0] PhaseInc;
|
|
||||||
wire [23:0] yc_o;
|
wire [23:0] yc_o;
|
||||||
wire yc_hs, yc_vs, yc_cs;
|
wire yc_hs, yc_vs, yc_cs, yc_de;
|
||||||
|
|
||||||
yc_out yc_out
|
yc_out yc_out
|
||||||
(
|
(
|
||||||
@@ -1386,25 +1427,91 @@ csync csync_vga(clk_vid, vga_hs_osd, vga_vs_osd, vga_cs_osd);
|
|||||||
.hsync(vga_hs_osd),
|
.hsync(vga_hs_osd),
|
||||||
.vsync(vga_vs_osd),
|
.vsync(vga_vs_osd),
|
||||||
.csync(vga_cs_osd),
|
.csync(vga_cs_osd),
|
||||||
|
.de(vga_de_osd),
|
||||||
.dout(yc_o),
|
.dout(yc_o),
|
||||||
.din(vga_data_osd),
|
.din(vga_data_osd),
|
||||||
.hsync_o(yc_hs),
|
.hsync_o(yc_hs),
|
||||||
.vsync_o(yc_vs),
|
.vsync_o(yc_vs),
|
||||||
.csync_o(yc_cs)
|
.csync_o(yc_cs),
|
||||||
|
.de_o(yc_de)
|
||||||
);
|
);
|
||||||
|
|
||||||
assign {vga_o, vga_hs, vga_vs, vga_cs } = ~yc_en ? {vga_o_t, vga_hs_t, vga_vs_t, vga_cs_t } : {yc_o, yc_hs, yc_vs, yc_cs };
|
|
||||||
`else
|
|
||||||
assign {vga_o, vga_hs, vga_vs, vga_cs } = {vga_o_t, vga_hs_t, vga_vs_t, vga_cs_t } ;
|
|
||||||
`endif
|
`endif
|
||||||
|
|
||||||
wire cs1 = (vga_fb | vga_scaler) ? vgas_cs : vga_cs;
|
reg [39:0] PhaseInc;
|
||||||
|
|
||||||
assign VGA_VS = (VGA_EN | SW[3]) ? 1'bZ : (((vga_fb | vga_scaler) ? (~vgas_vs ^ VS[12]) : VGA_DISABLE ? 1'd1 : ~vga_vs) | csync_en);
|
`ifndef MISTER_DUAL_SDRAM
|
||||||
assign VGA_HS = (VGA_EN | SW[3]) ? 1'bZ : ((vga_fb | vga_scaler) ? ((csync_en ? ~vgas_cs : ~vgas_hs) ^ HS[12]) : VGA_DISABLE ? 1'd1 : (csync_en ? ~vga_cs : ~vga_hs));
|
// Subcarrier generation for external encoders (independent of YC module)
|
||||||
assign VGA_R = (VGA_EN | SW[3]) ? 6'bZZZZZZ : (vga_fb | vga_scaler) ? vgas_o[23:18] : VGA_DISABLE ? 6'd0 : vga_o[23:18];
|
reg subcarrier;
|
||||||
assign VGA_G = (VGA_EN | SW[3]) ? 6'bZZZZZZ : (vga_fb | vga_scaler) ? vgas_o[15:10] : VGA_DISABLE ? 6'd0 : vga_o[15:10];
|
|
||||||
assign VGA_B = (VGA_EN | SW[3]) ? 6'bZZZZZZ : (vga_fb | vga_scaler) ? vgas_o[7:2] : VGA_DISABLE ? 6'd0 : vga_o[7:2] ;
|
reg [39:0] sub_accum;
|
||||||
|
always @(posedge clk_vid) sub_accum <= sub_accum + PhaseInc;
|
||||||
|
|
||||||
|
// 1-bit output for positive/negative of wave, no LUT required. Output 1 if disabled for further logic
|
||||||
|
reg subcarrier_out;
|
||||||
|
always @(posedge clk_vid) subcarrier_out <= ~(subcarrier & csync_en & ~ypbpr_en & ~forced_scandoubler & ~vgas_en) | sub_accum[39];
|
||||||
|
|
||||||
|
|
||||||
|
wire VGA_DISABLE;
|
||||||
|
wire [23:0] vgas_o;
|
||||||
|
wire vgas_hs, vgas_vs, vgas_cs, vgas_de;
|
||||||
|
`ifndef MISTER_DEBUG_NOHDMI
|
||||||
|
vga_out vga_scaler_out
|
||||||
|
(
|
||||||
|
.clk(clk_hdmi),
|
||||||
|
.ypbpr_en(ypbpr_en),
|
||||||
|
.hsync(hdmi_hs_osd),
|
||||||
|
.vsync(hdmi_vs_osd),
|
||||||
|
.csync(hdmi_cs_osd),
|
||||||
|
.de(hdmi_de_osd),
|
||||||
|
.dout(vgas_o),
|
||||||
|
.din({24{hdmi_de_osd}} & hdmi_data_osd),
|
||||||
|
.hsync_o(vgas_hs),
|
||||||
|
.vsync_o(vgas_vs),
|
||||||
|
.csync_o(vgas_cs),
|
||||||
|
.de_o(vgas_de)
|
||||||
|
);
|
||||||
|
`else
|
||||||
|
assign {vgas_o, vgas_hs, vgas_vs, vgas_cs, vgas_de} = 0;
|
||||||
|
`endif
|
||||||
|
|
||||||
|
wire [23:0] vga_o, vga_o_t;
|
||||||
|
wire vga_hs, vga_vs, vga_cs, vga_de, vga_hs_t, vga_vs_t, vga_cs_t, vga_de_t;
|
||||||
|
vga_out vga_out
|
||||||
|
(
|
||||||
|
.clk(clk_vid),
|
||||||
|
.ypbpr_en(ypbpr_en),
|
||||||
|
.hsync(vga_hs_osd),
|
||||||
|
.vsync(vga_vs_osd),
|
||||||
|
.csync(vga_cs_osd),
|
||||||
|
.de(vga_de_osd),
|
||||||
|
.dout(vga_o_t),
|
||||||
|
.din(vga_data_osd),
|
||||||
|
.hsync_o(vga_hs_t),
|
||||||
|
.vsync_o(vga_vs_t),
|
||||||
|
.csync_o(vga_cs_t),
|
||||||
|
.de_o(vga_de_t)
|
||||||
|
);
|
||||||
|
|
||||||
|
`ifndef MISTER_DISABLE_YC
|
||||||
|
assign {vga_o, vga_hs, vga_vs, vga_cs, vga_de } = ~yc_en ? {vga_o_t, vga_hs_t, vga_vs_t, vga_cs_t, vga_de_t } : {yc_o, yc_hs, yc_vs, yc_cs, yc_de };
|
||||||
|
`else
|
||||||
|
assign {vga_o, vga_hs, vga_vs, vga_cs, vga_de } = {vga_o_t, vga_hs_t, vga_vs_t, vga_cs_t, vga_de_t } ;
|
||||||
|
`endif
|
||||||
|
|
||||||
|
wire vgas_en = vga_fb | vga_scaler;
|
||||||
|
|
||||||
|
wire cs1 = vgas_en ? vgas_cs : vga_cs;
|
||||||
|
wire de1 = vgas_en ? vgas_de : vga_de;
|
||||||
|
|
||||||
|
assign VGA_VS = av_dis ? 1'bZ :(((vgas_en ? (~vgas_vs ^ VS[12]) : VGA_DISABLE ? 1'd1 : ~vga_vs) | csync_en) & subcarrier_out);
|
||||||
|
assign VGA_HS = av_dis ? 1'bZ : (vgas_en ? ((csync_en ? ~vgas_cs : ~vgas_hs) ^ HS[12]) : VGA_DISABLE ? 1'd1 : (csync_en ? ~vga_cs : ~vga_hs));
|
||||||
|
assign VGA_R = av_dis ? 6'bZZZZZZ : vgas_en ? vgas_o[23:18] : VGA_DISABLE ? 6'd0 : vga_o[23:18];
|
||||||
|
assign VGA_G = av_dis ? 6'bZZZZZZ : vgas_en ? vgas_o[15:10] : VGA_DISABLE ? 6'd0 : vga_o[15:10];
|
||||||
|
assign VGA_B = av_dis ? 6'bZZZZZZ : vgas_en ? vgas_o[7:2] : VGA_DISABLE ? 6'd0 : vga_o[7:2] ;
|
||||||
|
|
||||||
|
wire [1:0] vga_r = vgas_en ? vgas_o[17:16] : VGA_DISABLE ? 2'd0 : vga_o[17:16];
|
||||||
|
wire [1:0] vga_g = vgas_en ? vgas_o[9:8] : VGA_DISABLE ? 2'd0 : vga_o[9:8];
|
||||||
|
wire [1:0] vga_b = vgas_en ? vgas_o[1:0] : VGA_DISABLE ? 2'd0 : vga_o[1:0];
|
||||||
`endif
|
`endif
|
||||||
|
|
||||||
reg video_sync = 0;
|
reg video_sync = 0;
|
||||||
@@ -1434,14 +1541,14 @@ end
|
|||||||
|
|
||||||
///////////////////////// Audio output ////////////////////////////////
|
///////////////////////// Audio output ////////////////////////////////
|
||||||
|
|
||||||
assign SDCD_SPDIF =(SW[3] & ~spdif) ? 1'b0 : 1'bZ;
|
assign SDCD_SPDIF = (mcp_en & ~spdif) ? 1'b0 : 1'bZ;
|
||||||
|
|
||||||
`ifndef MISTER_DUAL_SDRAM
|
`ifndef MISTER_DUAL_SDRAM
|
||||||
wire analog_l, analog_r;
|
wire analog_l, analog_r;
|
||||||
|
|
||||||
assign AUDIO_SPDIF = SW[3] ? 1'bZ : SW[0] ? HDMI_LRCLK : spdif;
|
assign AUDIO_SPDIF = av_dis ? 1'bZ : (SW[0] | mcp_en) ? HDMI_LRCLK : spdif;
|
||||||
assign AUDIO_R = SW[3] ? 1'bZ : SW[0] ? HDMI_I2S : analog_r;
|
assign AUDIO_R = av_dis ? 1'bZ : (SW[0] | mcp_en) ? HDMI_I2S : analog_r;
|
||||||
assign AUDIO_L = SW[3] ? 1'bZ : SW[0] ? HDMI_SCLK : analog_l;
|
assign AUDIO_L = av_dis ? 1'bZ : (SW[0] | mcp_en) ? HDMI_SCLK : analog_l;
|
||||||
`endif
|
`endif
|
||||||
|
|
||||||
assign HDMI_MCLK = clk_audio;
|
assign HDMI_MCLK = clk_audio;
|
||||||
@@ -1477,8 +1584,10 @@ audio_out audio_out
|
|||||||
.core_l(audio_l),
|
.core_l(audio_l),
|
||||||
.core_r(audio_r),
|
.core_r(audio_r),
|
||||||
|
|
||||||
|
`ifndef MISTER_DISABLE_ALSA
|
||||||
.alsa_l(alsa_l),
|
.alsa_l(alsa_l),
|
||||||
.alsa_r(alsa_r),
|
.alsa_r(alsa_r),
|
||||||
|
`endif
|
||||||
|
|
||||||
.i2s_bclk(HDMI_SCLK),
|
.i2s_bclk(HDMI_SCLK),
|
||||||
.i2s_lrclk(HDMI_LRCLK),
|
.i2s_lrclk(HDMI_LRCLK),
|
||||||
@@ -1491,16 +1600,28 @@ audio_out audio_out
|
|||||||
);
|
);
|
||||||
|
|
||||||
|
|
||||||
wire [28:0] alsa_address;
|
`ifndef MISTER_DISABLE_ALSA
|
||||||
wire [63:0] alsa_readdata;
|
wire aspi_sck,aspi_mosi,aspi_ss,aspi_miso;
|
||||||
wire alsa_ready;
|
cyclonev_hps_interface_peripheral_spi_master spi
|
||||||
wire alsa_req;
|
(
|
||||||
wire alsa_late;
|
.sclk_out(aspi_sck),
|
||||||
|
.txd(aspi_mosi), // mosi
|
||||||
|
.rxd(aspi_miso), // miso
|
||||||
|
|
||||||
wire [15:0] alsa_l, alsa_r;
|
.ss_0_n(aspi_ss),
|
||||||
|
.ss_in_n(1)
|
||||||
|
);
|
||||||
|
|
||||||
alsa alsa
|
wire [28:0] alsa_address;
|
||||||
(
|
wire [63:0] alsa_readdata;
|
||||||
|
wire alsa_ready;
|
||||||
|
wire alsa_req;
|
||||||
|
wire alsa_late;
|
||||||
|
|
||||||
|
wire [15:0] alsa_l, alsa_r;
|
||||||
|
|
||||||
|
alsa alsa
|
||||||
|
(
|
||||||
.reset(reset),
|
.reset(reset),
|
||||||
.clk(clk_audio),
|
.clk(clk_audio),
|
||||||
|
|
||||||
@@ -1516,7 +1637,8 @@ alsa alsa
|
|||||||
|
|
||||||
.pcm_l(alsa_l),
|
.pcm_l(alsa_l),
|
||||||
.pcm_r(alsa_r)
|
.pcm_r(alsa_r)
|
||||||
);
|
);
|
||||||
|
`endif
|
||||||
|
|
||||||
//////////////// User I/O (USB 3.0 connector) /////////////////////////
|
//////////////// User I/O (USB 3.0 connector) /////////////////////////
|
||||||
|
|
||||||
@@ -1644,6 +1766,8 @@ emu emu
|
|||||||
.HDMI_WIDTH(direct_video ? 12'd0 : hdmi_width),
|
.HDMI_WIDTH(direct_video ? 12'd0 : hdmi_width),
|
||||||
.HDMI_HEIGHT(direct_video ? 12'd0 : hdmi_height),
|
.HDMI_HEIGHT(direct_video ? 12'd0 : hdmi_height),
|
||||||
.HDMI_FREEZE(freeze),
|
.HDMI_FREEZE(freeze),
|
||||||
|
.HDMI_BLACKOUT(hdmi_blackout),
|
||||||
|
.HDMI_BOB_DEINT(bob_deint),
|
||||||
|
|
||||||
.CLK_VIDEO(clk_vid),
|
.CLK_VIDEO(clk_vid),
|
||||||
.CE_PIXEL(ce_pix),
|
.CE_PIXEL(ce_pix),
|
||||||
@@ -1716,7 +1840,7 @@ emu emu
|
|||||||
.SDRAM2_nRAS(SDRAM2_nRAS),
|
.SDRAM2_nRAS(SDRAM2_nRAS),
|
||||||
.SDRAM2_nCAS(SDRAM2_nCAS),
|
.SDRAM2_nCAS(SDRAM2_nCAS),
|
||||||
.SDRAM2_CLK(SDRAM2_CLK),
|
.SDRAM2_CLK(SDRAM2_CLK),
|
||||||
.SDRAM2_EN(SW[3]),
|
.SDRAM2_EN(io_dig),
|
||||||
`endif
|
`endif
|
||||||
|
|
||||||
.BUTTONS(btn),
|
.BUTTONS(btn),
|
||||||
@@ -1726,11 +1850,7 @@ emu emu
|
|||||||
.SD_MOSI(SD_MOSI),
|
.SD_MOSI(SD_MOSI),
|
||||||
.SD_MISO(SD_MISO),
|
.SD_MISO(SD_MISO),
|
||||||
.SD_CS(SD_CS),
|
.SD_CS(SD_CS),
|
||||||
`ifdef MISTER_DUAL_SDRAM
|
.SD_CD(SD_CD),
|
||||||
.SD_CD(mcp_sdcd),
|
|
||||||
`else
|
|
||||||
.SD_CD(mcp_sdcd & (SW[0] ? VGA_HS : (SW[3] | SDCD_SPDIF))),
|
|
||||||
`endif
|
|
||||||
|
|
||||||
.UART_CTS(uart_rts),
|
.UART_CTS(uart_rts),
|
||||||
.UART_RTS(uart_cts),
|
.UART_RTS(uart_cts),
|
||||||
@@ -1759,19 +1879,17 @@ assign sync_out = sync_in ^ pol;
|
|||||||
|
|
||||||
reg pol;
|
reg pol;
|
||||||
always @(posedge clk) begin
|
always @(posedge clk) begin
|
||||||
integer pos = 0, neg = 0, cnt = 0;
|
reg [31:0] cnt;
|
||||||
reg s1,s2;
|
reg s1,s2;
|
||||||
|
|
||||||
s1 <= sync_in;
|
s1 <= sync_in;
|
||||||
s2 <= s1;
|
s2 <= s1;
|
||||||
|
cnt <= s2 ? (cnt - 1) : (cnt + 1);
|
||||||
|
|
||||||
if(~s2 & s1) neg <= cnt;
|
if(~s2 & s1) begin
|
||||||
if(s2 & ~s1) pos <= cnt;
|
cnt <= 0;
|
||||||
|
pol <= cnt[31];
|
||||||
cnt <= cnt + 1;
|
end
|
||||||
if(s2 != s1) cnt <= 0;
|
|
||||||
|
|
||||||
pol <= pos > neg;
|
|
||||||
end
|
end
|
||||||
|
|
||||||
endmodule
|
endmodule
|
||||||
|
|||||||
+26
-21
@@ -7,23 +7,27 @@ module vga_out
|
|||||||
input hsync,
|
input hsync,
|
||||||
input vsync,
|
input vsync,
|
||||||
input csync,
|
input csync,
|
||||||
|
input de,
|
||||||
|
|
||||||
input [23:0] din,
|
input [23:0] din,
|
||||||
output [23:0] dout,
|
output [23:0] dout,
|
||||||
|
|
||||||
output reg hsync_o,
|
output reg hsync_o,
|
||||||
output reg vsync_o,
|
output reg vsync_o,
|
||||||
output reg csync_o
|
output reg csync_o,
|
||||||
|
output reg de_o
|
||||||
);
|
);
|
||||||
|
|
||||||
wire [5:0] red = din[23:18];
|
wire [7:0] red = din[23:16];
|
||||||
wire [5:0] green = din[15:10];
|
wire [7:0] green = din[15:8];
|
||||||
wire [5:0] blue = din[7:2];
|
wire [7:0] blue = din[7:0];
|
||||||
|
|
||||||
// http://marsee101.blog19.fc2.com/blog-entry-2311.html
|
// http://marsee101.blog19.fc2.com/blog-entry-2311.html
|
||||||
// Y = 16 + 0.257*R + 0.504*G + 0.098*B (Y = 0.299*R + 0.587*G + 0.114*B)
|
|
||||||
// Pb = 128 - 0.148*R - 0.291*G + 0.439*B (Pb = -0.169*R - 0.331*G + 0.500*B)
|
|
||||||
// Pr = 128 + 0.439*R - 0.368*G - 0.071*B (Pr = 0.500*R - 0.419*G - 0.081*B)
|
// Y = 0.301*R + 0.586*G + 0.113*B (Y = 0.299*R + 0.587*G + 0.114*B)
|
||||||
|
// Pb = 128 - 0.168*R - 0.332*G + 0.500*B (Pb = -0.169*R - 0.331*G + 0.500*B)
|
||||||
|
// Pr = 128 + 0.500*R - 0.418*G - 0.082*B (Pr = 0.500*R - 0.419*G - 0.081*B)
|
||||||
|
|
||||||
reg [7:0] y, pb, pr;
|
reg [7:0] y, pb, pr;
|
||||||
reg [23:0] rgb;
|
reg [23:0] rgb;
|
||||||
@@ -33,32 +37,33 @@ always @(posedge clk) begin
|
|||||||
reg [18:0] y_1b, pb_1b, pr_1b;
|
reg [18:0] y_1b, pb_1b, pr_1b;
|
||||||
reg [18:0] y_2, pb_2, pr_2;
|
reg [18:0] y_2, pb_2, pr_2;
|
||||||
reg [23:0] din1, din2;
|
reg [23:0] din1, din2;
|
||||||
reg hsync2, vsync2, csync2;
|
reg hsync2, vsync2, csync2, de2;
|
||||||
reg hsync1, vsync1, csync1;
|
reg hsync1, vsync1, csync1, de1;
|
||||||
|
|
||||||
y_1r <= 19'd04096 + ({red, 8'd0} + {red, 3'd0});
|
y_1r <= {red, 6'd0} + {red, 3'd0} + {red, 2'd0} + red;
|
||||||
pb_1r <= 19'd32768 - ({red, 7'd0} + {red, 4'd0} + {red, 3'd0});
|
pb_1r <= 19'd32768 - ({red, 5'd0} + {red, 3'd0} + {red, 1'd0});
|
||||||
pr_1r <= 19'd32768 + ({red, 8'd0} + {red, 7'd0} + {red, 6'd0});
|
pr_1r <= 19'd32768 + {red, 7'd0};
|
||||||
|
|
||||||
y_1g <= {green, 9'd0} + {green, 2'd0};
|
y_1g <= {green, 7'd0} + {green, 4'd0} + {green, 2'd0} + {green, 1'd0};
|
||||||
pb_1g <= {green, 8'd0} + {green, 5'd0} + {green, 3'd0};
|
pb_1g <= {green, 6'd0} + {green, 4'd0} + {green, 2'd0} + green;
|
||||||
pr_1g <= {green, 8'd0} + {green, 6'd0} + {green, 5'd0} + {green, 4'd0} + {green, 3'd0};
|
pr_1g <= {green, 6'd0} + {green, 5'd0} + {green, 3'd0} + {green, 1'd0};
|
||||||
|
|
||||||
y_1b <= {blue, 6'd0} + {blue, 5'd0} + {blue, 2'd0};
|
y_1b <= {blue, 4'd0} + {blue, 3'd0} + {blue, 2'd0} + blue;
|
||||||
pb_1b <= {blue, 8'd0} + {blue, 7'd0} + {blue, 6'd0};
|
pb_1b <= {blue, 7'd0};
|
||||||
pr_1b <= {blue, 6'd0} + {blue, 3'd0};
|
pr_1b <= {blue, 4'd0} + {blue, 2'd0} + blue;
|
||||||
|
|
||||||
y_2 <= y_1r + y_1g + y_1b;
|
y_2 <= y_1r + y_1g + y_1b;
|
||||||
pb_2 <= pb_1r - pb_1g + pb_1b;
|
pb_2 <= pb_1r - pb_1g + pb_1b;
|
||||||
pr_2 <= pr_1r - pr_1g - pr_1b;
|
pr_2 <= pr_1r - pr_1g - pr_1b;
|
||||||
|
|
||||||
y <= ( y_2[18] || !y_2[17:12]) ? 8'd16 : (y_2[17:8] > 235) ? 8'd235 : y_2[15:8];
|
y <= y_2[18] ? 8'd0 : y_2[16] ? 8'd255 : y_2[15:8];
|
||||||
pb <= (pb_2[18] || !pb_2[17:12]) ? 8'd16 : (&pb_2[17:12]) ? 8'd240 : pb_2[15:8];
|
pb <= pb_2[18] ? 8'd0 : pb_2[16] ? 8'd255 : pb_2[15:8];
|
||||||
pr <= (pr_2[18] || !pr_2[17:12]) ? 8'd16 : (&pr_2[17:12]) ? 8'd240 : pr_2[15:8];
|
pr <= pr_2[18] ? 8'd0 : pr_2[16] ? 8'd255 : pr_2[15:8];
|
||||||
|
|
||||||
hsync_o <= hsync2; hsync2 <= hsync1; hsync1 <= hsync;
|
hsync_o <= hsync2; hsync2 <= hsync1; hsync1 <= hsync;
|
||||||
vsync_o <= vsync2; vsync2 <= vsync1; vsync1 <= vsync;
|
vsync_o <= vsync2; vsync2 <= vsync1; vsync1 <= vsync;
|
||||||
csync_o <= csync2; csync2 <= csync1; csync1 <= csync;
|
csync_o <= csync2; csync2 <= csync1; csync1 <= csync;
|
||||||
|
de_o <= de2; de2 <= de1; de1 <= de;
|
||||||
|
|
||||||
rgb <= din2; din2 <= din1; din1 <= din;
|
rgb <= din2; din2 <= din1; din1 <= din;
|
||||||
end
|
end
|
||||||
|
|||||||
+10
-1
@@ -26,6 +26,10 @@ module video_cleaner
|
|||||||
//optional de
|
//optional de
|
||||||
input DE_in,
|
input DE_in,
|
||||||
|
|
||||||
|
//optional interlace support
|
||||||
|
input interlace,
|
||||||
|
input f1,
|
||||||
|
|
||||||
// video output signals
|
// video output signals
|
||||||
output reg [7:0] VGA_R,
|
output reg [7:0] VGA_R,
|
||||||
output reg [7:0] VGA_G,
|
output reg [7:0] VGA_G,
|
||||||
@@ -56,15 +60,20 @@ always @(posedge clk_vid) begin
|
|||||||
HBlank_out <= hbl;
|
HBlank_out <= hbl;
|
||||||
|
|
||||||
VGA_HS <= hs;
|
VGA_HS <= hs;
|
||||||
if(~VGA_HS & hs) VGA_VS <= vs;
|
|
||||||
|
|
||||||
VGA_R <= R;
|
VGA_R <= R;
|
||||||
VGA_G <= G;
|
VGA_G <= G;
|
||||||
VGA_B <= B;
|
VGA_B <= B;
|
||||||
DE_out <= DE_in;
|
DE_out <= DE_in;
|
||||||
|
|
||||||
|
if (interlace & f1) begin
|
||||||
|
VGA_VS <= vs;
|
||||||
|
VBlank_out <= vbl;
|
||||||
|
end else begin
|
||||||
|
if(~VGA_HS & hs) VGA_VS <= vs;
|
||||||
if(HBlank_out & ~hbl) VBlank_out <= vbl;
|
if(HBlank_out & ~hbl) VBlank_out <= vbl;
|
||||||
end
|
end
|
||||||
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
endmodule
|
endmodule
|
||||||
|
|||||||
+60
-9
@@ -170,10 +170,8 @@ reg [11:0] mul_arg1, mul_arg2;
|
|||||||
wire [23:0] mul_res;
|
wire [23:0] mul_res;
|
||||||
sys_umul #(12,12) mul(CLK_VIDEO,mul_start,mul_run, mul_arg1,mul_arg2,mul_res);
|
sys_umul #(12,12) mul(CLK_VIDEO,mul_start,mul_run, mul_arg1,mul_arg2,mul_res);
|
||||||
|
|
||||||
wire [11:0] wideres = mul_res[11:0] + hsize;
|
|
||||||
|
|
||||||
always @(posedge CLK_VIDEO) begin
|
always @(posedge CLK_VIDEO) begin
|
||||||
reg [11:0] oheight,wres;
|
reg [11:0] oheight,htarget,wres,hinteger,wideres;
|
||||||
reg [12:0] arxf,aryf;
|
reg [12:0] arxf,aryf;
|
||||||
reg [3:0] cnt;
|
reg [3:0] cnt;
|
||||||
reg narrow;
|
reg narrow;
|
||||||
@@ -188,11 +186,18 @@ always @(posedge CLK_VIDEO) begin
|
|||||||
else if(~div_start & ~div_run & ~mul_start & ~mul_run) begin
|
else if(~div_start & ~div_run & ~mul_start & ~mul_run) begin
|
||||||
cnt <= cnt + 1'd1;
|
cnt <= cnt + 1'd1;
|
||||||
case(cnt)
|
case(cnt)
|
||||||
|
// example ideal and non-ideal cases:
|
||||||
|
// [1] 720x400 4:3 VGA 80x25 text-mode (non-square pixels)
|
||||||
|
// [2] 640x480 4:3 VGA graphics mode (square pixels)
|
||||||
|
// [3] 512x512 4:3 X68000 graphics mode (non-square pixels)
|
||||||
0: begin
|
0: begin
|
||||||
div_num <= HDMI_HEIGHT;
|
div_num <= HDMI_HEIGHT;
|
||||||
div_den <= vsize;
|
div_den <= vsize;
|
||||||
div_start <= 1;
|
div_start <= 1;
|
||||||
end
|
end
|
||||||
|
// [1] 1080 / 400 -> 2
|
||||||
|
// [2] 1080 / 480 -> 2
|
||||||
|
// [3] 1080 / 512 -> 2
|
||||||
|
|
||||||
1: if(!div_res[11:0]) begin
|
1: if(!div_res[11:0]) begin
|
||||||
// screen resolution is lower than video resolution.
|
// screen resolution is lower than video resolution.
|
||||||
@@ -206,6 +211,9 @@ always @(posedge CLK_VIDEO) begin
|
|||||||
mul_arg2 <= div_res[11:0];
|
mul_arg2 <= div_res[11:0];
|
||||||
mul_start <= 1;
|
mul_start <= 1;
|
||||||
end
|
end
|
||||||
|
// [1] 1080 / 400 * 400 -> 800
|
||||||
|
// [2] 1080 / 480 * 480 -> 960
|
||||||
|
// [3] 1080 / 512 * 512 -> 1024
|
||||||
|
|
||||||
2: begin
|
2: begin
|
||||||
oheight <= mul_res[11:0];
|
oheight <= mul_res[11:0];
|
||||||
@@ -219,27 +227,43 @@ always @(posedge CLK_VIDEO) begin
|
|||||||
mul_arg2 <= arx_i;
|
mul_arg2 <= arx_i;
|
||||||
mul_start <= 1;
|
mul_start <= 1;
|
||||||
end
|
end
|
||||||
|
// [1] 1080 / 400 * 400 * 4 -> 3200
|
||||||
|
// [2] 1080 / 480 * 480 * 4 -> 3840
|
||||||
|
// [3] 1080 / 512 * 512 * 4 -> 4096
|
||||||
|
|
||||||
4: begin
|
4: begin
|
||||||
div_num <= mul_res;
|
div_num <= mul_res;
|
||||||
div_den <= ary_i;
|
div_den <= ary_i;
|
||||||
div_start <= 1;
|
div_start <= 1;
|
||||||
end
|
end
|
||||||
|
// [1] 1080 / 480 * 480 * 4 / 3 -> 1066
|
||||||
|
// [2] 1080 / 480 * 480 * 4 / 3 -> 1280
|
||||||
|
// [3] 1080 / 512 * 512 * 4 / 3 -> 1365
|
||||||
|
// saved as htarget
|
||||||
|
|
||||||
5: begin
|
5: begin
|
||||||
|
htarget <= div_res[11:0];
|
||||||
div_num <= div_res;
|
div_num <= div_res;
|
||||||
div_den <= hsize;
|
div_den <= hsize;
|
||||||
div_start <= 1;
|
div_start <= 1;
|
||||||
end
|
end
|
||||||
|
// computes wide scaling factor as a ceiling division
|
||||||
|
// [1] 1080 / 400 * 400 * 4 / 3 / 720 -> 1
|
||||||
|
// [2] 1080 / 480 * 480 * 4 / 3 / 640 -> 2
|
||||||
|
// [3] 1080 / 512 * 512 * 4 / 3 / 512 -> 2
|
||||||
|
|
||||||
6: begin
|
6: begin
|
||||||
mul_arg1 <= hsize;
|
mul_arg1 <= hsize;
|
||||||
mul_arg2 <= div_res[11:0] ? div_res[11:0] : 12'd1;
|
mul_arg2 <= div_res[11:0] ? div_res[11:0] : 12'd1;
|
||||||
mul_start <= 1;
|
mul_start <= 1;
|
||||||
end
|
end
|
||||||
|
// [1] 1080 / 400 * 400 * 4 / 3 / 720 * 720 -> 720
|
||||||
|
// [2] 1080 / 480 * 480 * 4 / 3 / 640 * 640 -> 1280
|
||||||
|
// [3] 1080 / 512 * 512 * 4 / 3 / 512 * 512 -> 1024
|
||||||
|
|
||||||
7: if(mul_res <= HDMI_WIDTH) begin
|
7: if(mul_res <= HDMI_WIDTH) begin
|
||||||
cnt <= 10;
|
hinteger = mul_res[11:0];
|
||||||
|
cnt <= 12;
|
||||||
end
|
end
|
||||||
|
|
||||||
8: begin
|
8: begin
|
||||||
@@ -247,23 +271,50 @@ always @(posedge CLK_VIDEO) begin
|
|||||||
div_den <= hsize;
|
div_den <= hsize;
|
||||||
div_start <= 1;
|
div_start <= 1;
|
||||||
end
|
end
|
||||||
|
// [1] 1920 / 720 -> 2
|
||||||
|
// [2] 1920 / 640 -> 3
|
||||||
|
// [3] 1920 / 512 -> 3
|
||||||
|
|
||||||
9: begin
|
9: begin
|
||||||
mul_arg1 <= hsize;
|
mul_arg1 <= hsize;
|
||||||
mul_arg2 <= div_res[11:0] ? div_res[11:0] : 12'd1;
|
mul_arg2 <= div_res[11:0] ? div_res[11:0] : 12'd1;
|
||||||
mul_start <= 1;
|
mul_start <= 1;
|
||||||
end
|
end
|
||||||
|
// [1] 1920 / 720 * 720 -> 1440
|
||||||
|
// [2] 1920 / 640 * 640 -> 1920
|
||||||
|
// [3] 1920 / 512 * 512 -> 1536
|
||||||
|
|
||||||
10: begin
|
10: begin
|
||||||
narrow <= ((div_num[11:0] - mul_res[11:0]) <= (wideres - div_num[11:0])) || (wideres > HDMI_WIDTH);
|
hinteger <= mul_res[11:0];
|
||||||
wres <= wideres;
|
mul_arg1 <= vsize;
|
||||||
|
mul_arg2 <= div_res[11:0] ? div_res[11:0] : 12'd1;
|
||||||
|
mul_start <= 1;
|
||||||
end
|
end
|
||||||
|
|
||||||
11: begin
|
11: begin
|
||||||
|
oheight <= mul_res[11:0];
|
||||||
|
end
|
||||||
|
|
||||||
|
12: begin
|
||||||
|
wideres <= hinteger + hsize;
|
||||||
|
narrow <= ((htarget - hinteger) <= (wideres - htarget)) || (wideres > HDMI_WIDTH);
|
||||||
|
wres <= hinteger == htarget ? hinteger : wideres;
|
||||||
|
end
|
||||||
|
// [1] 1066 - 720 = 346 <= 1440 - 1066 = 374 || 1440 > 1920 -> true
|
||||||
|
// [2] 1280 - 1280 = 0 <= 1920 - 1280 = 640 || 1920 > 1920 -> true
|
||||||
|
// [3] 1365 - 1024 = 341 <= 1536 - 1365 = 171 || 1536 > 1920 -> false
|
||||||
|
// 1. narrow flag is true when mul_res[11:0] narrow width is closer to
|
||||||
|
// htarget aspect ratio target width or when wideres wider width
|
||||||
|
// does not fit to the screen.
|
||||||
|
// 2. wres becomes wideres only when mul_res[11:0] narrow width not equal
|
||||||
|
// to target width, meaning it is not optimal for source aspect ratio.
|
||||||
|
// otherwise it is set to narrow width that is optimal.
|
||||||
|
|
||||||
|
13: begin
|
||||||
case(SCALE)
|
case(SCALE)
|
||||||
2: arxf <= {1'b1, mul_res[11:0]};
|
2: arxf <= {1'b1, hinteger};
|
||||||
3: arxf <= {1'b1, (wres > HDMI_WIDTH) ? mul_res[11:0] : wres};
|
3: arxf <= {1'b1, (wres > HDMI_WIDTH) ? hinteger : wres};
|
||||||
4: arxf <= {1'b1, narrow ? mul_res[11:0] : wres};
|
4: arxf <= {1'b1, narrow ? hinteger : wres};
|
||||||
default: arxf <= {1'b1, div_num[11:0]};
|
default: arxf <= {1'b1, div_num[11:0]};
|
||||||
endcase
|
endcase
|
||||||
aryf <= {1'b1, oheight};
|
aryf <= {1'b1, oheight};
|
||||||
|
|||||||
+9
-6
@@ -36,13 +36,15 @@ module yc_out
|
|||||||
input hsync,
|
input hsync,
|
||||||
input vsync,
|
input vsync,
|
||||||
input csync,
|
input csync,
|
||||||
|
input de,
|
||||||
|
|
||||||
input [23:0] din,
|
input [23:0] din,
|
||||||
output [23:0] dout,
|
output [23:0] dout,
|
||||||
|
|
||||||
output reg hsync_o,
|
output reg hsync_o,
|
||||||
output reg vsync_o,
|
output reg vsync_o,
|
||||||
output reg csync_o
|
output reg csync_o,
|
||||||
|
output reg de_o
|
||||||
);
|
);
|
||||||
|
|
||||||
wire [7:0] red = din[23:16];
|
wire [7:0] red = din[23:16];
|
||||||
@@ -61,6 +63,7 @@ typedef struct {
|
|||||||
logic hsync;
|
logic hsync;
|
||||||
logic vsync;
|
logic vsync;
|
||||||
logic csync;
|
logic csync;
|
||||||
|
logic de;
|
||||||
} phase_t;
|
} phase_t;
|
||||||
|
|
||||||
localparam MAX_PHASES = 7'd8;
|
localparam MAX_PHASES = 7'd8;
|
||||||
@@ -211,11 +214,11 @@ always_ff @(posedge clk) begin
|
|||||||
end
|
end
|
||||||
|
|
||||||
// Adjust sync timing correctly
|
// Adjust sync timing correctly
|
||||||
phase[1].hsync <= hsync; phase[1].vsync <= vsync; phase[1].csync <= csync;
|
phase[1].hsync <= hsync; phase[1].vsync <= vsync; phase[1].csync <= csync; phase[1].de <= de;
|
||||||
phase[2].hsync <= phase[1].hsync; phase[2].vsync <= phase[1].vsync; phase[2].csync <= phase[1].csync;
|
phase[2].hsync <= phase[1].hsync; phase[2].vsync <= phase[1].vsync; phase[2].csync <= phase[1].csync; phase[2].de <= phase[1].de;
|
||||||
phase[3].hsync <= phase[2].hsync; phase[3].vsync <= phase[2].vsync; phase[3].csync <= phase[2].csync;
|
phase[3].hsync <= phase[2].hsync; phase[3].vsync <= phase[2].vsync; phase[3].csync <= phase[2].csync; phase[3].de <= phase[2].de;
|
||||||
phase[4].hsync <= phase[3].hsync; phase[4].vsync <= phase[3].vsync; phase[4].csync <= phase[3].csync;
|
phase[4].hsync <= phase[3].hsync; phase[4].vsync <= phase[3].vsync; phase[4].csync <= phase[3].csync; phase[4].de <= phase[3].de;
|
||||||
hsync_o <= phase[4].hsync; vsync_o <= phase[4].vsync; csync_o <= phase[4].csync;
|
hsync_o <= phase[4].hsync; vsync_o <= phase[4].vsync; csync_o <= phase[4].csync; de_o <= phase[4].de;
|
||||||
|
|
||||||
phase[1].y <= phase[0].y; phase[2].y <= phase[1].y; phase[3].y <= phase[2].y; phase[4].y <= phase[3].y; phase[5].y <= phase[4].y;
|
phase[1].y <= phase[0].y; phase[2].y <= phase[1].y; phase[3].y <= phase[2].y; phase[4].y <= phase[3].y; phase[5].y <= phase[4].y;
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user