Skip to content

Commit

Permalink
add first flight code + config
Browse files Browse the repository at this point in the history
  • Loading branch information
seaan committed Apr 18, 2018
1 parent da743a2 commit 052ebcb
Show file tree
Hide file tree
Showing 532 changed files with 139,052 additions and 125,361 deletions.
138 changes: 52 additions & 86 deletions .qsys_edit/helen.xml
Original file line number Diff line number Diff line change
Expand Up @@ -827,7 +827,7 @@
<fullscreen-action>false</fullscreen-action>
<node nodeId="1372710005721" orientation="HORIZONTAL" divider="0.22181146025878004">
<node nodeId="1375985011088" orientation="VERTICAL" divider="0.504054054054054">
<leaf id="0" nodeId="1375985003630">
<leaf id="4" nodeId="1375985003630">
<placeholders>
<placeholder>dock.single.Clock\ Domains\ \-\ Beta</placeholder>
<placeholder>dock.single.IP\ Catalog</placeholder>
Expand All @@ -853,7 +853,7 @@
</entry>
</placeholder-map>
</leaf>
<leaf id="2" nodeId="1375985011087">
<leaf id="3" nodeId="1375985011087">
<placeholders>
<placeholder>dock.single.Hierarchy</placeholder>
</placeholders>
Expand Down Expand Up @@ -932,8 +932,9 @@
</leaf>
</node>
<node nodeId="1389812802503" orientation="VERTICAL" divider="0.6704331450094162">
<leaf id="4" nodeId="1389812800464">
<leaf id="2" nodeId="1389812800464">
<placeholders>
<placeholder>dock.single.Details</placeholder>
<placeholder>dock.single.Parameters</placeholder>
<placeholder>dock.single.Block\ Symbol</placeholder>
<placeholder>dock.single.Presets</placeholder>
Expand All @@ -948,17 +949,13 @@
</entry>
<entry>
<key shared="false">
<placeholder>dock.single.Parameters</placeholder>
<placeholder>dock.single.Details</placeholder>
</key>
<item key="convert" type="b">true</item>
<item key="convert-keys" type="a"/>
</entry>
<entry>
<key shared="false">
<placeholder>dock.single.Details</placeholder>
<placeholder>dock.single.Parameters</placeholder>
</key>
<item key="convert" type="b">true</item>
<item key="convert-keys" type="a"/>
</entry>
<entry>
<key shared="false">
Expand All @@ -974,7 +971,7 @@
</leaf>
</node>
</node>
<leaf id="3" nodeId="1372710005745">
<leaf id="0" nodeId="1372710005745">
<placeholders>
<placeholder>dock.single.Messages</placeholder>
<placeholder>dock.single.Generation\ Messages</placeholder>
Expand Down Expand Up @@ -1006,10 +1003,10 @@
</adjacent>
<children ignore="false">
<child>
<layout factory="predefined" placeholder="dock.single.IP\ Catalog">
<replacement id="dockablesingle IP Catalog"/>
<layout factory="predefined" placeholder="dock.single.Messages">
<replacement id="dockablesingle Messages"/>
<delegate id="delegate_ccontrol backup factory id">
<id>IP Catalog</id>
<id>Messages</id>
<area/>
</delegate>
</layout>
Expand Down Expand Up @@ -1123,6 +1120,16 @@
</child>
</children>
</child>
<child>
<layout factory="predefined" placeholder="dock.single.Parameters">
<replacement id="dockablesingle Parameters"/>
<delegate id="delegate_ccontrol backup factory id">
<id>Parameters</id>
<area/>
</delegate>
</layout>
<children ignore="false"/>
</child>
<child>
<layout factory="delegate_StackDockStationFactory">
<selected>0</selected>
Expand Down Expand Up @@ -1183,84 +1190,15 @@
</children>
</child>
<child>
<layout factory="predefined" placeholder="dock.single.Messages">
<replacement id="dockablesingle Messages"/>
<layout factory="predefined" placeholder="dock.single.IP\ Catalog">
<replacement id="dockablesingle IP Catalog"/>
<delegate id="delegate_ccontrol backup factory id">
<id>Messages</id>
<id>IP Catalog</id>
<area/>
</delegate>
</layout>
<children ignore="false"/>
</child>
<child>
<layout factory="delegate_StackDockStationFactory">
<selected>0</selected>
<placeholders>
<version>0</version>
<format>dock.PlaceholderList</format>
<entry>
<key shared="false">
<placeholder>dock.single.Block\ Symbol</placeholder>
</key>
</entry>
<entry>
<key shared="false">
<placeholder>dock.single.Parameters</placeholder>
</key>
<item key="convert" type="b">true</item>
<item key="convert-keys" type="a">
<item type="s">index</item>
<item type="s">id</item>
<item type="s">placeholder</item>
</item>
<item key="dock.index" type="i">0</item>
<item key="dock.id" type="i">0</item>
<item key="dock.placeholder" type="s">dock.single.Parameters</item>
</entry>
<entry>
<key shared="false">
<placeholder>dock.single.Details</placeholder>
</key>
<item key="convert" type="b">true</item>
<item key="convert-keys" type="a">
<item type="s">index</item>
<item type="s">id</item>
<item type="s">placeholder</item>
</item>
<item key="dock.index" type="i">1</item>
<item key="dock.id" type="i">1</item>
<item key="dock.placeholder" type="s">dock.single.Details</item>
</entry>
<entry>
<key shared="false">
<placeholder>dock.single.Presets</placeholder>
</key>
</entry>
</placeholders>
</layout>
<children ignore="false">
<child>
<layout factory="predefined" placeholder="dock.single.Parameters">
<replacement id="dockablesingle Parameters"/>
<delegate id="delegate_ccontrol backup factory id">
<id>Parameters</id>
<area/>
</delegate>
</layout>
<children ignore="false"/>
</child>
<child>
<layout factory="predefined" placeholder="dock.single.Details">
<replacement id="dockablesingle Details"/>
<delegate id="delegate_ccontrol backup factory id">
<id>Details</id>
<area/>
</delegate>
</layout>
<children ignore="false"/>
</child>
</children>
</child>
</children>
</root>
<root name="ccontrol west">
Expand All @@ -1286,6 +1224,34 @@
</root>
</roots>
<children>
<child key="single Details" root="ccontrol center" location="true">
<location>
<property factory="SplitDockPlaceholderProperty">
<placeholder>dock.single.Details</placeholder>
<backup-path>
<node location="RIGHT" size="0.7781885397412199" id="1372710005721"/>
<node location="TOP" size="0.75" id="1372710005725"/>
<node location="RIGHT" size="0.38168060992145725" id="1372710005727"/>
<node location="TOP" size="0.6704331450094162" id="1389812802503"/>
<leaf id="1389812800464"/>
</backup-path>
</property>
<property factory="StackDockPropertyFactory">
<index>1</index>
<placeholder>dock.single.Details</placeholder>
</property>
</location>
<layout>
<layout factory="predefined" placeholder="dock.single.Details">
<replacement id="dockablesingle Details"/>
<delegate id="delegate_ccontrol backup factory id">
<id>Details</id>
<area/>
</delegate>
</layout>
<children ignore="false"/>
</layout>
</child>
<child key="single Assignments" root="ccontrol center" location="true">
<location>
<property factory="SplitDockPlaceholderProperty">
Expand Down Expand Up @@ -1560,7 +1526,7 @@
</base>
<modes>
<dockables>
<entry id="single Details" current="dock.mode.normal">
<entry id="single Details">
<history>
<mode>dock.mode.normal</mode>
</history>
Expand Down
68 changes: 31 additions & 37 deletions .qsys_edit/helen_schematic.nlv
Original file line number Diff line number Diff line change
@@ -1,40 +1,34 @@
# # File gsaved with Nlview version 6.3.8 2013-12-19 bk=1.2992 VDI=34 GEI=35
#
preplace inst helen.nios_2.reset_bridge -pg 1
preplace inst helen.nios_1.clock_bridge -pg 1
preplace inst helen.altpll -pg 1 -lvl 6 -y 490
preplace inst helen.spi_0 -pg 1 -lvl 8 -y 40
preplace inst helen.flash -pg 1 -lvl 9 -y 190
preplace inst helen.clk -pg 1 -lvl 7 -y 720
preplace inst helen.sysid_qsys_1 -pg 1 -lvl 8 -y 200
preplace inst helen.nios_2.clock_bridge -pg 1
preplace inst helen.uart -pg 1 -lvl 9 -y 490
preplace inst helen.sdram -pg 1 -lvl 10 -y 770
preplace inst helen.nios_2.cpu -pg 1
preplace inst helen.nios_1.cpu -pg 1
preplace inst helen.led -pg 1 -lvl 10 -y 670
preplace inst helen.nios_1 -pg 1 -lvl 5 -y 270
preplace inst helen.nios_2 -pg 1 -lvl 6 -y 210
preplace inst helen.jtag_uart_0 -pg 1 -lvl 10 -y 570
preplace inst helen.adc -pg 1 -lvl 10 -y 310
preplace inst helen.onchip -pg 1 -lvl 9 -y 370
preplace inst helen.nios.reset_bridge -pg 1
preplace inst helen.altpll -pg 1 -lvl 3 -y 230
preplace inst helen.nios -pg 1 -lvl 5 -y 240
preplace inst helen.sysid_qsys_0 -pg 1 -lvl 7 -y 200
preplace inst helen.nios.cpu -pg 1
preplace inst helen.nios.clock_bridge -pg 1
preplace inst helen.flash -pg 1 -lvl 6 -y 30
preplace inst helen.clk -pg 1 -lvl 4 -y 510
preplace inst helen.uart -pg 1 -lvl 6 -y 280
preplace inst helen.sdram -pg 1 -lvl 7 -y 560
preplace inst helen.led -pg 1 -lvl 7 -y 460
preplace inst helen.jtag_uart_0 -pg 1 -lvl 7 -y 360
preplace inst helen.adc -pg 1 -lvl 7 -y 100
preplace inst helen.onchip -pg 1 -lvl 6 -y 170
preplace inst helen -pg 1 -lvl 1 -y 40 -regy -20
preplace inst helen.nios_1.reset_bridge -pg 1
preplace netloc EXPORT<net_container>helen</net_container>(SLAVE)clk.clk_in_reset,(SLAVE)helen.reset) 1 0 7 NJ 750 NJ 750 NJ 750 NJ 750 NJ 750 NJ 750 NJ
preplace netloc INTERCONNECT<net_container>helen</net_container>(SLAVE)sdram.reset,(SLAVE)nios_2.reset,(SLAVE)led.reset,(SLAVE)adc.reset,(SLAVE)spi_0.reset,(MASTER)nios_1.debug_reset_request,(SLAVE)altpll.inclk_interface_reset,(SLAVE)uart.reset,(SLAVE)flash.reset,(SLAVE)sysid_qsys_1.reset,(SLAVE)onchip.reset1,(MASTER)nios_2.debug_reset_request,(MASTER)clk.clk_reset,(SLAVE)nios_1.reset,(SLAVE)jtag_uart_0.reset) 1 4 6 1170 410 1800 390 2280 280 2660 320 2860 620 3160
preplace netloc EXPORT<net_container>helen</net_container>(SLAVE)clk.clk_in,(SLAVE)helen.clk) 1 0 7 NJ 730 NJ 730 NJ 730 NJ 730 NJ 730 NJ 730 NJ
preplace netloc INTERCONNECT<net_container>helen</net_container>(SLAVE)spi_0.irq,(SLAVE)jtag_uart_0.irq,(MASTER)nios_2.irq,(SLAVE)flash.irq,(SLAVE)uart.irq,(MASTER)nios_1.irq) 1 5 5 NJ 410 2320 300 2620 190 2840 640 NJ
preplace netloc EXPORT<net_container>helen</net_container>(SLAVE)uart.external_connection,(SLAVE)helen.uart) 1 0 9 NJ 470 NJ 470 NJ 470 NJ 470 NJ 470 NJ 470 NJ 380 NJ 380 NJ
preplace netloc EXPORT<net_container>helen</net_container>(SLAVE)spi_0.external,(SLAVE)helen.spi) 1 0 8 NJ 70 NJ 70 NJ 70 NJ 70 NJ 70 NJ 70 NJ 70 NJ
preplace netloc EXPORT<net_container>helen</net_container>(SLAVE)flash.external,(SLAVE)helen.flash) 1 0 9 NJ 430 NJ 430 NJ 430 NJ 430 NJ 430 NJ 430 NJ 360 NJ 360 NJ
preplace netloc EXPORT<net_container>helen</net_container>(MASTER)helen.altpll_sdram,(MASTER)altpll.c1) 1 6 5 NJ 540 NJ 540 NJ 480 NJ 480 NJ
preplace netloc FAN_OUT<net_container>helen</net_container>(SLAVE)nios_1.clk,(SLAVE)spi_0.clk,(SLAVE)onchip.clk1,(MASTER)altpll.c0,(SLAVE)led.clk,(SLAVE)uart.clk,(SLAVE)sysid_qsys_1.clk,(SLAVE)flash.clk,(SLAVE)adc.clk,(SLAVE)nios_2.clk,(SLAVE)sdram.clk,(SLAVE)jtag_uart_0.clk) 1 4 6 1150 210 1860 350 2340 240 2600 30 2940 340 3140
preplace netloc EXPORT<net_container>helen</net_container>(SLAVE)helen.altpll_locked_conduit,(SLAVE)altpll.locked_conduit) 1 0 6 NJ 560 NJ 560 NJ 560 NJ 560 NJ 560 NJ
preplace netloc INTERCONNECT<net_container>helen</net_container>(SLAVE)led.s1,(SLAVE)sdram.s1,(MASTER)nios_1.instruction_master,(SLAVE)onchip.s1,(MASTER)nios_1.data_master,(SLAVE)altpll.pll_slave,(SLAVE)jtag_uart_0.avalon_jtag_slave,(MASTER)nios_2.instruction_master,(SLAVE)nios_2.debug_mem_slave,(MASTER)nios_2.data_master,(SLAVE)adc.adc_slave,(SLAVE)nios_1.debug_mem_slave,(SLAVE)flash.epcs_control_port,(SLAVE)sysid_qsys_1.control_slave,(SLAVE)uart.s1,(SLAVE)spi_0.spi_control_port) 1 4 6 1170 230 1840 370 2300 260 2640 170 2900 320 3120
preplace netloc EXPORT<net_container>helen</net_container>(SLAVE)led.external_connection,(SLAVE)helen.ledg) 1 0 10 NJ 700 NJ 700 NJ 700 NJ 700 NJ 700 NJ 700 NJ 700 NJ 700 NJ 700 NJ
preplace netloc EXPORT<net_container>helen</net_container>(SLAVE)helen.adc,(SLAVE)adc.external_interface) 1 0 10 NJ 450 NJ 450 NJ 450 NJ 450 NJ 450 NJ 450 NJ 340 NJ 340 NJ 360 NJ
preplace netloc EXPORT<net_container>helen</net_container>(SLAVE)sdram.wire,(SLAVE)helen.sdram_wire) 1 0 10 NJ 840 NJ 840 NJ 840 NJ 840 NJ 840 NJ 840 NJ 840 NJ 840 NJ 840 NJ
preplace netloc EXPORT<net_container>helen</net_container>(SLAVE)altpll.areset_conduit,(SLAVE)helen.altpll_areset_conduit) 1 0 6 NJ 500 NJ 500 NJ 500 NJ 500 NJ 500 NJ
preplace netloc POINT_TO_POINT<net_container>helen</net_container>(MASTER)clk.clk,(SLAVE)altpll.inclk_interface) 1 5 3 1860 790 NJ 790 2620
levelinfo -pg 1 0 140 3470
levelinfo -hier helen 150 170 500 830 1130 1560 2040 2430 2690 2970 3210 3360
preplace netloc EXPORT<net_container>helen</net_container>(SLAVE)clk.clk_in_reset,(SLAVE)helen.reset) 1 0 4 NJ 540 NJ 540 NJ 540 NJ
preplace netloc EXPORT<net_container>helen</net_container>(SLAVE)helen.altpll_areset_conduit,(SLAVE)altpll.areset_conduit) 1 0 3 NJ 240 NJ 240 NJ
preplace netloc EXPORT<net_container>helen</net_container>(SLAVE)clk.clk_in,(SLAVE)helen.clk) 1 0 4 NJ 460 NJ 460 NJ 460 NJ
preplace netloc EXPORT<net_container>helen</net_container>(SLAVE)uart.external_connection,(SLAVE)helen.uart) 1 0 6 NJ 380 NJ 380 NJ 380 NJ 380 NJ 400 NJ
preplace netloc EXPORT<net_container>helen</net_container>(SLAVE)altpll.locked_conduit,(SLAVE)helen.altpll_locked_conduit) 1 0 3 NJ 300 NJ 300 NJ
preplace netloc EXPORT<net_container>helen</net_container>(SLAVE)helen.flash,(SLAVE)flash.external) 1 0 6 NJ 200 NJ 200 NJ 200 NJ 200 NJ 200 NJ
preplace netloc EXPORT<net_container>helen</net_container>(MASTER)altpll.c1,(MASTER)helen.altpll_sdram) 1 3 5 NJ 400 NJ 460 NJ 460 NJ 350 NJ
preplace netloc FAN_OUT<net_container>helen</net_container>(SLAVE)uart.irq,(SLAVE)jtag_uart_0.irq,(SLAVE)flash.irq,(MASTER)nios.irq) 1 5 2 1880 500 NJ
preplace netloc POINT_TO_POINT<net_container>helen</net_container>(SLAVE)altpll.inclk_interface,(MASTER)clk.clk) 1 2 3 520 440 NJ 500 1300
preplace netloc EXPORT<net_container>helen</net_container>(SLAVE)adc.external_interface,(SLAVE)helen.adc) 1 0 7 NJ 400 NJ 400 NJ 400 NJ 420 NJ 480 NJ 480 NJ
preplace netloc INTERCONNECT<net_container>helen</net_container>(SLAVE)led.reset,(SLAVE)adc.reset,(SLAVE)sdram.reset,(SLAVE)altpll.inclk_interface_reset,(MASTER)nios.debug_reset_request,(SLAVE)flash.reset,(SLAVE)uart.reset,(SLAVE)jtag_uart_0.reset,(SLAVE)sysid_qsys_0.reset,(MASTER)clk.clk_reset,(SLAVE)nios.reset,(SLAVE)onchip.reset1) 1 2 5 560 360 NJ 360 1380 420 1820 430 2200
preplace netloc EXPORT<net_container>helen</net_container>(SLAVE)helen.ledg,(SLAVE)led.external_connection) 1 0 7 NJ 420 NJ 420 NJ 420 NJ 480 NJ 520 NJ 520 NJ
preplace netloc FAN_OUT<net_container>helen</net_container>(SLAVE)sdram.clk,(SLAVE)flash.clk,(SLAVE)sysid_qsys_0.clk,(SLAVE)jtag_uart_0.clk,(MASTER)altpll.c0,(SLAVE)adc.clk,(SLAVE)uart.clk,(SLAVE)nios.clk,(SLAVE)onchip.clk1,(SLAVE)led.clk) 1 3 4 N 260 1440 380 1840 160 2100
preplace netloc INTERCONNECT<net_container>helen</net_container>(MASTER)nios.data_master,(MASTER)nios.instruction_master,(SLAVE)jtag_uart_0.avalon_jtag_slave,(SLAVE)uart.s1,(SLAVE)nios.debug_mem_slave,(SLAVE)flash.epcs_control_port,(SLAVE)sysid_qsys_0.control_slave,(SLAVE)adc.adc_slave,(SLAVE)led.s1,(SLAVE)onchip.s1,(SLAVE)altpll.pll_slave,(SLAVE)sdram.s1) 1 2 5 540 220 NJ 220 1420 440 1860 410 2140
preplace netloc EXPORT<net_container>helen</net_container>(SLAVE)sdram.wire,(SLAVE)helen.sdram_wire) 1 0 7 NJ 630 NJ 630 NJ 630 NJ 630 NJ 630 NJ 630 NJ
levelinfo -pg 1 0 140 2490
levelinfo -hier helen 150 170 500 830 1130 1560 1930 2230 2380
6 changes: 3 additions & 3 deletions .qsys_edit/preferences.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,10 +3,10 @@
<debug showDebugMenu="0" />
<systemtable filter="All Interfaces">
<columns>
<connections preferredWidth="255" />
<irq preferredWidth="47" />
<connections preferredWidth="175" />
<irq preferredWidth="34" />
</columns>
</systemtable>
<library expandedCategories="Library,Project" />
<window width="1920" height="1040" x="0" y="0" />
<window width="1936" height="1056" x="-8" y="-8" />
</preferences>
22 changes: 9 additions & 13 deletions HELEN.asm.rpt
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
Assembler report for HELEN
Thu Apr 12 21:20:07 2018
Sun Feb 25 14:35:18 2018
Quartus Prime Version 17.1.0 Build 590 10/25/2017 SJ Lite Edition


