Skip to content

Commit

Permalink
workin on stack
Browse files Browse the repository at this point in the history
  • Loading branch information
Saicheg committed May 8, 2013
1 parent cbb5701 commit a5b21df
Show file tree
Hide file tree
Showing 6 changed files with 1,444 additions and 20 deletions.
1 change: 1 addition & 0 deletions Lab04.qsf
Expand Up @@ -197,4 +197,5 @@ set_global_assignment -name LL_ROOT_REGION ON -section_id "Root Region"
set_global_assignment -name LL_MEMBER_STATE LOCKED -section_id "Root Region"
set_global_assignment -name INCREMENTAL_VECTOR_INPUT_SOURCE cpu_dev.vwf
set_global_assignment -name BDF_FILE macro_push.bdf
set_global_assignment -name BDF_FILE macro_pop.bdf
set_instance_assignment -name PARTITION_HIERARCHY root_partition -to | -section_id Top
178 changes: 171 additions & 7 deletions control_block.bdf
Expand Up @@ -3652,6 +3652,102 @@ applicable agreement for further details.
(rectangle (rect 16 16 176 80)(line_width 1))
)
)
(symbol
(rect 1648 2184 1712 2232)
(text "AND2" (rect 1 0 25 10)(font "Arial" (font_size 6)))
(text "inst75" (rect 3 37 32 49)(font "Arial" ))
(port
(pt 0 16)
(input)
(text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
(text "IN1" (rect 2 7 19 19)(font "Courier New" (bold))(invisible))
(line (pt 0 16)(pt 14 16)(line_width 1))
)
(port
(pt 0 32)
(input)
(text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
(text "IN2" (rect 2 23 19 35)(font "Courier New" (bold))(invisible))
(line (pt 0 32)(pt 14 32)(line_width 1))
)
(port
(pt 64 24)
(output)
(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
(text "OUT" (rect 48 15 65 27)(font "Courier New" (bold))(invisible))
(line (pt 42 24)(pt 64 24)(line_width 1))
)
(drawing
(line (pt 14 12)(pt 30 12)(line_width 1))
(line (pt 14 37)(pt 31 37)(line_width 1))
(line (pt 14 12)(pt 14 37)(line_width 1))
(arc (pt 31 37)(pt 30 12)(rect 18 12 43 37)(line_width 1))
)
)
(symbol
(rect 2016 2200 2128 2240)
(text "lpm_bustri_64_uni" (rect 4 1 127 17)(font "Arial" (font_size 10)))
(text "inst76" (rect 8 24 37 36)(font "Arial" ))
(port
(pt 40 40)
(input)
(text "enabledt" (rect 0 0 48 14)(font "Arial" (font_size 8)))
(text "enabledt" (rect 40 -6 88 8)(font "Arial" (font_size 8))(invisible))
(line (pt 40 40)(pt 40 28)(line_width 1))
)
(port
(pt 0 24)
(input)
(text "data[63..0]" (rect 0 0 60 14)(font "Arial" (font_size 8)))
(text "data[63..0]" (rect -3 -27 57 -13)(font "Arial" (font_size 8))(invisible))
(line (pt 0 24)(pt 32 24)(line_width 3))
)
(port
(pt 112 24)
(bidir)
(text "tridata[63..0]" (rect 0 0 70 14)(font "Arial" (font_size 8)))
(text "tridata[63..0]" (rect 116 -36 186 -22)(font "Arial" (font_size 8))(invisible))
(line (pt 112 24)(pt 48 24)(line_width 3))
)
(drawing
(text "64" (rect 77 25 88 37)(font "Arial" ))
(text "64" (rect 13 25 24 37)(font "Arial" ))
(line (pt 32 16)(pt 48 24)(line_width 1))
(line (pt 48 24)(pt 32 32)(line_width 1))
(line (pt 32 32)(pt 32 16)(line_width 1))
(line (pt 72 28)(pt 80 20)(line_width 1))
(line (pt 8 28)(pt 16 20)(line_width 1))
)
)
(symbol
(rect 1784 2176 1976 2272)
(text "macro_pop" (rect 5 0 68 14)(font "Arial" (font_size 8)))
(text "inst77" (rect 8 80 37 92)(font "Arial" ))
(port
(pt 0 32)
(input)
(text "ENABLE" (rect 0 0 47 14)(font "Arial" (font_size 8)))
(text "ENABLE" (rect 21 27 68 41)(font "Arial" (font_size 8)))
(line (pt 0 32)(pt 16 32)(line_width 1))
)
(port
(pt 0 48)
(input)
(text "CLK" (rect 0 0 23 14)(font "Arial" (font_size 8)))
(text "CLK" (rect 21 43 44 57)(font "Arial" (font_size 8)))
(line (pt 0 48)(pt 16 48)(line_width 1))
)
(port
(pt 192 32)
(output)
(text "CONTROL[63..0]" (rect 0 0 93 14)(font "Arial" (font_size 8)))
(text "CONTROL[63..0]" (rect 78 27 171 41)(font "Arial" (font_size 8)))
(line (pt 192 32)(pt 176 32)(line_width 3))
)
(drawing
(rectangle (rect 16 16 176 80)(line_width 1))
)
)
(connector
(pt 1672 -1096)
(pt 1672 -1104)
Expand Down Expand Up @@ -5641,6 +5737,68 @@ applicable agreement for further details.
(pt 1576 1528)
(pt 1576 1672)
)
(connector
(pt 1648 2064)
(pt 1488 2064)
)
(connector
(pt 1488 1688)
(pt 1488 2064)
)
(connector
(pt 1488 1688)
(pt 1312 1688)
)
(connector
(pt 2008 2224)
(pt 2016 2224)
(bus)
)
(connector
(text "c[63..0]" (rect 2170 2216 2207 2228)(font "Arial" ))
(pt 2128 2224)
(pt 2152 2224)
(bus)
)
(connector
(pt 2008 2208)
(pt 1976 2208)
(bus)
)
(connector
(pt 2008 2224)
(pt 2008 2208)
(bus)
)
(connector
(pt 1752 2208)
(pt 1752 2296)
)
(connector
(text "clk" (rect 1762 2232 1776 2244)(font "Arial" ))
(pt 1768 2224)
(pt 1784 2224)
)
(connector
(pt 1576 2216)
(pt 1648 2216)
)
(connector
(pt 2056 2240)
(pt 2056 2296)
)
(connector
(pt 1752 2296)
(pt 2056 2296)
)
(connector
(pt 1712 2208)
(pt 1752 2208)
)
(connector
(pt 1752 2208)
(pt 1784 2208)
)
(connector
(pt 1576 1672)
(pt 1576 1816)
Expand All @@ -5655,19 +5813,23 @@ applicable agreement for further details.
)
(connector
(pt 1576 2080)
(pt 1576 2144)
(pt 1576 2216)
)
(connector
(pt 1648 2064)
(pt 1488 2064)
(pt 1576 2216)
(pt 1576 2280)
)
(connector
(pt 1488 1688)
(pt 1488 2064)
(pt 1648 2200)
(pt 1472 2200)
)
(connector
(pt 1488 1688)
(pt 1312 1688)
(pt 1472 1704)
(pt 1472 2200)
)
(connector
(pt 1472 1704)
(pt 1312 1704)
)
(junction (pt 2064 -728))
(junction (pt 2072 -560))
Expand Down Expand Up @@ -5705,6 +5867,8 @@ applicable agreement for further details.
(junction (pt 1576 1944))
(junction (pt 1752 2072))
(junction (pt 1576 2080))
(junction (pt 1752 2208))
(junction (pt 1576 2216))
(text "REGISTERS" (rect 1376 -1168 1442 -1154)(font "Arial" (font_size 8)))
(text "DEBUG_OUTPUTS" (rect 2448 -696 2551 -682)(font "Arial" (font_size 8)))
(text "INPUTS" (rect 936 -1168 977 -1154)(font "Arial" (font_size 8)))
Expand Down
6 changes: 4 additions & 2 deletions count.rb
Expand Up @@ -4,8 +4,10 @@
27, 8, 9
20, 50
20, 50, 18, 10, 11
10, 0
26
10, 8, 9
18, 10, 11, 52, 54
20, 10, 19, 50, 51, 52
25
COMM


Expand Down

0 comments on commit a5b21df

Please sign in to comment.