From c5e731222b444026960fec1b82ceac77d1085c9c Mon Sep 17 00:00:00 2001 From: antoniovillena Date: Wed, 4 May 2016 20:12:08 +0200 Subject: [PATCH] Actualizo Master System --- cores/MasterSystem/master_system.xise | 495 -------------------- cores/MasterSystem/sms_rgb.prj | 25 + cores/MasterSystem/sms_rgb.ut | 30 ++ cores/MasterSystem/sms_rgb.xst | 52 ++ cores/MasterSystem/src/sms_bd.bmm | 55 --- cores/MasterSystem/src/sms_rgb_zxuno_Ap.ucf | 91 ++++ cores/MasterSystem/src/sms_rgb_zxuno_v2.ucf | 91 ++++ cores/MasterSystem/src/sms_rgb_zxuno_v3.ucf | 91 ++++ cores/MasterSystem/src/sms_rgb_zxuno_v4.ucf | 91 ++++ cores/MasterSystem/src/sms_zxuno.ucf | 69 --- cores/MasterSystem/src/sms_zxuno_v3.ucf | 69 --- 11 files changed, 471 insertions(+), 688 deletions(-) delete mode 100644 cores/MasterSystem/master_system.xise create mode 100644 cores/MasterSystem/sms_rgb.prj create mode 100644 cores/MasterSystem/sms_rgb.ut create mode 100644 cores/MasterSystem/sms_rgb.xst delete mode 100644 cores/MasterSystem/src/sms_bd.bmm create mode 100644 cores/MasterSystem/src/sms_rgb_zxuno_Ap.ucf create mode 100644 cores/MasterSystem/src/sms_rgb_zxuno_v2.ucf create mode 100644 cores/MasterSystem/src/sms_rgb_zxuno_v3.ucf create mode 100644 cores/MasterSystem/src/sms_rgb_zxuno_v4.ucf delete mode 100644 cores/MasterSystem/src/sms_zxuno.ucf delete mode 100644 cores/MasterSystem/src/sms_zxuno_v3.ucf diff --git a/cores/MasterSystem/master_system.xise b/cores/MasterSystem/master_system.xise deleted file mode 100644 index a92743f..0000000 --- a/cores/MasterSystem/master_system.xise +++ /dev/null @@ -1,495 +0,0 @@ - - - -
- - - - - - - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
diff --git a/cores/MasterSystem/sms_rgb.prj b/cores/MasterSystem/sms_rgb.prj new file mode 100644 index 0000000..8948d06 --- /dev/null +++ b/cores/MasterSystem/sms_rgb.prj @@ -0,0 +1,25 @@ +vhdl work "src/vdp_sprite_shifter.vhd" +vhdl work "T80/T80_Reg.vhd" +vhdl work "T80/T80_Pack.vhd" +vhdl work "T80/T80_MCode.vhd" +vhdl work "T80/T80_ALU.vhd" +vhdl work "src/vdp_sprites.vhd" +vhdl work "src/vdp_background.vhd" +vhdl work "T80/T80.vhd" +vhdl work "src/vdp_vram.vhd" +vhdl work "src/vdp_main.vhd" +vhdl work "src/vdp_cram.vhd" +vhdl work "src/psg_tone.vhd" +vhdl work "src/psg_noise.vhd" +vhdl work "src/dac.vhd" +vhdl work "T80/T80se.vhd" +vhdl work "src/vdp.vhd" +vhdl work "src/spi.vhd" +vhdl work "src/ram.vhd" +vhdl work "src/psg.vhd" +vhdl work "src/io.vhd" +vhdl work "src/bootloader_rom.vhd" +vhdl work "src/system.vhd" +vhdl work "src/rgb_video.vhd" +vhdl work "src/clocks.vhd" +vhdl work "src/sms_rgb.vhd" diff --git a/cores/MasterSystem/sms_rgb.ut b/cores/MasterSystem/sms_rgb.ut new file mode 100644 index 0000000..8440878 --- /dev/null +++ b/cores/MasterSystem/sms_rgb.ut @@ -0,0 +1,30 @@ +-w +-g Binary:no +-g Compress +-g CRC:Enable +-g Reset_on_err:No +-g ConfigRate:4 +-g ProgPin:PullUp +-g TckPin:PullUp +-g TdiPin:PullUp +-g TdoPin:PullUp +-g TmsPin:PullUp +-g UnusedPin:PullDown +-g UserID:0xFFFFFFFF +-g ExtMasterCclk_en:No +-g SPI_buswidth:1 +-g TIMER_CFG:0xFFFF +-g multipin_wakeup:No +-g StartUpClk:CClk +-g DONE_cycle:4 +-g GTS_cycle:5 +-g GWE_cycle:6 +-g LCK_cycle:NoWait +-g Security:None +-g DonePipe:No +-g DriveDone:No +-g en_sw_gsr:No +-g drive_awake:No +-g sw_clk:Startupclk +-g sw_gwe_cycle:5 +-g sw_gts_cycle:4 diff --git a/cores/MasterSystem/sms_rgb.xst b/cores/MasterSystem/sms_rgb.xst new file mode 100644 index 0000000..0ff8a09 --- /dev/null +++ b/cores/MasterSystem/sms_rgb.xst @@ -0,0 +1,52 @@ +set -tmpdir "projnav.tmp" +set -xsthdpdir "xst" +run +-ifn sms_rgb.prj +-ofn sms_rgb +-ofmt NGC +-p xc6slx9-3-tqg144 +-top sms_rgb +-opt_mode Speed +-opt_level 1 +-power NO +-iuc NO +-keep_hierarchy No +-netlist_hierarchy As_Optimized +-rtlview Yes +-glob_opt AllClockNets +-read_cores YES +-write_timing_constraints NO +-cross_clock_analysis NO +-hierarchy_separator / +-bus_delimiter <> +-case Maintain +-slice_utilization_ratio 100 +-bram_utilization_ratio 100 +-dsp_utilization_ratio 100 +-lc Auto +-reduce_control_sets Auto +-fsm_extract YES -fsm_encoding Auto +-safe_implementation No +-fsm_style LUT +-ram_extract Yes +-ram_style Auto +-rom_extract Yes +-shreg_extract YES +-rom_style Auto +-auto_bram_packing NO +-resource_sharing YES +-async_to_sync NO +-shreg_min_size 2 +-use_dsp48 Auto +-iobuf YES +-max_fanout 100000 +-bufg 16 +-register_duplication YES +-register_balancing No +-optimize_primitives NO +-use_clock_enable Auto +-use_sync_set Auto +-use_sync_reset Auto +-iob Auto +-equivalent_register_removal YES +-slice_utilization_ratio_maxmargin 5 diff --git a/cores/MasterSystem/src/sms_bd.bmm b/cores/MasterSystem/src/sms_bd.bmm deleted file mode 100644 index 936cb8b..0000000 --- a/cores/MasterSystem/src/sms_bd.bmm +++ /dev/null @@ -1,55 +0,0 @@ -// BMM LOC annotation file. -// -// Release 14.6 - P.20131013, build 3.0.10 Apr 3, 2013 -// Copyright (c) 1995-2015 Xilinx, Inc. All rights reserved. - - -/////////////////////////////////////////////////////////////////////////////// -// -// Processor 'bootrom', ID 0, memory map. -// -/////////////////////////////////////////////////////////////////////////////// - -ADDRESS_MAP bootrom PPC405 0 - - /////////////////////////////////////////////////////////////////////////////// - // - // Processor 'bootrom' address space 'boot_code' 0x00000000:0x00003FFF (16 KBytes). - // - /////////////////////////////////////////////////////////////////////////////// - - ADDRESS_SPACE boot_code RAMB16 [0x00000000:0x00003FFF] - BUS_BLOCK - system_inst/boot_rom_inst/ram_blocks[7].inst RAMB16 [7:7] [0:16383] PLACED = X1Y4; - system_inst/boot_rom_inst/ram_blocks[6].inst RAMB16 [6:6] [0:16383] PLACED = X1Y6; - system_inst/boot_rom_inst/ram_blocks[5].inst RAMB16 [5:5] [0:16383] PLACED = X1Y10; - system_inst/boot_rom_inst/ram_blocks[4].inst RAMB16 [4:4] [0:16383] PLACED = X1Y8; - system_inst/boot_rom_inst/ram_blocks[3].inst RAMB16 [3:3] [0:16383] PLACED = X1Y12; - system_inst/boot_rom_inst/ram_blocks[2].inst RAMB16 [2:2] [0:16383] PLACED = X1Y24; - system_inst/boot_rom_inst/ram_blocks[1].inst RAMB16 [1:1] [0:16383] PLACED = X1Y22; - system_inst/boot_rom_inst/ram_blocks[0].inst RAMB16 [0:0] [0:16383] PLACED = X1Y26; - END_BUS_BLOCK; - END_ADDRESS_SPACE; - - - /////////////////////////////////////////////////////////////////////////////// - // - // Processor 'bootrom' address space 'vram_code' 0x00008000:0x0000BFFF (16 KBytes). - // - /////////////////////////////////////////////////////////////////////////////// - - ADDRESS_SPACE vram_code RAMB16 [0x00008000:0x0000BFFF] - BUS_BLOCK - system_inst/vdp_inst/vdp_vram_inst/ram_blocks[7].inst RAMB16 [7:7] [0:16383] PLACED = X0Y10; - system_inst/vdp_inst/vdp_vram_inst/ram_blocks[6].inst RAMB16 [6:6] [0:16383] PLACED = X0Y12; - system_inst/vdp_inst/vdp_vram_inst/ram_blocks[5].inst RAMB16 [5:5] [0:16383] PLACED = X0Y14; - system_inst/vdp_inst/vdp_vram_inst/ram_blocks[4].inst RAMB16 [4:4] [0:16383] PLACED = X0Y24; - system_inst/vdp_inst/vdp_vram_inst/ram_blocks[3].inst RAMB16 [3:3] [0:16383] PLACED = X0Y22; - system_inst/vdp_inst/vdp_vram_inst/ram_blocks[2].inst RAMB16 [2:2] [0:16383] PLACED = X0Y20; - system_inst/vdp_inst/vdp_vram_inst/ram_blocks[1].inst RAMB16 [1:1] [0:16383] PLACED = X0Y18; - system_inst/vdp_inst/vdp_vram_inst/ram_blocks[0].inst RAMB16 [0:0] [0:16383] PLACED = X0Y16; - END_BUS_BLOCK; - END_ADDRESS_SPACE; - -END_ADDRESS_MAP; - diff --git a/cores/MasterSystem/src/sms_rgb_zxuno_Ap.ucf b/cores/MasterSystem/src/sms_rgb_zxuno_Ap.ucf new file mode 100644 index 0000000..d39ec1b --- /dev/null +++ b/cores/MasterSystem/src/sms_rgb_zxuno_Ap.ucf @@ -0,0 +1,91 @@ +#UCF para el ZX-UNO +NET CLK LOC="P55" | IOSTANDARD = LVCMOS33 | PERIOD=20.0ns; +NET "led" LOC="P2" | IOSTANDARD = LVCMOS33; + +# Video output +NET "red(2)" LOC="P97" | IOSTANDARD = LVCMOS33; +NET "red(1)" LOC="P95" | IOSTANDARD = LVCMOS33; +NET "red(0)" LOC="P94" | IOSTANDARD = LVCMOS33; +NET "green(2)" LOC="P88" | IOSTANDARD = LVCMOS33; +NET "green(1)" LOC="P87" | IOSTANDARD = LVCMOS33; +NET "green(0)" LOC="P85" | IOSTANDARD = LVCMOS33; +NET "blue(2)" LOC="P84" | IOSTANDARD = LVCMOS33; +NET "blue(1)" LOC="P83" | IOSTANDARD = LVCMOS33; +NET "blue(0)" LOC="P82" | IOSTANDARD = LVCMOS33; +NET "hsync" LOC="P93" | IOSTANDARD = LVCMOS33; +NET "vsync" LOC="P92" | IOSTANDARD = LVCMOS33; +NET NTSC LOC="P51" | IOSTANDARD = LVCMOS33; +NET PAL LOC="P50" | IOSTANDARD = LVCMOS33; + +# Sound input/output +NET "audio_l" LOC="P98" | IOSTANDARD = LVCMOS33; +NET "audio_r" LOC="P99" | IOSTANDARD = LVCMOS33; +#NET "ear" LOC="P1" | IOSTANDARD = LVCMOS33; + +# Keyboard and mouse +#NET "clkps2" LOC="P143" | IOSTANDARD = LVCMOS33 | PULLUP; +#NET "dataps2" LOC="P142" | IOSTANDARD = LVCMOS33 | PULLUP; +#NET "mouseclk" LOC="P57" | IOSTANDARD = LVCMOS33 | PULLUP; +#NET "mousedata" LOC="P56" | IOSTANDARD = LVCMOS33 | PULLUP; + +# SRAM +NET ram_a(0) LOC="P115" | IOSTANDARD = LVCMOS33 | SLEW=FAST; +NET ram_a(1) LOC="P116" | IOSTANDARD = LVCMOS33 | SLEW=FAST; +NET ram_a(2) LOC="P117" | IOSTANDARD = LVCMOS33 | SLEW=FAST; +NET ram_a(3) LOC="P119" | IOSTANDARD = LVCMOS33 | SLEW=FAST; +NET ram_a(4) LOC="P120" | IOSTANDARD = LVCMOS33 | SLEW=FAST; +NET ram_a(5) LOC="P123" | IOSTANDARD = LVCMOS33 | SLEW=FAST; +NET ram_a(6) LOC="P126" | IOSTANDARD = LVCMOS33 | SLEW=FAST; +NET ram_a(7) LOC="P131" | IOSTANDARD = LVCMOS33 | SLEW=FAST; +NET ram_a(8) LOC="P127" | IOSTANDARD = LVCMOS33 | SLEW=FAST; +NET ram_a(9) LOC="P124 | IOSTANDARD = LVCMOS33 | SLEW=FAST; +NET ram_a(10) LOC="P118" | IOSTANDARD = LVCMOS33 | SLEW=FAST; +NET ram_a(11) LOC="P121" | IOSTANDARD = LVCMOS33 | SLEW=FAST; +NET ram_a(12) LOC="P133" | IOSTANDARD = LVCMOS33 | SLEW=FAST; +NET ram_a(13) LOC="P132" | IOSTANDARD = LVCMOS33 | SLEW=FAST; +NET ram_a(14) LOC="P137" | IOSTANDARD = LVCMOS33 | SLEW=FAST; +NET ram_a(15) LOC="P140" | IOSTANDARD = LVCMOS33 | SLEW=FAST; +NET ram_a(16) LOC="P139" | IOSTANDARD = LVCMOS33 | SLEW=FAST; +NET ram_a(17) LOC="P141" | IOSTANDARD = LVCMOS33 | SLEW=FAST; +NET ram_a(18) LOC="P138" | IOSTANDARD = LVCMOS33 | SLEW=FAST; +#NET "sram_addr<19>" LOC="P111" | IOSTANDARD = LVCMOS33; +#NET "sram_addr<20>" LOC="P138" | IOSTANDARD = LVCMOS33; + +NET ram_d(0) LOC="P114" | IOSTANDARD = LVCMOS33 | SLEW=FAST; +NET ram_d(1) LOC="P112" | IOSTANDARD = LVCMOS33 | SLEW=FAST; +NET ram_d(2) LOC="P111" | IOSTANDARD = LVCMOS33 | SLEW=FAST; +NET ram_d(3) LOC="P105" | IOSTANDARD = LVCMOS33 | SLEW=FAST; +NET ram_d(4) LOC="P104" | IOSTANDARD = LVCMOS33 | SLEW=FAST; +NET ram_d(5) LOC="P102" | IOSTANDARD = LVCMOS33 | SLEW=FAST; +NET ram_d(6) LOC="P101" | IOSTANDARD = LVCMOS33 | SLEW=FAST; +NET ram_d(7) LOC="P100" | IOSTANDARD = LVCMOS33 | SLEW=FAST; + +NET ram_WE_n LOC="P134" | IOSTANDARD = LVCMOS33 | SLEW=FAST; + +# SPI Flash +#NET "flash_cs_n" LOC="P38" | IOSTANDARD = LVCMOS33; +#NET "flash_clk" LOC="P70" | IOSTANDARD = LVCMOS33; +#NET "flash_mosi" LOC="P64" | IOSTANDARD = LVCMOS33; +#NET "flash_miso" LOC="P65" | IOSTANDARD = LVCMOS33; +#NET "flash_ext1" LOC="P62" | IOSTANDARD = LVCMOS33; +#NET "flash_ext2" LOC="P61" | IOSTANDARD = LVCMOS33; + +# SD/MMC +NET "spi_cs_n" LOC="P78" | IOSTANDARD=LVCMOS33 | DRIVE=8 | SLEW=FAST; +NET "spi_sclk" LOC="P80" | IOSTANDARD=LVCMOS33 | DRIVE=8 | SLEW=FAST; +NET "spi_di" LOC="P79" | IOSTANDARD=LVCMOS33 | DRIVE=8 | SLEW=FAST; +NET "spi_do" LOC="P81" | IOSTANDARD=LVCMOS33 | DRIVE=8 | SLEW=FAST; + +# JOYSTICK +NET "j1_up" LOC="P74" | IOSTANDARD = LVCMOS33 | PULLUP; +NET "j1_down" LOC="P67" | IOSTANDARD = LVCMOS33 | PULLUP; +NET "j1_left" LOC="P59" | IOSTANDARD = LVCMOS33 | PULLUP; +NET "j1_right" LOC="P58" | IOSTANDARD = LVCMOS33 | PULLUP; +NET "j1_tl" LOC="P75" | IOSTANDARD = LVCMOS33 | PULLUP; +#NET "joyfire2" LOC="P8" | IOSTANDARD = LVCMOS33 | PULLUP; +NET "j1_tr" LOC="P39" | IOSTANDARD = LVCMOS33 | PULLUP; + + + + + diff --git a/cores/MasterSystem/src/sms_rgb_zxuno_v2.ucf b/cores/MasterSystem/src/sms_rgb_zxuno_v2.ucf new file mode 100644 index 0000000..06c336c --- /dev/null +++ b/cores/MasterSystem/src/sms_rgb_zxuno_v2.ucf @@ -0,0 +1,91 @@ +#UCF para el ZX-UNO +NET CLK LOC="P55" | IOSTANDARD = LVCMOS33 | PERIOD=20.0ns; +NET "led" LOC="P10" | IOSTANDARD = LVCMOS33; + +# Video output +NET "red(2)" LOC="P93" | IOSTANDARD = LVCMOS33; +NET "red(1)" LOC="P92" | IOSTANDARD = LVCMOS33; +NET "red(0)" LOC="P88" | IOSTANDARD = LVCMOS33; +NET "green(2)" LOC="P84" | IOSTANDARD = LVCMOS33; +NET "green(1)" LOC="P83" | IOSTANDARD = LVCMOS33; +NET "green(0)" LOC="P82" | IOSTANDARD = LVCMOS33; +NET "blue(2)" LOC="P81" | IOSTANDARD = LVCMOS33; +NET "blue(1)" LOC="P80" | IOSTANDARD = LVCMOS33; +NET "blue(0)" LOC="P79" | IOSTANDARD = LVCMOS33; +NET "hsync" LOC="P87" | IOSTANDARD = LVCMOS33; +NET "vsync" LOC="P85" | IOSTANDARD = LVCMOS33; +NET NTSC LOC="P67" | IOSTANDARD = LVCMOS33; +NET PAL LOC="P66" | IOSTANDARD = LVCMOS33; + +# Sound input/output +NET "audio_l" LOC="P8" | IOSTANDARD=LVCMOS33; +NET "audio_r" LOC="P9" | IOSTANDARD=LVCMOS33; +#NET "ear" LOC="P105" | IOSTANDARD = LVCMOS33; + +# Keyboard and mouse +#NET "clkps2" LOC="P98" | IOSTANDARD = LVCMOS33 | PULLUP; +#NET "dataps2" LOC="P97" | IOSTANDARD = LVCMOS33 | PULLUP; +#NET "mouseclk" LOC="P94" | IOSTANDARD = LVCMOS33 | PULLUP; +#NET "mousedata" LOC="P95" | IOSTANDARD = LVCMOS33 | PULLUP; + +# SRAM +NET ram_a(0) LOC="P115" | IOSTANDARD = LVCMOS33 | SLEW=FAST; +NET ram_a(1) LOC="P116" | IOSTANDARD = LVCMOS33 | SLEW=FAST; +NET ram_a(2) LOC="P117" | IOSTANDARD = LVCMOS33 | SLEW=FAST; +NET ram_a(3) LOC="P119" | IOSTANDARD = LVCMOS33 | SLEW=FAST; +NET ram_a(4) LOC="P120" | IOSTANDARD = LVCMOS33 | SLEW=FAST; +NET ram_a(5) LOC="P123" | IOSTANDARD = LVCMOS33 | SLEW=FAST; +NET ram_a(6) LOC="P126" | IOSTANDARD = LVCMOS33 | SLEW=FAST; +NET ram_a(7) LOC="P131" | IOSTANDARD = LVCMOS33 | SLEW=FAST; +NET ram_a(8) LOC="P127" | IOSTANDARD = LVCMOS33 | SLEW=FAST; +NET ram_a(9) LOC="P124" | IOSTANDARD = LVCMOS33 | SLEW=FAST; +NET ram_a(10) LOC="P118" | IOSTANDARD = LVCMOS33 | SLEW=FAST; +NET ram_a(11) LOC="P121" | IOSTANDARD = LVCMOS33 | SLEW=FAST; +NET ram_a(12) LOC="P133" | IOSTANDARD = LVCMOS33 | SLEW=FAST; +NET ram_a(13) LOC="P132" | IOSTANDARD = LVCMOS33 | SLEW=FAST; +NET ram_a(14) LOC="P137" | IOSTANDARD = LVCMOS33 | SLEW=FAST; +NET ram_a(15) LOC="P140" | IOSTANDARD = LVCMOS33 | SLEW=FAST; +NET ram_a(16) LOC="P139" | IOSTANDARD = LVCMOS33 | SLEW=FAST; +NET ram_a(17) LOC="P141" | IOSTANDARD = LVCMOS33 | SLEW=FAST; +NET ram_a(18) LOC="P138" | IOSTANDARD = LVCMOS33 | SLEW=FAST; +#NET "sram_addr<19>" LOC="P111" | IOSTANDARD = LVCMOS33; +#NET "sram_addr<20>" LOC="P138" | IOSTANDARD = LVCMOS33; + +NET ram_d(0) LOC="P114" | IOSTANDARD = LVCMOS33 | SLEW=FAST; +NET ram_d(1) LOC="P112" | IOSTANDARD = LVCMOS33 | SLEW=FAST; +NET ram_d(2) LOC="P111" | IOSTANDARD = LVCMOS33 | SLEW=FAST; +NET ram_d(3) LOC="P99" | IOSTANDARD = LVCMOS33 | SLEW=FAST; +NET ram_d(4) LOC="P100" | IOSTANDARD = LVCMOS33 | SLEW=FAST; +NET ram_d(5) LOC="P101" | IOSTANDARD = LVCMOS33 | SLEW=FAST; +NET ram_d(6) LOC="P102" | IOSTANDARD = LVCMOS33 | SLEW=FAST; +NET ram_d(7) LOC="P104" | IOSTANDARD = LVCMOS33 | SLEW=FAST; + +NET ram_WE_n LOC="P134" | IOSTANDARD = LVCMOS33 | SLEW=FAST; + +# SPI Flash +#NET "flash_cs_n" LOC="P38" | IOSTANDARD = LVCMOS33; +#NET "flash_clk" LOC="P70" | IOSTANDARD = LVCMOS33; +#NET "flash_mosi" LOC="P64" | IOSTANDARD = LVCMOS33; +#NET "flash_miso" LOC="P65" | IOSTANDARD = LVCMOS33; +#NET "flash_ext1" LOC="P62" | IOSTANDARD = LVCMOS33; +#NET "flash_ext2" LOC="P61" | IOSTANDARD = LVCMOS33; + +# SD/MMC +NET "spi_cs_n" LOC="P59" | IOSTANDARD = LVCMOS33 | DRIVE=8 | SLEW=FAST; +NET "spi_sclk" LOC="P75" | IOSTANDARD = LVCMOS33 | DRIVE=8 | SLEW=FAST; +NET "spi_di" LOC="P74" | IOSTANDARD = LVCMOS33 | DRIVE=8 | SLEW=FAST; +NET "spi_do" LOC="P78" | IOSTANDARD = LVCMOS33 | DRIVE=8 | SLEW=FAST; + +# JOYSTICK +NET "j1_up" LOC="P142" | IOSTANDARD = LVCMOS33 | PULLUP; +NET "j1_down" LOC="P1" | IOSTANDARD = LVCMOS33 | PULLUP; +NET "j1_left" LOC="P2" | IOSTANDARD = LVCMOS33 | PULLUP; +NET "j1_right" LOC="P5" | IOSTANDARD = LVCMOS33 | PULLUP; +NET "j1_tr" LOC="P143" | IOSTANDARD = LVCMOS33 | PULLUP; +NET "j1_tl" LOC="P6" | IOSTANDARD = LVCMOS33 | PULLUP; +#NET "joyfire3" LOC="P7" | IOSTANDARD = LVCMOS33 | PULLUP; + + + + + diff --git a/cores/MasterSystem/src/sms_rgb_zxuno_v3.ucf b/cores/MasterSystem/src/sms_rgb_zxuno_v3.ucf new file mode 100644 index 0000000..c529d61 --- /dev/null +++ b/cores/MasterSystem/src/sms_rgb_zxuno_v3.ucf @@ -0,0 +1,91 @@ +#UCF para el ZX-UNO +NET CLK LOC="P55" | IOSTANDARD = LVCMOS33 | PERIOD=20.0ns; +NET "led" LOC="P10" | IOSTANDARD = LVCMOS33; + +# Video output +NET "red(2)" LOC="P93" | IOSTANDARD = LVCMOS33; +NET "red(1)" LOC="P92" | IOSTANDARD = LVCMOS33; +NET "red(0)" LOC="P88" | IOSTANDARD = LVCMOS33; +NET "green(2)" LOC="P84" | IOSTANDARD = LVCMOS33; +NET "green(1)" LOC="P83" | IOSTANDARD = LVCMOS33; +NET "green(0)" LOC="P82" | IOSTANDARD = LVCMOS33; +NET "blue(2)" LOC="P81" | IOSTANDARD = LVCMOS33; +NET "blue(1)" LOC="P80" | IOSTANDARD = LVCMOS33; +NET "blue(0)" LOC="P79" | IOSTANDARD = LVCMOS33; +NET "hsync" LOC="P87" | IOSTANDARD = LVCMOS33; +NET "vsync" LOC="P85" | IOSTANDARD = LVCMOS33; +NET NTSC LOC="P67" | IOSTANDARD = LVCMOS33; +NET PAL LOC="P66" | IOSTANDARD = LVCMOS33; + +# Sound input/output +NET "audio_l" LOC="P8" | IOSTANDARD = LVCMOS33; +NET "audio_r" LOC="P9" | IOSTANDARD = LVCMOS33; +#NET "ear" LOC="P105" | IOSTANDARD = LVCMOS33; + +# Keyboard and mouse +#NET "clkps2" LOC="P98" | IOSTANDARD = LVCMOS33 | PULLUP; +#NET "dataps2" LOC="P97" | IOSTANDARD = LVCMOS33 | PULLUP; +#NET "mouseclk" LOC="P94" | IOSTANDARD = LVCMOS33 | PULLUP; +#NET "mousedata" LOC="P95" | IOSTANDARD = LVCMOS33 | PULLUP; + +# SRAM +NET ram_a(0) LOC="P143" | IOSTANDARD = LVCMOS33 | SLEW=FAST; +NET ram_a(1) LOC="P142" | IOSTANDARD = LVCMOS33 | SLEW=FAST; +NET ram_a(2) LOC="P141" | IOSTANDARD = LVCMOS33 | SLEW=FAST; +NET ram_a(3) LOC="P140" | IOSTANDARD = LVCMOS33 | SLEW=FAST; +NET ram_a(4) LOC="P139" | IOSTANDARD = LVCMOS33 | SLEW=FAST; +NET ram_a(5) LOC="P104" | IOSTANDARD = LVCMOS33 | SLEW=FAST; +NET ram_a(6) LOC="P102" | IOSTANDARD = LVCMOS33 | SLEW=FAST; +NET ram_a(7) LOC="P101" | IOSTANDARD = LVCMOS33 | SLEW=FAST; +NET ram_a(8) LOC="P100" | IOSTANDARD = LVCMOS33 | SLEW=FAST; +NET ram_a(9) LOC="P99" | IOSTANDARD = LVCMOS33 | SLEW=FAST; +NET ram_a(10) LOC="P112" | IOSTANDARD = LVCMOS33 | SLEW=FAST; +NET ram_a(11) LOC="P114" | IOSTANDARD = LVCMOS33 | SLEW=FAST; +NET ram_a(12) LOC="P115" | IOSTANDARD = LVCMOS33 | SLEW=FAST; +NET ram_a(13) LOC="P116" | IOSTANDARD = LVCMOS33 | SLEW=FAST; +NET ram_a(14) LOC="P117" | IOSTANDARD = LVCMOS33 | SLEW=FAST; +NET ram_a(15) LOC="P131" | IOSTANDARD = LVCMOS33 | SLEW=FAST; +NET ram_a(16) LOC="P133" | IOSTANDARD = LVCMOS33 | SLEW=FAST; +NET ram_a(17) LOC="P134" | IOSTANDARD = LVCMOS33 | SLEW=FAST; +NET ram_a(18) LOC="P137" | IOSTANDARD = LVCMOS33 | SLEW=FAST; +#NET "sram_addr<19>" LOC="P111" | IOSTANDARD = LVCMOS33; +#NET "sram_addr<20>" LOC="P138" | IOSTANDARD = LVCMOS33; + +NET ram_d(0) LOC="P132" | IOSTANDARD = LVCMOS33 | SLEW=FAST; +NET ram_d(1) LOC="P126" | IOSTANDARD = LVCMOS33 | SLEW=FAST; +NET ram_d(2) LOC="P123" | IOSTANDARD = LVCMOS33 | SLEW=FAST; +NET ram_d(3) LOC="P120" | IOSTANDARD = LVCMOS33 | SLEW=FAST; +NET ram_d(4) LOC="P119" | IOSTANDARD = LVCMOS33 | SLEW=FAST; +NET ram_d(5) LOC="P121" | IOSTANDARD = LVCMOS33 | SLEW=FAST; +NET ram_d(6) LOC="P124" | IOSTANDARD = LVCMOS33 | SLEW=FAST; +NET ram_d(7) LOC="P127" | IOSTANDARD = LVCMOS33 | SLEW=FAST; + +NET ram_WE_n LOC="P118" | IOSTANDARD = LVCMOS33 | SLEW=FAST; + +# SPI Flash +#NET "flash_cs_n" LOC="P38" | IOSTANDARD = LVCMOS33; +#NET "flash_clk" LOC="P70" | IOSTANDARD = LVCMOS33; +#NET "flash_mosi" LOC="P64" | IOSTANDARD = LVCMOS33; +#NET "flash_miso" LOC="P65" | IOSTANDARD = LVCMOS33; +#NET "flash_ext1" LOC="P62" | IOSTANDARD = LVCMOS33; +#NET "flash_ext2" LOC="P61" | IOSTANDARD = LVCMOS33; + +# SD/MMC +NET "spi_cs_n" LOC="P59" | IOSTANDARD=LVCMOS33 | DRIVE=8 | SLEW=FAST; +NET "spi_sclk" LOC="P75" | IOSTANDARD=LVCMOS33 | DRIVE=8 | SLEW=FAST; +NET "spi_di" LOC="P74" | IOSTANDARD=LVCMOS33 | DRIVE=8 | SLEW=FAST; +NET "spi_do" LOC="P78" | IOSTANDARD=LVCMOS33 | DRIVE=8 | SLEW=FAST; + +# JOYSTICK +NET "j1_up" LOC="P1" | IOSTANDARD = LVCMOS33 | PULLUP; +NET "j1_down" LOC="P5" | IOSTANDARD = LVCMOS33 | PULLUP; +NET "j1_left" LOC="P6" | IOSTANDARD = LVCMOS33 | PULLUP; +NET "j1_right" LOC="P7" | IOSTANDARD = LVCMOS33 | PULLUP; +NET "j1_tl" LOC="P2" | IOSTANDARD = LVCMOS33 | PULLUP; +#NET "joyfire2" LOC="P8" | IOSTANDARD = LVCMOS33 | PULLUP; +NET "j1_tr" LOC="P39" | IOSTANDARD = LVCMOS33 | PULLUP; + + + + + diff --git a/cores/MasterSystem/src/sms_rgb_zxuno_v4.ucf b/cores/MasterSystem/src/sms_rgb_zxuno_v4.ucf new file mode 100644 index 0000000..84b51be --- /dev/null +++ b/cores/MasterSystem/src/sms_rgb_zxuno_v4.ucf @@ -0,0 +1,91 @@ +#UCF para el ZX-UNO +NET CLK LOC="P55" | IOSTANDARD = LVCMOS33 | PERIOD=20.0ns; +NET "led" LOC="P11" | IOSTANDARD = LVCMOS33; + +# Video output +NET "red(2)" LOC="P81" | IOSTANDARD = LVCMOS33; +NET "red(1)" LOC="P80" | IOSTANDARD = LVCMOS33; +NET "red(0)" LOC="P79" | IOSTANDARD = LVCMOS33; +NET "green(2)" LOC="P84" | IOSTANDARD = LVCMOS33; +NET "green(1)" LOC="P83" | IOSTANDARD = LVCMOS33; +NET "green(0)" LOC="P82" | IOSTANDARD = LVCMOS33; +NET "blue(2)" LOC="P93" | IOSTANDARD = LVCMOS33; +NET "blue(1)" LOC="P92" | IOSTANDARD = LVCMOS33; +NET "blue(0)" LOC="P88" | IOSTANDARD = LVCMOS33; +NET "hsync" LOC="P87" | IOSTANDARD = LVCMOS33; +NET "vsync" LOC="P85" | IOSTANDARD = LVCMOS33; +NET NTSC LOC="P66" | IOSTANDARD = LVCMOS33; +NET PAL LOC="P67" | IOSTANDARD = LVCMOS33; + +# Sound input/output +NET "audio_l" LOC="P10" | IOSTANDARD = LVCMOS33; +NET "audio_r" LOC="P9" | IOSTANDARD = LVCMOS33; +#NET "ear" LOC="P94" | IOSTANDARD = LVCMOS33; + +# Keyboard and mouse +#NET "clkps2" LOC="P98" | IOSTANDARD = LVCMOS33 | PULLUP; +#NET "dataps2" LOC="P97" | IOSTANDARD = LVCMOS33 | PULLUP; +#NET "mouseclk" LOC="P95" | IOSTANDARD = LVCMOS33 | PULLUP; +#NET "mousedata" LOC="P97" | IOSTANDARD = LVCMOS33 | PULLUP; + +# SRAM +NET ram_a(0) LOC="P141" | IOSTANDARD = LVCMOS33 | SLEW=FAST; +NET ram_a(1) LOC="P139" | IOSTANDARD = LVCMOS33 | SLEW=FAST; +NET ram_a(2) LOC="P137" | IOSTANDARD = LVCMOS33 | SLEW=FAST; +NET ram_a(3) LOC="P134" | IOSTANDARD = LVCMOS33 | SLEW=FAST; +NET ram_a(4) LOC="P133" | IOSTANDARD = LVCMOS33 | SLEW=FAST; +NET ram_a(5) LOC="P120" | IOSTANDARD = LVCMOS33 | SLEW=FAST; +NET ram_a(6) LOC="P118" | IOSTANDARD = LVCMOS33 | SLEW=FAST; +NET ram_a(7) LOC="P116" | IOSTANDARD = LVCMOS33 | SLEW=FAST; +NET ram_a(8) LOC="P114" | IOSTANDARD = LVCMOS33 | SLEW=FAST; +NET ram_a(9) LOC="P112" | IOSTANDARD = LVCMOS33 | SLEW=FAST; +NET ram_a(10) LOC="P104" | IOSTANDARD = LVCMOS33 | SLEW=FAST; +NET ram_a(11) LOC="P102" | IOSTANDARD = LVCMOS33 | SLEW=FAST; +NET ram_a(12) LOC="P101" | IOSTANDARD = LVCMOS33 | SLEW=FAST; +NET ram_a(13) LOC="P100" | IOSTANDARD = LVCMOS33 | SLEW=FAST; +NET ram_a(14) LOC="P111" | IOSTANDARD = LVCMOS33 | SLEW=FAST; +NET ram_a(15) LOC="P131" | IOSTANDARD = LVCMOS33 | SLEW=FAST; +NET ram_a(16) LOC="P138" | IOSTANDARD = LVCMOS33 | SLEW=FAST; +NET ram_a(17) LOC="P140" | IOSTANDARD = LVCMOS33 | SLEW=FAST; +NET ram_a(18) LOC="P142" | IOSTANDARD = LVCMOS33 | SLEW=FAST; +#NET "sram_addr<19>" LOC="P105" | IOSTANDARD = LVCMOS33; +#NET "sram_addr<20>" LOC="P143" | IOSTANDARD = LVCMOS33; + +NET ram_d(0) LOC="P132" | IOSTANDARD = LVCMOS33 | SLEW=FAST; +NET ram_d(1) LOC="P127" | IOSTANDARD = LVCMOS33 | SLEW=FAST; +NET ram_d(2) LOC="P124" | IOSTANDARD = LVCMOS33 | SLEW=FAST; +NET ram_d(3) LOC="P123" | IOSTANDARD = LVCMOS33 | SLEW=FAST; +NET ram_d(4) LOC="P115" | IOSTANDARD = LVCMOS33 | SLEW=FAST; +NET ram_d(5) LOC="P117" | IOSTANDARD = LVCMOS33 | SLEW=FAST; +NET ram_d(6) LOC="P119" | IOSTANDARD = LVCMOS33 | SLEW=FAST; +NET ram_d(7) LOC="P126" | IOSTANDARD = LVCMOS33 | SLEW=FAST; + +NET ram_WE_n LOC="P121" | IOSTANDARD = LVCMOS33 | SLEW=FAST; + +# SPI Flash +#NET "flash_cs_n" LOC="P38" | IOSTANDARD = LVCMOS33; +#NET "flash_clk" LOC="P70" | IOSTANDARD = LVCMOS33; +#NET "flash_mosi" LOC="P64" | IOSTANDARD = LVCMOS33; +#NET "flash_miso" LOC="P65" | IOSTANDARD = LVCMOS33; +#NET "flash_ext1" LOC="P62" | IOSTANDARD = LVCMOS33; +#NET "flash_ext2" LOC="P61" | IOSTANDARD = LVCMOS33; + +# SD/MMC +NET "spi_cs_n" LOC="P59" | IOSTANDARD=LVCMOS33 | DRIVE=8 | SLEW=FAST; +NET "spi_sclk" LOC="P75" | IOSTANDARD=LVCMOS33 | DRIVE=8 | SLEW=FAST; +NET "spi_di" LOC="P74" | IOSTANDARD=LVCMOS33 | DRIVE=8 | SLEW=FAST; +NET "spi_do" LOC="P78" | IOSTANDARD=LVCMOS33 | DRIVE=8 | SLEW=FAST; + +# JOYSTICK +NET "j1_up" LOC="P1" | IOSTANDARD = LVCMOS33 | PULLUP; +NET "j1_down" LOC="P5" | IOSTANDARD = LVCMOS33 | PULLUP; +NET "j1_left" LOC="P6" | IOSTANDARD = LVCMOS33 | PULLUP; +NET "j1_right" LOC="P7" | IOSTANDARD = LVCMOS33 | PULLUP; +NET "j1_tl" LOC="P2" | IOSTANDARD = LVCMOS33 | PULLUP; +#NET "joyfire2" LOC="P8" | IOSTANDARD = LVCMOS33 | PULLUP; +NET "j1_tr" LOC="P39" | IOSTANDARD = LVCMOS33 | PULLUP; + + + + + diff --git a/cores/MasterSystem/src/sms_zxuno.ucf b/cores/MasterSystem/src/sms_zxuno.ucf deleted file mode 100644 index 29eb396..0000000 --- a/cores/MasterSystem/src/sms_zxuno.ucf +++ /dev/null @@ -1,69 +0,0 @@ -#UCF para el ZX-UNO - -NET CLK LOC="P55" | IOSTANDARD=LVCMOS33 ; # CLK - -NET "led" LOC="P10" | IOSTANDARD=LVCMOS33; - -NET "j1_tr" LOC="P143" | IOSTANDARD=LVCMOS33 | PULLUP; -NET "j1_tl" LOC="P6" | IOSTANDARD=LVCMOS33 | PULLUP; -NET "j1_right" LOC="P5" | IOSTANDARD=LVCMOS33 | PULLUP; -NET "j1_left" LOC="P2" | IOSTANDARD=LVCMOS33 | PULLUP; -NET "j1_down" LOC="P1" | IOSTANDARD=LVCMOS33 | PULLUP; -NET "j1_up" LOC="P142" | IOSTANDARD=LVCMOS33 | PULLUP; - -NET "vsync" LOC="P85" | IOSTANDARD=LVCMOS33; -NET "hsync" LOC="P87" | IOSTANDARD=LVCMOS33; - -NET "green(0)" LOC="P82" | IOSTANDARD=LVCMOS33; -NET "red(0)" LOC="P88" | IOSTANDARD=LVCMOS33; -NET "blue(0)" LOC="P79" | IOSTANDARD=LVCMOS33; - -NET "green(1)" LOC="P83" | IOSTANDARD=LVCMOS33; -NET "red(1)" LOC="P92" | IOSTANDARD=LVCMOS33; -NET "blue(1)" LOC="P80" | IOSTANDARD=LVCMOS33; - -NET "green(2)" LOC="P84" | IOSTANDARD=LVCMOS33; -NET "red(2)" LOC="P93" | IOSTANDARD=LVCMOS33; -NET "blue(2)" LOC="P81" | IOSTANDARD=LVCMOS33; - -NET "spi_do" LOC="P78" | IOSTANDARD=LVCMOS33 | DRIVE=8 | SLEW=FAST; # B1 -NET "spi_sclk" LOC="P75" | IOSTANDARD=LVCMOS33 | DRIVE=8 | SLEW=FAST; # B2 -NET "spi_di" LOC="P74" | IOSTANDARD=LVCMOS33 | DRIVE=8 | SLEW=FAST; # B3 -NET "spi_cs_n" LOC="P59" | IOSTANDARD=LVCMOS33 | DRIVE=8 | SLEW=FAST; # B4 - -NET "audio_l" LOC="P8" | IOSTANDARD=LVCMOS33; -NET "audio_r" LOC="P9" | IOSTANDARD=LVCMOS33; - -NET ram_a(0) LOC="P115" | IOSTANDARD=LVCMOS33 | SLEW=FAST; # ADDR0 -NET ram_a(1) LOC="P116" | IOSTANDARD=LVCMOS33 | SLEW=FAST; # ADDR1 -NET ram_a(2) LOC="P117" | IOSTANDARD=LVCMOS33 | SLEW=FAST; # ADDR2 -NET ram_a(3) LOC="P119" | IOSTANDARD=LVCMOS33 | SLEW=FAST; # ADDR3 -NET ram_a(4) LOC="P120" | IOSTANDARD=LVCMOS33 | SLEW=FAST; # ADDR4 -NET ram_a(5) LOC="P123" | IOSTANDARD=LVCMOS33 | SLEW=FAST; # ADDR5 -NET ram_a(6) LOC="P126" | IOSTANDARD=LVCMOS33 | SLEW=FAST; # ADDR6 -NET ram_a(7) LOC="P131" | IOSTANDARD=LVCMOS33 | SLEW=FAST; # ADDR7 -NET ram_a(8) LOC="P127" | IOSTANDARD=LVCMOS33 | SLEW=FAST; # ADDR8 -NET ram_a(9) LOC="P124" | IOSTANDARD=LVCMOS33 | SLEW=FAST; # ADDR9 -NET ram_a(10) LOC="P118" | IOSTANDARD=LVCMOS33 | SLEW=FAST; # ADDR10 -NET ram_a(11) LOC="P121" | IOSTANDARD=LVCMOS33 | SLEW=FAST; # ADDR11 -NET ram_a(12) LOC="P133" | IOSTANDARD=LVCMOS33 | SLEW=FAST; # ADDR12 -NET ram_a(13) LOC="P132" | IOSTANDARD=LVCMOS33 | SLEW=FAST; # ADDR13 -NET ram_a(14) LOC="P137" | IOSTANDARD=LVCMOS33 | SLEW=FAST; # ADDR14 -NET ram_a(15) LOC="P140" | IOSTANDARD=LVCMOS33 | SLEW=FAST; # ADDR15 -NET ram_a(16) LOC="P139" | IOSTANDARD=LVCMOS33 | SLEW=FAST; # ADDR16 -NET ram_a(17) LOC="P141" | IOSTANDARD=LVCMOS33 | SLEW=FAST; # ADDR17 -NET ram_a(18) LOC="P138" | IOSTANDARD=LVCMOS33 | SLEW=FAST; # ADDR18 - -NET ram_d(0) LOC="P114" | IOSTANDARD=LVCMOS33 | SLEW=FAST; # DATA0 -NET ram_d(1) LOC="P112" | IOSTANDARD=LVCMOS33 | SLEW=FAST; # DATA1 -NET ram_d(2) LOC="P111" | IOSTANDARD=LVCMOS33 | SLEW=FAST; # DATA2 -NET ram_d(3) LOC="P99" | IOSTANDARD=LVCMOS33 | SLEW=FAST; # DATA3 -NET ram_d(4) LOC="P100" | IOSTANDARD=LVCMOS33 | SLEW=FAST; # DATA4 -NET ram_d(5) LOC="P101" | IOSTANDARD=LVCMOS33 | SLEW=FAST; # DATA5 -NET ram_d(6) LOC="P102" | IOSTANDARD=LVCMOS33 | SLEW=FAST; # DATA6 -NET ram_d(7) LOC="P104" | IOSTANDARD=LVCMOS33 | SLEW=FAST; # DATA7 - -NET ram_WE_n LOC="P134" | IOSTANDARD=LVCMOS33 | SLEW=FAST; # nWE - -NET NTSC LOC = "P67" | IOSTANDARD = LVCMOS33; -NET PAL LOC = "P66" | IOSTANDARD = LVCMOS33; \ No newline at end of file diff --git a/cores/MasterSystem/src/sms_zxuno_v3.ucf b/cores/MasterSystem/src/sms_zxuno_v3.ucf deleted file mode 100644 index 6389d58..0000000 --- a/cores/MasterSystem/src/sms_zxuno_v3.ucf +++ /dev/null @@ -1,69 +0,0 @@ -#UCF para el ZX-UNO - -NET CLK LOC="P55" | IOSTANDARD=LVCMOS33 ; # CLK - -NET "led" LOC="P10" | IOSTANDARD=LVCMOS33; - -NET "j1_tr" LOC="P39" | IOSTANDARD=LVCMOS33 | PULLUP; -NET "j1_tl" LOC="P2" | IOSTANDARD=LVCMOS33 | PULLUP; -NET "j1_right" LOC="P7" | IOSTANDARD=LVCMOS33 | PULLUP; -NET "j1_left" LOC="P6" | IOSTANDARD=LVCMOS33 | PULLUP; -NET "j1_down" LOC="P5" | IOSTANDARD=LVCMOS33 | PULLUP; -NET "j1_up" LOC="P1" | IOSTANDARD=LVCMOS33 | PULLUP; - -NET "vsync" LOC="P85" | IOSTANDARD=LVCMOS33; -NET "hsync" LOC="P87" | IOSTANDARD=LVCMOS33; - -NET "green(0)" LOC="P82" | IOSTANDARD=LVCMOS33; -NET "red(0)" LOC="P88" | IOSTANDARD=LVCMOS33; -NET "blue(0)" LOC="P79" | IOSTANDARD=LVCMOS33; - -NET "green(1)" LOC="P83" | IOSTANDARD=LVCMOS33; -NET "red(1)" LOC="P92" | IOSTANDARD=LVCMOS33; -NET "blue(1)" LOC="P80" | IOSTANDARD=LVCMOS33; - -NET "green(2)" LOC="P84" | IOSTANDARD=LVCMOS33; -NET "red(2)" LOC="P93" | IOSTANDARD=LVCMOS33; -NET "blue(2)" LOC="P81" | IOSTANDARD=LVCMOS33; - -NET "spi_do" LOC="P78" | IOSTANDARD=LVCMOS33 | DRIVE=8 | SLEW=FAST; # B1 -NET "spi_sclk" LOC="P75" | IOSTANDARD=LVCMOS33 | DRIVE=8 | SLEW=FAST; # B2 -NET "spi_di" LOC="P74" | IOSTANDARD=LVCMOS33 | DRIVE=8 | SLEW=FAST; # B3 -NET "spi_cs_n" LOC="P59" | IOSTANDARD=LVCMOS33 | DRIVE=8 | SLEW=FAST; # B4 - -NET "audio_l" LOC="P8" | IOSTANDARD=LVCMOS33; -NET "audio_r" LOC="P9" | IOSTANDARD=LVCMOS33; - -NET ram_a(0) LOC="P143" | IOSTANDARD=LVCMOS33 | SLEW=FAST; # ADDR0 -NET ram_a(1) LOC="P142" | IOSTANDARD=LVCMOS33 | SLEW=FAST; # ADDR1 -NET ram_a(2) LOC="P141" | IOSTANDARD=LVCMOS33 | SLEW=FAST; # ADDR2 -NET ram_a(3) LOC="P140" | IOSTANDARD=LVCMOS33 | SLEW=FAST; # ADDR3 -NET ram_a(4) LOC="P139" | IOSTANDARD=LVCMOS33 | SLEW=FAST; # ADDR4 -NET ram_a(5) LOC="P104" | IOSTANDARD=LVCMOS33 | SLEW=FAST; # ADDR5 -NET ram_a(6) LOC="P102" | IOSTANDARD=LVCMOS33 | SLEW=FAST; # ADDR6 -NET ram_a(7) LOC="P101" | IOSTANDARD=LVCMOS33 | SLEW=FAST; # ADDR7 -NET ram_a(8) LOC="P100" | IOSTANDARD=LVCMOS33 | SLEW=FAST; # ADDR8 -NET ram_a(9) LOC="P99" | IOSTANDARD=LVCMOS33 | SLEW=FAST; # ADDR9 -NET ram_a(10) LOC="P112" | IOSTANDARD=LVCMOS33 | SLEW=FAST; # ADDR10 -NET ram_a(11) LOC="P114" | IOSTANDARD=LVCMOS33 | SLEW=FAST; # ADDR11 -NET ram_a(12) LOC="P115" | IOSTANDARD=LVCMOS33 | SLEW=FAST; # ADDR12 -NET ram_a(13) LOC="P116" | IOSTANDARD=LVCMOS33 | SLEW=FAST; # ADDR13 -NET ram_a(14) LOC="P117" | IOSTANDARD=LVCMOS33 | SLEW=FAST; # ADDR14 -NET ram_a(15) LOC="P131" | IOSTANDARD=LVCMOS33 | SLEW=FAST; # ADDR15 -NET ram_a(16) LOC="P133" | IOSTANDARD=LVCMOS33 | SLEW=FAST; # ADDR16 -NET ram_a(17) LOC="P134" | IOSTANDARD=LVCMOS33 | SLEW=FAST; # ADDR17 -NET ram_a(18) LOC="P137" | IOSTANDARD=LVCMOS33 | SLEW=FAST; # ADDR18 - -NET ram_d(0) LOC="P132" | IOSTANDARD=LVCMOS33 | SLEW=FAST; # DATA0 -NET ram_d(1) LOC="P126" | IOSTANDARD=LVCMOS33 | SLEW=FAST; # DATA1 -NET ram_d(2) LOC="P123" | IOSTANDARD=LVCMOS33 | SLEW=FAST; # DATA2 -NET ram_d(3) LOC="P120" | IOSTANDARD=LVCMOS33 | SLEW=FAST; # DATA3 -NET ram_d(4) LOC="P119" | IOSTANDARD=LVCMOS33 | SLEW=FAST; # DATA4 -NET ram_d(5) LOC="P121" | IOSTANDARD=LVCMOS33 | SLEW=FAST; # DATA5 -NET ram_d(6) LOC="P124" | IOSTANDARD=LVCMOS33 | SLEW=FAST; # DATA6 -NET ram_d(7) LOC="P127" | IOSTANDARD=LVCMOS33 | SLEW=FAST; # DATA7 - -NET ram_WE_n LOC="P118" | IOSTANDARD=LVCMOS33 | SLEW=FAST; # nWE - -NET NTSC LOC = "P67" | IOSTANDARD = LVCMOS33; -NET PAL LOC = "P66" | IOSTANDARD = LVCMOS33; \ No newline at end of file