-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathbuild_tm138kpro.tcl
More file actions
130 lines (126 loc) · 4.2 KB
/
build_tm138kpro.tcl
File metadata and controls
130 lines (126 loc) · 4.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
set_device GW5AST-LV138FPG676AC1/I0 -device_version B
add_file mouse/jt6805/jt6805.v
add_file mouse/jt6805/jt6805_alu.v
add_file mouse/jt6805/jt6805_ctrl.v
add_file mouse/jt6805/jt6805_regs.v
add_file mouse/jt6805/jtframe_6805mcu.v
add_file mouse/pia6821.vhd
add_file src/dualshock2.v
add_file src/floppy_track.sv
add_file src/gen_uart.v
add_file src/gowin_dpb/gowin_dpb_trkbuf.v
add_file src/gowin_dpb/sector_dpram.v
add_file src/gowin_prom/gowin_prom_uc.v
add_file src/gowin_sp/gowin_sp_128b.v
add_file src/hdmi/audio_clock_regeneration_packet.sv
add_file src/hdmi/audio_info_frame.sv
add_file src/hdmi/audio_sample_packet.sv
add_file src/hdmi/auxiliary_video_information_info_frame.sv
add_file src/hdmi/hdmi.sv
add_file src/hdmi/packet_assembler.sv
add_file src/hdmi/packet_picker.sv
add_file src/hdmi/serializer.sv
add_file src/hdmi/source_product_description_info_frame.sv
add_file src/hdmi/tmds_channel.sv
add_file src/loader_sd_card.sv
add_file src/misc/hid.v
add_file src/misc/mcu_spi.v
add_file src/misc/osd_u8g2.v
add_file src/misc/scandoubler.v
add_file src/misc/sd_card.v
add_file src/misc/sd_rw.v
add_file src/misc/sdcmd_ctrl.v
add_file src/misc/sysctrl.v
add_file src/misc/video.v
add_file src/misc/video_analyzer.v
add_file src/misc/ws2812.v
add_file src/sdram.v
add_file T65/T65.vhd
add_file T65/T65_ALU.vhd
add_file T65/T65_MCode.vhd
add_file T65/T65_Pack.vhd
add_file mockingboard/mockingboard.vhd
add_file mockingboard/via6522.vhd
add_file mouse/applemouse.vhd
add_file mouse/applemouse_mcu_rom.vhd
add_file mouse/applemouse_rom.vhd
add_file src/CEGen.vhd
add_file src/R65Cx2.vhd
add_file src/apple2.vhd
add_file src/disk_ii.vhd
add_file src/disk_ii_rom.vhd
add_file src/drive_ii.vhd
add_file src/gowin_dpb/gowin_dpb_track_buffer_b.vhd
add_file src/gowin_prom/gowin_prom_apple2.vhd
add_file src/gowin_prom/gowin_prom_key.vhd
add_file src/tang/mega138kpro/gowin_pll_138kpro_ntsc.vhd
add_file src/tang/mega138kpro/gowin_pll_138kpro_ntsc_mod.vhd
add_file src/tang/mega138kpro/pll_init.v
add_file src/hdd.vhd
add_file src/hdd_rom.vhd
add_file src/keyboard.vhd
add_file src/ssc.vhd
add_file src/ssc_rom.vhd
add_file src/tang/mega138kpro/nanoapple2.vhd
add_file src/timing_generator.vhd
add_file src/tang/console60k/vga_controller.vhd
add_file src/tang/console60k/video_generator.vhd
add_file src/tang/mega138kpro/nanoapple2_tm138kpro.cst
add_file src/tang/mega138kpro/nanoapple2_tm138kpro.sdc
add_file src/gowin_sdpb/gowin_sdpb_8k_gw5a.vhd
add_file src/uart6551/io_fifo.v
add_file src/uart6551/uart_6551.v
add_file src/gowin_sdpb/gowin_sdpb_palette_gw5a.vhd
add_file mockingboard/jt49/filter/jt49_dcrm.v
add_file mockingboard/jt49/filter/jt49_dcrm2.v
add_file mockingboard/jt49/filter/jt49_dly.v
add_file mockingboard/jt49/filter/jt49_mave.v
add_file mockingboard/jt49/jt49.v
add_file mockingboard/jt49/jt49_bus.v
add_file mockingboard/jt49/jt49_cen.v
add_file mockingboard/jt49/jt49_div.v
add_file mockingboard/jt49/jt49_eg.v
add_file mockingboard/jt49/jt49_exp.v
add_file mockingboard/jt49/jt49_noise.v
set_option -synthesis_tool gowinsynthesis
set_option -output_base_name nanoapple2_tm138kpro
set_option -verilog_std sysv2017
set_option -vhdl_std vhd2008
set_option -top_module nanoapple2
set_option -use_mspi_as_gpio 1
set_option -use_sspi_as_gpio 1
set_option -use_done_as_gpio 1
set_option -use_cpu_as_gpio 1
set_option -use_ready_as_gpio 1
set_option -use_jtag_as_gpio 1
set_option -use_mode_as_gpio 0
set_option -use_i2c_as_gpio 0
set_option -print_all_synthesis_warning 0
set_option -show_all_warn 1
set_option -rw_check_on_ram 0
set_option -user_code 00000001
set_option -bit_compress 1
set_option -multi_boot 0
set_option -vccx 1.8
set_option -vcc 0.9
set_option -power_on_reset_monitor 1
set_option -timing_driven 1
set_option -ireg_in_iob 1
set_option -oreg_in_iob 1
set_option -ioreg_in_iob 1
set_option -multi_boot 0
set_option -mspi_jump 0
set_option -cst_warn_to_error 1
set_option -rpt_auto_place_io_info 1
set_option -convert_sdp32_36_to_sdp16_18 1
set_option -correct_hold_violation 1
set_option -co-place_io_registers 0
set_option -replicate_resources 0
set_option -show_init_in_vo 0
set_option -loading_rate 70.000
#set_option -mspi_jump 1
#set_option -mspijump_address_width 24
#set_option -mspijump_mode quad
#set_option -merge_jumpbit 1
#run syn
run all