Skip to content

Commit b66b2c8

Browse files
committed
Initial version
Unstable version: * Hardware interrupts are not executed. * No VHD or SD support. * BASIC ROM execution set in the BIOS, before the OS load routine.
1 parent dfb2b76 commit b66b2c8

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

100 files changed

+32262
-0
lines changed

PCXT.qpf

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
QUARTUS_VERSION = "17.0"
2+
PROJECT_REVISION = "PCXT"

PCXT.qsf

+96
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,96 @@
1+
# --------------------------------------------------------------------------
2+
#
3+
# MiSTer project
4+
#
5+
# WARNING WARNING WARNING:
6+
# Do not add files to project in Quartus IDE! It will mess this file!
7+
# Add the files manually to files.qip file.
8+
#
9+
# --------------------------------------------------------------------------
10+
11+
set_global_assignment -name TOP_LEVEL_ENTITY sys_top
12+
set_global_assignment -name PARTITION_NETLIST_TYPE SOURCE -section_id Top
13+
set_global_assignment -name PARTITION_FITTER_PRESERVATION_LEVEL PLACEMENT_AND_ROUTING -section_id Top
14+
set_global_assignment -name PARTITION_COLOR 16764057 -section_id Top
15+
16+
set_global_assignment -name LAST_QUARTUS_VERSION "17.1.0 Standard Edition"
17+
18+
set_global_assignment -name GENERATE_RBF_FILE ON
19+
set_global_assignment -name PROJECT_OUTPUT_DIRECTORY output_files
20+
set_global_assignment -name NUM_PARALLEL_PROCESSORS ALL
21+
set_global_assignment -name SAVE_DISK_SPACE OFF
22+
set_global_assignment -name SMART_RECOMPILE ON
23+
set_global_assignment -name MIN_CORE_JUNCTION_TEMP "-40"
24+
set_global_assignment -name MAX_CORE_JUNCTION_TEMP 100
25+
set_global_assignment -name POWER_PRESET_COOLING_SOLUTION "23 MM HEAT SINK WITH 200 LFPM AIRFLOW"
26+
set_global_assignment -name POWER_BOARD_THERMAL_MODEL "NONE (CONSERVATIVE)"
27+
set_global_assignment -name OPTIMIZE_POWER_DURING_FITTING OFF
28+
set_global_assignment -name FINAL_PLACEMENT_OPTIMIZATION ALWAYS
29+
set_global_assignment -name FITTER_EFFORT "STANDARD FIT"
30+
set_global_assignment -name OPTIMIZATION_MODE "HIGH PERFORMANCE EFFORT"
31+
set_global_assignment -name ALLOW_POWER_UP_DONT_CARE ON
32+
set_global_assignment -name QII_AUTO_PACKED_REGISTERS NORMAL
33+
set_global_assignment -name ROUTER_LCELL_INSERTION_AND_LOGIC_DUPLICATION ON
34+
set_global_assignment -name PHYSICAL_SYNTHESIS_COMBO_LOGIC ON
35+
set_global_assignment -name PHYSICAL_SYNTHESIS_REGISTER_DUPLICATION ON
36+
set_global_assignment -name PHYSICAL_SYNTHESIS_REGISTER_RETIMING ON
37+
set_global_assignment -name OPTIMIZATION_TECHNIQUE SPEED
38+
set_global_assignment -name MUX_RESTRUCTURE ON
39+
set_global_assignment -name REMOVE_REDUNDANT_LOGIC_CELLS ON
40+
set_global_assignment -name AUTO_DELAY_CHAINS_FOR_HIGH_FANOUT_INPUT_PINS ON
41+
set_global_assignment -name PHYSICAL_SYNTHESIS_COMBO_LOGIC_FOR_AREA ON
42+
set_global_assignment -name ADV_NETLIST_OPT_SYNTH_WYSIWYG_REMAP ON
43+
set_global_assignment -name SYNTH_GATED_CLOCK_CONVERSION ON
44+
set_global_assignment -name PRE_MAPPING_RESYNTHESIS ON
45+
set_global_assignment -name ROUTER_CLOCKING_TOPOLOGY_ANALYSIS ON
46+
set_global_assignment -name ECO_OPTIMIZE_TIMING ON
47+
set_global_assignment -name PERIPHERY_TO_CORE_PLACEMENT_AND_ROUTING_OPTIMIZATION ON
48+
set_global_assignment -name PHYSICAL_SYNTHESIS_ASYNCHRONOUS_SIGNAL_PIPELINING ON
49+
set_global_assignment -name ALM_REGISTER_PACKING_EFFORT MEDIUM
50+
set_global_assignment -name SEED 1
51+
52+
#set_global_assignment -name VERILOG_MACRO "MISTER_FB=1"
53+
54+
#enable it only if 8bit indexed mode is used in core
55+
#set_global_assignment -name VERILOG_MACRO "MISTER_FB_PALETTE=1"
56+
57+
#set_global_assignment -name VERILOG_MACRO "MISTER_DUAL_SDRAM=1"
58+
59+
#do not enable DEBUG_NOHDMI in release!
60+
#set_global_assignment -name VERILOG_MACRO "MISTER_DEBUG_NOHDMI=1"
61+
62+
source sys/sys.tcl
63+
source sys/sys_analog.tcl
64+
source files.qip
65+
66+
67+
set_global_assignment -name VERILOG_FILE rtl/common/vram.v
68+
set_global_assignment -name VERILOG_FILE rtl/common/ram.v
69+
set_global_assignment -name VERILOG_FILE rtl/common/clk_div3.v
70+
set_global_assignment -name SDC_FILE PCXT_MiSTer.sdc
71+
set_global_assignment -name VERILOG_FILE rtl/common/bios.v
72+
set_global_assignment -name VERILOG_FILE rtl/8088/mcl86_eu_core.v
73+
set_global_assignment -name VERILOG_FILE rtl/8088/i8088.v
74+
set_global_assignment -name VERILOG_FILE rtl/8088/eu_rom.v
75+
set_global_assignment -name VERILOG_FILE rtl/8088/biu_min.v
76+
set_global_assignment -name VERILOG_FILE rtl/8088/biu_max.v
77+
set_global_assignment -name CDF_FILE jtag.cdf
78+
set_global_assignment -name QIP_FILE sys/sys.qip
79+
set_global_assignment -name SDC_FILE PCXT.sdc
80+
set_global_assignment -name SYSTEMVERILOG_FILE PCXT.sv
81+
set_global_assignment -name VERILOG_FILE rtl/system.v
82+
set_global_assignment -name VERILOG_FILE rtl/common/cga.v
83+
set_global_assignment -name VERILOG_FILE rtl/common/cga_attrib.v
84+
set_global_assignment -name VERILOG_FILE rtl/common/cga_pixel.v
85+
set_global_assignment -name VERILOG_FILE rtl/common/cga_scandoubler.v
86+
set_global_assignment -name VERILOG_FILE rtl/common/cga_sequencer.v
87+
set_global_assignment -name VERILOG_FILE rtl/common/cga_vgaport.v
88+
set_global_assignment -name VERILOG_FILE rtl/common/crtc6845.v
89+
set_global_assignment -name VERILOG_FILE rtl/common/KB_8042.v
90+
set_global_assignment -name VERILOG_FILE rtl/common/PIC_8259.v
91+
set_global_assignment -name VERILOG_FILE rtl/common/timer8253.v
92+
set_global_assignment -name VERILOG_FILE rtl/common/vga.v
93+
set_global_assignment -name SIP_FILE pll.sip
94+
set_global_assignment -name QIP_FILE rtl/pll.qip
95+
set_global_assignment -name SIP_FILE rtl/pll.sip
96+
set_instance_assignment -name PARTITION_HIERARCHY root_partition -to | -section_id Top

