TG68 AMR Build
Performance
- VAX MIPS rating * 1000 = 4773 (4.77 MIPS)
PuTTY Setup
- Terminal
- Implicit CR in every LF
- Implicit LF in every CR
- Window - Appearance
- Window Title: COMxx_TG68_AMR
- Connection - Serial
J12 - I/O Connector
Software
Demo
- Demo GitHub Repo
- Load boot.sre to FAT32 formatted SD card
- Load test.img to SD card
- Insert SD card
- Turn on (plug in USB power cable)
- Press F1-F9,F12 for demos
VHDL Code
Resources
Pin List
To
|
Direction
|
Location
|
I/O Standard
|
Pull-Up
|
aud_l
|
Output
|
PIN_B16
|
3.3-V LVTTL
|
|
aud_r
|
Output
|
PIN_A16
|
3.3-V LVTTL
|
|
clk_50
|
Input
|
PIN_T2
|
3.3-V LVTTL
|
|
io_sdram_data[15]
|
Bidir
|
PIN_V11
|
3.3-V LVTTL
|
|
io_sdram_data[14]
|
Bidir
|
PIN_W10
|
3.3-V LVTTL
|
|
io_sdram_data[13]
|
Bidir
|
PIN_Y10
|
3.3-V LVTTL
|
|
io_sdram_data[12]
|
Bidir
|
PIN_V10
|
3.3-V LVTTL
|
|
io_sdram_data[11]
|
Bidir
|
PIN_V9
|
3.3-V LVTTL
|
|
io_sdram_data[10]
|
Bidir
|
PIN_Y8
|
3.3-V LVTTL
|
|
io_sdram_data[9]
|
Bidir
|
PIN_W8
|
3.3-V LVTTL
|
|
io_sdram_data[8]
|
Bidir
|
PIN_Y7
|
3.3-V LVTTL
|
|
io_sdram_data[7]
|
Bidir
|
PIN_AB5
|
3.3-V LVTTL
|
|
io_sdram_data[6]
|
Bidir
|
PIN_AA7
|
3.3-V LVTTL
|
|
io_sdram_data[5]
|
Bidir
|
PIN_AB7
|
3.3-V LVTTL
|
|
io_sdram_data[4]
|
Bidir
|
PIN_AA8
|
3.3-V LVTTL
|
|
io_sdram_data[3]
|
Bidir
|
PIN_AB8
|
3.3-V LVTTL
|
|
io_sdram_data[2]
|
Bidir
|
PIN_AA9
|
3.3-V LVTTL
|
|
io_sdram_data[1]
|
Bidir
|
PIN_AB9
|
3.3-V LVTTL
|
|
io_sdram_data[0]
|
Bidir
|
PIN_AA10
|
3.3-V LVTTL
|
|
leds[3]
|
Output
|
PIN_B21
|
3.3-V LVTTL
|
|
leds[2]
|
Output
|
PIN_B22
|
3.3-V LVTTL
|
|
leds[1]
|
Output
|
PIN_C21
|
3.3-V LVTTL
|
|
leds[0]
|
Output
|
PIN_C22
|
3.3-V LVTTL
|
|
o_sdram_addr[12]
|
Output
|
PIN_V6
|
3.3-V LVTTL
|
|
o_sdram_addr[11]
|
Output
|
PIN_Y4
|
3.3-V LVTTL
|
|
o_sdram_addr[10]
|
Output
|
PIN_W1
|
3.3-V LVTTL
|
|
o_sdram_addr[9]
|
Output
|
PIN_V5
|
3.3-V LVTTL
|
|
o_sdram_addr[8]
|
Output
|
PIN_Y3
|
3.3-V LVTTL
|
|
o_sdram_addr[7]
|
Output
|
PIN_AA1
|
3.3-V LVTTL
|
|
o_sdram_addr[6]
|
Output
|
PIN_Y2
|
3.3-V LVTTL
|
|
o_sdram_addr[5]
|
Output
|
PIN_V4
|
3.3-V LVTTL
|
|
o_sdram_addr[4]
|
Output
|
PIN_V3
|
3.3-V LVTTL
|
|
o_sdram_addr[3]
|
Output
|
PIN_U1
|
3.3-V LVTTL
|
|
o_sdram_addr[2]
|
Output
|
PIN_U2
|
3.3-V LVTTL
|
|
o_sdram_addr[1]
|
Output
|
PIN_V1
|
3.3-V LVTTL
|
|
o_sdram_addr[0]
|
Output
|
PIN_V2
|
3.3-V LVTTL
|
|
o_sdram_ba[1]
|
Output
|
PIN_W2
|
3.3-V LVTTL
|
|
o_sdram_ba[0]
|
Output
|
PIN_Y1
|
3.3-V LVTTL
|
|
o_sdram_cas
|
Output
|
PIN_AA4
|
3.3-V LVTTL
|
|
o_sdram_cke
|
Output
|
PIN_W6
|
3.3-V LVTTL
|
|
o_sdram_clk
|
Output
|
PIN_Y6
|
3.3-V LVTTL
|
|
o_sdram_cs
|
Output
|
PIN_AA3
|
3.3-V LVTTL
|
|
o_sdram_ldqm
|
Output
|
PIN_AA5
|
3.3-V LVTTL
|
|
o_sdram_ras
|
Output
|
PIN_AB3
|
3.3-V LVTTL
|
|
o_sdram_udqm
|
Output
|
PIN_W7
|
3.3-V LVTTL
|
|
o_sdram_we
|
Output
|
PIN_AB4
|
3.3-V LVTTL
|
|
o_vga_blue[4]
|
Output
|
PIN_AA14
|
3.3-V LVTTL
|
|
o_vga_blue[3]
|
Output
|
PIN_AB13
|
3.3-V LVTTL
|
|
o_vga_blue[2]
|
Output
|
PIN_AA15
|
3.3-V LVTTL
|
|
o_vga_blue[1]
|
Output
|
PIN_AB14
|
3.3-V LVTTL
|
|
o_vga_blue[0]
|
Output
|
PIN_AB15
|
3.3-V LVTTL
|
|
o_vga_green[5]
|
Output
|
PIN_AB16
|
3.3-V LVTTL
|
|
o_vga_green[4]
|
Output
|
PIN_AA16
|
3.3-V LVTTL
|
|
o_vga_green[3]
|
Output
|
PIN_AB17
|
3.3-V LVTTL
|
|
o_vga_green[2]
|
Output
|
PIN_AA17
|
3.3-V LVTTL
|
|
o_vga_green[1]
|
Output
|
PIN_AA18
|
3.3-V LVTTL
|
|
o_vga_green[0]
|
Output
|
PIN_AB18
|
3.3-V LVTTL
|
|
o_vga_hsync
|
Output
|
PIN_AA13
|
3.3-V LVTTL
|
|
o_vga_red[4]
|
Output
|
PIN_AB19
|
3.3-V LVTTL
|
|
o_vga_red[3]
|
Output
|
PIN_AA19
|
3.3-V LVTTL
|
|
o_vga_red[2]
|
Output
|
PIN_AB20
|
3.3-V LVTTL
|
|
o_vga_red[1]
|
Output
|
PIN_AA20
|
3.3-V LVTTL
|
|
o_vga_red[0]
|
Output
|
PIN_AA21
|
3.3-V LVTTL
|
|
o_vga_vsync
|
Output
|
PIN_AB10
|
3.3-V LVTTL
|
|
power_button
|
Input
|
PIN_C20
|
3.3-V LVTTL
|
on
|
power_hold
|
Output
|
PIN_D20
|
3.3-V LVTTL
|
on
|
ps2k_clk
|
Bidir
|
PIN_A10
|
3.3-V LVTTL
|
on
|
ps2k_dat
|
Bidir
|
PIN_A9
|
3.3-V LVTTL
|
on
|
ps2m_clk
|
Bidir
|
PIN_B10
|
3.3-V LVTTL
|
on
|
ps2m_dat
|
Bidir
|
PIN_B9
|
3.3-V LVTTL
|
on
|
reset_n
|
Input
|
PIN_J4
|
3.3-V LVTTL
|
on
|
rs232_rxd
|
Input
|
PIN_A13
|
3.3-V LVTTL
|
on
|
rs232_txd
|
Output
|
PIN_B13
|
3.3-V LVTTL
|
|
sd_clk
|
Output
|
PIN_B14
|
3.3-V LVTTL
|
|
sd_cs
|
Output
|
PIN_A14
|
3.3-V LVTTL
|
|
sd_miso
|
Input
|
PIN_A15
|
3.3-V LVTTL
|
on
|
sd_mosi
|
Output
|
PIN_B15
|
3.3-V LVTTL
|
|
qsf file
set_global_assignment -name FAMILY "Cyclone IV E"
set_global_assignment -name DEVICE EP4CE15F23C8
set_global_assignment -name CYCLONEIII_CONFIGURATION_DEVICE EPCQ64
set_global_assignment -name LAST_QUARTUS_VERSION "20.1.0 Lite Edition"
set_global_assignment -name SMART_RECOMPILE ON
set_global_assignment -name RESERVE_ASDO_AFTER_CONFIGURATION "AS INPUT TRI-STATED"
set_global_assignment -name STRATIX_DEVICE_IO_STANDARD "3.3-V LVTTL"
# Clock, reset button
set_location_assignment PIN_T2 -to clk_50
set_location_assignment PIN_J4 -to reset_n
set_instance_assignment -name WEAK_PULL_UP_RESISTOR ON -to reset_n
# Keyboard, Mouse - external card
set_location_assignment PIN_A9 -to ps2k_dat
set_location_assignment PIN_A10 -to ps2k_clk
set_location_assignment PIN_B10 -to ps2m_clk
set_location_assignment PIN_B9 -to ps2m_dat
set_instance_assignment -name WEAK_PULL_UP_RESISTOR ON -to ps2k_clk
set_instance_assignment -name WEAK_PULL_UP_RESISTOR ON -to ps2k_dat
set_instance_assignment -name WEAK_PULL_UP_RESISTOR ON -to ps2m_clk
set_instance_assignment -name WEAK_PULL_UP_RESISTOR ON -to ps2m_dat
# Serial - external card
set_location_assignment PIN_A13 -to rs232_rxd
set_instance_assignment -name WEAK_PULL_UP_RESISTOR ON -to rs232_rxd
set_location_assignment PIN_B13 -to rs232_txd
# SD card - external card
set_location_assignment PIN_B14 -to sd_clk
set_location_assignment PIN_A14 -to sd_cs
set_location_assignment PIN_A15 -to sd_miso
set_instance_assignment -name WEAK_PULL_UP_RESISTOR ON -to sd_miso
set_location_assignment PIN_B15 -to sd_mosi
# Power buttons - Pulled-up
set_location_assignment PIN_C20 -to power_button
set_instance_assignment -name WEAK_PULL_UP_RESISTOR ON -to power_button
set_location_assignment PIN_D20 -to power_hold
set_instance_assignment -name WEAK_PULL_UP_RESISTOR ON -to power_hold
# LEDs - External card
set_location_assignment PIN_B21 -to leds[3]
set_location_assignment PIN_B22 -to leds[2]
set_location_assignment PIN_C21 -to leds[1]
set_location_assignment PIN_C22 -to leds[0]
# Audio outputs on J12
set_location_assignment PIN_B16 -to aud_l
set_location_assignment PIN_A16 -to aud_r
# VGA video - (on-board FPGA card)
set_location_assignment PIN_AA13 -to o_vga_hsync
set_location_assignment PIN_AB10 -to o_vga_vsync
set_location_assignment PIN_AA21 -to o_vga_red[0]
set_location_assignment PIN_AA20 -to o_vga_red[1]
set_location_assignment PIN_AB20 -to o_vga_red[2]
set_location_assignment PIN_AA19 -to o_vga_red[3]
set_location_assignment PIN_AB19 -to o_vga_red[4]
set_location_assignment PIN_AB15 -to o_vga_blue[0]
set_location_assignment PIN_AB14 -to o_vga_blue[1]
set_location_assignment PIN_AA15 -to o_vga_blue[2]
set_location_assignment PIN_AB13 -to o_vga_blue[3]
set_location_assignment PIN_AA14 -to o_vga_blue[4]
set_location_assignment PIN_AB18 -to o_vga_green[0]
set_location_assignment PIN_AA18 -to o_vga_green[1]
set_location_assignment PIN_AA17 -to o_vga_green[2]
set_location_assignment PIN_AB17 -to o_vga_green[3]
set_location_assignment PIN_AA16 -to o_vga_green[4]
set_location_assignment PIN_AB16 -to o_vga_green[5]
# SDRAM (on-board FPGA card)
set_location_assignment PIN_W6 -to o_sdram_cke
set_location_assignment PIN_Y6 -to o_sdram_clk
set_location_assignment PIN_AA3 -to o_sdram_cs
set_location_assignment PIN_AA5 -to o_sdram_ldqm
set_location_assignment PIN_W7 -to o_sdram_udqm
set_location_assignment PIN_AB3 -to o_sdram_ras
set_location_assignment PIN_AA4 -to o_sdram_cas
set_location_assignment PIN_AB4 -to o_sdram_we
set_location_assignment PIN_W2 -to o_sdram_ba[1]
set_location_assignment PIN_Y1 -to o_sdram_ba[0]
set_location_assignment PIN_V6 -to o_sdram_addr[12]
set_location_assignment PIN_Y4 -to o_sdram_addr[11]
set_location_assignment PIN_W1 -to o_sdram_addr[10]
set_location_assignment PIN_V5 -to o_sdram_addr[9]
set_location_assignment PIN_Y3 -to o_sdram_addr[8]
set_location_assignment PIN_AA1 -to o_sdram_addr[7]
set_location_assignment PIN_Y2 -to o_sdram_addr[6]
set_location_assignment PIN_V4 -to o_sdram_addr[5]
set_location_assignment PIN_V3 -to o_sdram_addr[4]
set_location_assignment PIN_U1 -to o_sdram_addr[3]
set_location_assignment PIN_U2 -to o_sdram_addr[2]
set_location_assignment PIN_V1 -to o_sdram_addr[1]
set_location_assignment PIN_V2 -to o_sdram_addr[0]
set_location_assignment PIN_V11 -to io_sdram_data[15]
set_location_assignment PIN_W10 -to io_sdram_data[14]
set_location_assignment PIN_Y10 -to io_sdram_data[13]
set_location_assignment PIN_V10 -to io_sdram_data[12]
set_location_assignment PIN_V9 -to io_sdram_data[11]
set_location_assignment PIN_Y8 -to io_sdram_data[10]
set_location_assignment PIN_W8 -to io_sdram_data[9]
set_location_assignment PIN_Y7 -to io_sdram_data[8]
set_location_assignment PIN_AB5 -to io_sdram_data[7]
set_location_assignment PIN_AA7 -to io_sdram_data[6]
set_location_assignment PIN_AB7 -to io_sdram_data[5]
set_location_assignment PIN_AA8 -to io_sdram_data[4]
set_location_assignment PIN_AB8 -to io_sdram_data[3]
set_location_assignment PIN_AA9 -to io_sdram_data[2]
set_location_assignment PIN_AB9 -to io_sdram_data[1]
set_location_assignment PIN_AA10 -to io_sdram_data[0]
Chassis