Expand Down Expand Up @@ -38,7 +38,7 @@ refer to the applicable agreement for further details.
+---------------------------------------------------------------+
; Assembler Summary ;
+-----------------------+---------------------------------------+
; Assembler Status ; Successful - Thu Apr 12 21:20:07 2018 ;
; Assembler Status ; Successful - Sun Feb 25 14:35:18 2018 ;
; Revision Name ; HELEN ;
; Top-level Entity Name ; top ;
; Family ; Cyclone IV E ;
Expand Down Expand Up @@ -77,8 +77,8 @@ refer to the applicable agreement for further details.
+----------------+------------------------------------------------------------------+
; Option ; Setting ;
+----------------+------------------------------------------------------------------+
; JTAG usercode ; 0x00522A08 ;
; Checksum ; 0x00522A08 ;
; JTAG usercode ; 0x00396112 ;
; Checksum ; 0x00396112 ;
+----------------+------------------------------------------------------------------+


Expand All @@ -88,19 +88,15 @@ refer to the applicable agreement for further details.
Info: *******************************************************************
Info: Running Quartus Prime Assembler
Info: Version 17.1.0 Build 590 10/25/2017 SJ Lite Edition
Info: Processing started: Thu Apr 12 21:20:04 2018
Info: Processing started: Sun Feb 25 14:35:15 2018
Info: Command: quartus_asm --read_settings_files=off --write_settings_files=off HELEN -c HELEN
Warning (125092): Tcl Script File software/test_2/mem_init/meminit.qip not found
Info (125063): set_global_assignment -name QIP_FILE software/test_2/mem_init/meminit.qip
Warning (125092): Tcl Script File software/test_1/mem_init/meminit.qip not found
Info (125063): set_global_assignment -name QIP_FILE software/test_1/mem_init/meminit.qip
Warning (18236): Number of processors has not been specified which may cause overloading on shared machines. Set the global assignment NUM_PARALLEL_PROCESSORS in your QSF to an appropriate value for best performance.
Info (115031): Writing out detailed assembly data for power analysis
Info (115030): Assembler is generating device programming files
Info: Quartus Prime Assembler was successful. 0 errors, 3 warnings
Info: Peak virtual memory: 628 megabytes
Info: Processing ended: Thu Apr 12 21:20:07 2018
Info: Elapsed time: 00:00:03
Info: Quartus Prime Assembler was successful. 0 errors, 1 warning
Info: Peak virtual memory: 617 megabytes
Info: Processing ended: Sun Feb 25 14:35:19 2018
Info: Elapsed time: 00:00:04
Info: Total CPU time (on all processors): 00:00:03


Loading

0 comments on commit 052ebcb

Please sign in to comment.