PCXT.sdc

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
derive_pll_clocks
2+
derive_clock_uncertainty
3+
4+
# core specific constraints

PCXT.srf

+29
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,29 @@
1+
{ "" "" "" "Inferred RAM node \"emu:emu\|mister_io:mister_io\|ps2_kbd_fifo_rtl_0\" from synchronous design logic. Pass-through logic has been added to match the read-during-write behavior of the original design." { } { } 0 276020 "" 0 0 "Design Software" 0 -1 0 ""}
2+
{ "" "" "" "Inferred RAM node \"emu:emu\|mister_io:mister_io\|ps2_mouse_fifo_rtl_0\" from synchronous design logic. Pass-through logic has been added to match the read-during-write behavior of the original design." { } { } 0 276020 "" 0 0 "Design Software" 0 -1 0 ""}
3+
{ "" "" "" "Synthesized away node \"emu:emu\|pll:pll\|pll_0002:pll_inst\|altera_pll:altera_pll_i\|outclk_wire\[2\]\"" { } { } 0 14320 "" 0 0 "Design Software" 0 -1 0 ""}
4+
{ "" "" "" "RST port on the PLL is not properly connected on instance emu:emu\|pll:pll\|pll_0002:pll_inst\|altera_pll:altera_pll_i\|general\[1\].gpll. The reset port on the PLL should be connected. If the PLL loses lock for any reason, you might need to manually reset the PLL in order to re-establish lock to the reference clock." { } { } 0 0 "" 0 0 "Design Software" 0 -1 0 ""}
5+
{ "" "" "" "RST port on the PLL is not properly connected on instance emu:emu\|pll:pll\|pll_0002:pll_inst\|altera_pll:altera_pll_i\|general\[0\].gpll. The reset port on the PLL should be connected. If the PLL loses lock for any reason, you might need to manually reset the PLL in order to re-establish lock to the reference clock." { } { } 0 0 "" 0 0 "Design Software" 0 -1 0 ""}
6+
{ "" "" "" "Ignored locations or region assignments to the following nodes" { } { } 0 15705 "" 0 0 "Design Software" 0 -1 0 ""}
7+
{ "" "" "" "RST port on the PLL is not properly connected on instance emu:emu\|pll:pll\|pll_0002:pll_inst\|altera_pll:altera_pll_i\|general\[2\].gpll. The reset port on the PLL should be connected. If the PLL loses lock for any reason, you might need to manually reset the PLL in order to re-establish lock to the reference clock." { } { } 0 0 "" 0 0 "Design Software" 0 -1 0 ""}
8+
{ "" "" "" "Verilog HDL or VHDL warning at de10_top.v(129): object \"io_win\" assigned a value but never read" { } { } 0 10036 "" 0 0 "Design Software" 0 -1 0 ""}
9+
{ "" "" "" "Verilog HDL or VHDL warning at de10_top.v(134): object \"io_sdd\" assigned a value but never read" { } { } 0 10036 "" 0 0 "Design Software" 0 -1 0 ""}
10+
{ "" "" "" "Verilog HDL or VHDL warning at de10_top.v(97): object \"io_win\" assigned a value but never read" { } { } 0 10036 "" 0 0 "Design Software" 0 -1 0 ""}
11+
{ "" "" "" "Verilog HDL or VHDL warning at de10_top.v(102): object \"io_sdd\" assigned a value but never read" { } { } 0 10036 "" 0 0 "Design Software" 0 -1 0 ""}
12+
{ "" "" "" "Some pins have incomplete I/O assignments. Refer to the I/O Assignment Warnings report for details" { } { } 0 15714 "" 0 0 "Design Software" 0 -1 0 ""}
13+
{ "" "" "" "LOCKED port on the PLL is not properly connected on instance \"pll_hdmi:pll_hdmi\|pll_hdmi_0002:pll_hdmi_inst\|altera_pll:altera_pll_i\|general\[0\].gpll\". The LOCKED port on the PLL should be connected when the FBOUTCLK port is connected. Although it is unnecessary to connect the LOCKED signal, any logic driven off of an output clock of the PLL will not know when the PLL is locked and ready." { } { } 0 21300 "" 0 0 "Design Software" 0 -1 0 ""}
14+
{ "" "" "" "Found combinational loop of 47 nodes" { } { } 0 332125 "" 0 0 "Design Software" 0 -1 0 ""}
15+
{ "" "" "" "LOCKED port on the PLL is not properly connected on instance \"emu:emu\|pll:pll\|pll_0002:pll_inst\|altera_pll:altera_pll_i\|general\[0\].gpll\". The LOCKED port on the PLL should be connected when the FBOUTCLK port is connected. Although it is unnecessary to connect the LOCKED signal, any logic driven off of an output clock of the PLL will not know when the PLL is locked and ready." { } { } 0 21300 "" 0 0 "Design Software" 0 -1 0 ""}
16+
{ "" "" "" "Verilog HDL or VHDL warning at sys_top.v(209): object \"vip_newcfg\" assigned a value but never read" { } { } 0 10036 "" 0 0 "Design Software" 0 -1 0 ""}
17+
{ "" "" "" "Verilog HDL or VHDL warning at sys_top.v(594): object \"VSET\" assigned a value but never read" { } { } 0 10036 "" 0 0 "Design Software" 0 -1 0 ""}
18+
{ "" "" "" "Ignored filter at sys_top.sdc(17): vip\|output_inst\|vid_clk could not be matched with a net" { } { } 0 332174 "" 0 0 "Design Software" 0 -1 0 ""}
19+
{ "" "" "" "Ignored create_generated_clock at sys_top.sdc(16): Argument <targets> is an empty collection" { } { } 0 332049 "" 0 0 "Design Software" 0 -1 0 ""}
20+
{ "" "" "" "Ignored filter at sys_top.sdc(37): VID_CLK could not be matched with a clock" { } { } 0 332174 "" 0 0 "Design Software" 0 -1 0 ""}
21+
{ "" "" "" "LOCKED port on the PLL is not properly connected on instance \"pll_audio:pll_audio\|pll_audio_0002:pll_audio_inst\|altera_pll:altera_pll_i\|general\[0\].gpll\". The LOCKED port on the PLL should be connected when the FBOUTCLK port is connected. Although it is unnecessary to connect the LOCKED signal, any logic driven off of an output clock of the PLL will not know when the PLL is locked and ready." { } { } 0 21300 "" 0 0 "Design Software" 0 -1 0 ""}
22+
{ "" "" "" "*" { } { } 0 21074 "" 0 0 "Design Software" 0 -1 0 ""}
23+
{ "" "" "" "*" { } { } 0 276020 "" 0 0 "Design Software" 0 -1 0 ""}
24+
{ "" "" "" "*" { } { } 0 276027 "" 0 0 "Design Software" 0 -1 0 ""}
25+
{ "" "" "" "RST" { } { } 0 9999 "" 0 0 "Design Software" 0 -1 0 ""}
26+
{ "" "" "" "altera_pll.v" { } { } 0 9999 "" 0 0 "Design Software" 0 -1 0 ""}
27+
{ "" "" "" "altera_cyclonev_pll.v" { } { } 0 9999 "" 0 0 "Design Software" 0 -1 0 ""}
28+
{ "" "" "" "altera_pll_reconfig_core.v" { } { } 0 9999 "" 0 0 "Design Software" 0 -1 0 ""}
29+
{ "" "" "" "cyclonev_pll" { } { } 0 9999 "" 0 0 "Design Software" 0 -1 0 ""}

0 commit comments

Comments
 (0)