Skip to content

Commit

Permalink
feat: update project tt_um_iron_violet_simon from johnbentcope/iron_v…
Browse files Browse the repository at this point in the history
…iolet

Commit: ae94a20b4f06ff13e1b0c2f67943a441512acc5e
Workflow: https://github.com/johnbentcope/iron_violet/actions/runs/8753601798
  • Loading branch information
TinyTapeoutBot authored and urish committed Apr 19, 2024
1 parent 599213e commit 9a3f204
Show file tree
Hide file tree
Showing 9 changed files with 38,065 additions and 37,245 deletions.
4 changes: 2 additions & 2 deletions projects/tt_um_iron_violet_simon/commit_id.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"app": "Tiny Tapeout tt06 c74b14ac",
"repo": "https://github.com/johnbentcope/iron_violet",
"commit": "da9e9b33fb6334a9a5cfbefd33705bd909832367",
"workflow_url": "https://github.com/johnbentcope/iron_violet/actions/runs/8747439610",
"commit": "ae94a20b4f06ff13e1b0c2f67943a441512acc5e",
"workflow_url": "https://github.com/johnbentcope/iron_violet/actions/runs/8753601798",
"sort_id": 1708220180357,
"openlane_version": "OpenLane eaba5192c45aa333ab45216ce1773d75d539e9b3",
"pdk_version": "open_pdks cd1748bb197f9b7af62a54507de6624e30363943"
Expand Down
17 changes: 13 additions & 4 deletions projects/tt_um_iron_violet_simon/docs/info.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,21 @@ You can also include images in this folder and reference them in the markdown. E

## How it works

Big gates
Simon't involves the device playing a sequence of button-lamps, and the player needs to repeat the sequence by pressing corresponding buttons.

## How to test
The game keeps a high score for as long as power is maintained, or until it is reset.

Each button has an associated lamp that lights when being presented to the player, as well as when the player presses the buttons back into the game.

When a new game starts, the device shines a button-light for a half second, and the player has to press the same button-lamp within five seconds. Then the game picks a new button-lamp from any of the four, and plays the first color and the new color for the player. the player must press the buttons in the same order they are presented. This continues until the player presses a wrong button, the player waits too long to press a button, or the game runs out of memory at 32 moves.

When the player enters a correct move in a sequence, the timeout for "forget" death is reset, and, if there is at least one additional color in the sequence, the eng-game timer begins again.

At the end of the game, if the player has set a new high score, the game pulses each lamp in the sequence of red-yellow-green-blue. If the player fails to set a new high score, the game pulses each lamp in the reverse order.

Run it

## External hardware

prolly a circuit
Lamps need to be driven from the following outputs: 0 to red, 1 to yellow, 2 to green, and 3 to blue. Four buttons is connected to inputs 0 to 4, and they is physically located to correspond with the lamps.

A fifth button is connected to input 5, and is used to start a game.
24 changes: 12 additions & 12 deletions projects/tt_um_iron_violet_simon/info.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -25,22 +25,22 @@ project:
# The pinout of your project. Leave unused pins blank. DO NOT delete or add any pins.
pinout:
# Inputs
ui[0]: "ui[0]"
ui[1]: "ui[1]"
ui[2]: "ui[2]"
ui[3]: "ui[3]"
ui[4]: "ui[4]"
ui[5]: "ui[5]"
ui[0]: "Red Button"
ui[1]: "Yellow Button"
ui[2]: "Green Button"
ui[3]: "Blue Button"
ui[4]: "Start Game"
ui[5]: ""
ui[6]: ""
ui[7]: ""

# Outputs
uo[0]: "uo[0]"
uo[1]: "uo[1]"
uo[2]: "uo[2]"
uo[3]: "uo[3]"
uo[4]: "uo[4]"
uo[5]: "uo[5]"
uo[0]: "Red Lamp"
uo[1]: "Yellow Lamp"
uo[2]: "Green Lamp"
uo[3]: "Blue Lamp"
uo[4]: ""
uo[5]: ""
uo[6]: ""
uo[7]: ""

Expand Down
2 changes: 1 addition & 1 deletion projects/tt_um_iron_violet_simon/stats/metrics.csv
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
design,design_name,config,flow_status,total_runtime,routed_runtime,(Cell/mm^2)/Core_Util,DIEAREA_mm^2,CellPer_mm^2,OpenDP_Util,Final_Util,Peak_Memory_Usage_MB,synth_cell_count,tritonRoute_violations,Short_violations,MetSpc_violations,OffGrid_violations,MinHole_violations,Other_violations,Magic_violations,pin_antenna_violations,net_antenna_violations,lvs_total_errors,cvc_total_errors,klayout_violations,wire_length,vias,wns,pl_wns,optimized_wns,fastroute_wns,spef_wns,tns,pl_tns,optimized_tns,fastroute_tns,spef_tns,HPWL,routing_layer1_pct,routing_layer2_pct,routing_layer3_pct,routing_layer4_pct,routing_layer5_pct,routing_layer6_pct,wires_count,wire_bits,public_wires_count,public_wire_bits,memories_count,memory_bits,processes_count,cells_pre_abc,AND,DFF,NAND,NOR,OR,XOR,XNOR,MUX,inputs,outputs,level,DecapCells,WelltapCells,DiodeCells,FillCells,NonPhysCells,TotalCells,CoreArea_um^2,power_slowest_internal_uW,power_slowest_switching_uW,power_slowest_leakage_uW,power_typical_internal_uW,power_typical_switching_uW,power_typical_leakage_uW,power_fastest_internal_uW,power_fastest_switching_uW,power_fastest_leakage_uW,critical_path_ns,suggested_clock_period,suggested_clock_frequency,CLOCK_PERIOD,FP_ASPECT_RATIO,FP_CORE_UTIL,FP_PDN_HPITCH,FP_PDN_VPITCH,GRT_ADJUSTMENT,GRT_REPAIR_ANTENNAS,MAX_FANOUT_CONSTRAINT,PL_TARGET_DENSITY,RUN_HEURISTIC_DIODE_INSERTION,STD_CELL_LIBRARY,SYNTH_STRATEGY
/work/src,tt_um_iron_violet_simon,wokwi,flow completed,0h2m9s0ms,0h1m45s0ms,103036.97300765481,0.01795472,51518.48650382741,57.57,55.16609999999999,542.93,873,0,0,0,0,0,0,0,0,0,0,-1,-1,20614,6529,0.0,-1,-1,-1,-1,0.0,-1,-1,-1,-1,13431609.0,0.0,44.54,34.11,5.52,2.98,-1,1020,1249,88,292,0,0,0,1103,24,23,61,20,346,50,25,33,154,154,11,743,225,0,363,925,2256,16493.3184,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,21.0,47.61904761904762,20,1,50,26.520,38.870,0.3,1,10,0.6,0,sky130_fd_sc_hd,AREA 0
/work/src,tt_um_iron_violet_simon,wokwi,flow completed,0h2m4s0ms,0h1m41s0ms,105376.190773234,0.01795472,52688.095386617,58.5,56.273700000000005,558.93,893,0,0,0,0,0,0,0,0,0,0,-1,-1,21393,6641,0.0,-1,-1,-1,-1,0.0,-1,-1,-1,-1,14183975.0,0.0,46.76,35.26,5.73,2.75,-1,1022,1253,86,289,0,0,0,1111,22,22,60,25,349,51,25,33,157,156,11,718,225,1,371,946,2261,16493.3184,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,21.0,47.61904761904762,20,1,50,26.520,38.870,0.3,1,10,0.6,0,sky130_fd_sc_hd,AREA 0
100 changes: 50 additions & 50 deletions projects/tt_um_iron_violet_simon/stats/synthesis-stats.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,71 +3,71 @@

=== tt_um_iron_violet_simon ===

Number of wires: 857
Number of wire bits: 892
Number of public wires: 158
Number of public wire bits: 193
Number of wires: 877
Number of wire bits: 912
Number of public wires: 160
Number of public wire bits: 195
Number of memories: 0
Number of memory bits: 0
Number of processes: 0
Number of cells: 873
sky130_fd_sc_hd__a2111o_2 4
sky130_fd_sc_hd__a211o_2 3
sky130_fd_sc_hd__a21bo_2 1
sky130_fd_sc_hd__a21boi_2 5
sky130_fd_sc_hd__a21o_2 9
sky130_fd_sc_hd__a21oi_2 17
sky130_fd_sc_hd__a221o_2 4
sky130_fd_sc_hd__a22o_2 12
sky130_fd_sc_hd__a2bb2o_2 3
sky130_fd_sc_hd__a311o_2 3
Number of cells: 893
sky130_fd_sc_hd__a211o_2 6
sky130_fd_sc_hd__a21bo_2 2
sky130_fd_sc_hd__a21boi_2 1
sky130_fd_sc_hd__a21o_2 14
sky130_fd_sc_hd__a21oi_2 12
sky130_fd_sc_hd__a221o_2 3
sky130_fd_sc_hd__a22o_2 14
sky130_fd_sc_hd__a22oi_2 1
sky130_fd_sc_hd__a2bb2o_2 1
sky130_fd_sc_hd__a311o_2 5
sky130_fd_sc_hd__a31o_2 14
sky130_fd_sc_hd__a32o_2 6
sky130_fd_sc_hd__a32o_2 5
sky130_fd_sc_hd__a41o_2 2
sky130_fd_sc_hd__a41oi_2 1
sky130_fd_sc_hd__and2_2 25
sky130_fd_sc_hd__and2b_2 4
sky130_fd_sc_hd__and3_2 73
sky130_fd_sc_hd__and3b_2 8
sky130_fd_sc_hd__and4_2 18
sky130_fd_sc_hd__and4b_2 1
sky130_fd_sc_hd__buf_1 140
sky130_fd_sc_hd__buf_2 1
sky130_fd_sc_hd__conb_1 19
sky130_fd_sc_hd__dfrtp_2 84
sky130_fd_sc_hd__and2_2 22
sky130_fd_sc_hd__and2b_2 7
sky130_fd_sc_hd__and3_2 74
sky130_fd_sc_hd__and3b_2 7
sky130_fd_sc_hd__and4_2 27
sky130_fd_sc_hd__and4b_2 3
sky130_fd_sc_hd__and4bb_2 2
sky130_fd_sc_hd__buf_1 141
sky130_fd_sc_hd__conb_1 20
sky130_fd_sc_hd__dfrtp_2 86
sky130_fd_sc_hd__dfstp_2 4
sky130_fd_sc_hd__dfxtp_2 62
sky130_fd_sc_hd__inv_2 31
sky130_fd_sc_hd__mux2_2 90
sky130_fd_sc_hd__nand2_2 30
sky130_fd_sc_hd__mux2_2 86
sky130_fd_sc_hd__nand2_2 32
sky130_fd_sc_hd__nand2b_2 1
sky130_fd_sc_hd__nand3_2 3
sky130_fd_sc_hd__nand3b_2 1
sky130_fd_sc_hd__nand4_2 1
sky130_fd_sc_hd__nor2_2 28
sky130_fd_sc_hd__nor2b_2 1
sky130_fd_sc_hd__nand3_2 4
sky130_fd_sc_hd__nand3b_2 2
sky130_fd_sc_hd__nor2_2 38
sky130_fd_sc_hd__nor3_2 4
sky130_fd_sc_hd__nor3b_2 6
sky130_fd_sc_hd__nor3b_2 3
sky130_fd_sc_hd__nor4_2 1
sky130_fd_sc_hd__nor4b_2 2
sky130_fd_sc_hd__o211a_2 4
sky130_fd_sc_hd__o21a_2 8
sky130_fd_sc_hd__o21ai_2 23
sky130_fd_sc_hd__o21ba_2 2
sky130_fd_sc_hd__o2111a_2 1
sky130_fd_sc_hd__o211a_2 5
sky130_fd_sc_hd__o211ai_2 1
sky130_fd_sc_hd__o21a_2 9
sky130_fd_sc_hd__o21ai_2 10
sky130_fd_sc_hd__o21ba_2 6
sky130_fd_sc_hd__o221a_2 3
sky130_fd_sc_hd__o22a_2 2
sky130_fd_sc_hd__o22ai_2 2
sky130_fd_sc_hd__o2bb2a_2 1
sky130_fd_sc_hd__o2bb2a_2 2
sky130_fd_sc_hd__o311a_2 1
sky130_fd_sc_hd__o31a_2 1
sky130_fd_sc_hd__o31ai_2 2
sky130_fd_sc_hd__o32a_2 1
sky130_fd_sc_hd__or2_2 22
sky130_fd_sc_hd__or2b_2 5
sky130_fd_sc_hd__or3_2 28
sky130_fd_sc_hd__or3b_2 6
sky130_fd_sc_hd__or4_2 33
sky130_fd_sc_hd__xnor2_2 2
sky130_fd_sc_hd__xor2_2 6
sky130_fd_sc_hd__or2_2 31
sky130_fd_sc_hd__or2b_2 1
sky130_fd_sc_hd__or3_2 27
sky130_fd_sc_hd__or3b_2 7
sky130_fd_sc_hd__or4_2 31
sky130_fd_sc_hd__or4b_2 5
sky130_fd_sc_hd__or4bb_2 1
sky130_fd_sc_hd__xnor2_2 6
sky130_fd_sc_hd__xor2_2 2

Chip area for module '\tt_um_iron_violet_simon': 9163.788800
Chip area for module '\tt_um_iron_violet_simon': 9312.681600

Binary file modified projects/tt_um_iron_violet_simon/tt_um_iron_violet_simon.gds
Binary file not shown.
109 changes: 54 additions & 55 deletions projects/tt_um_iron_violet_simon/tt_um_iron_violet_simon.lef
Original file line number Diff line number Diff line change
Expand Up @@ -346,7 +346,7 @@ MACRO tt_um_iron_violet_simon
PIN uo_out[1]
DIRECTION OUTPUT TRISTATE ;
USE SIGNAL ;
ANTENNADIFFAREA 0.795200 ;
ANTENNADIFFAREA 0.445500 ;
PORT
LAYER met4 ;
RECT 84.950 110.520 85.250 111.520 ;
Expand All @@ -364,7 +364,7 @@ MACRO tt_um_iron_violet_simon
PIN uo_out[3]
DIRECTION OUTPUT TRISTATE ;
USE SIGNAL ;
ANTENNADIFFAREA 0.445500 ;
ANTENNADIFFAREA 0.795200 ;
PORT
LAYER met4 ;
RECT 77.590 110.520 77.890 111.520 ;
Expand All @@ -373,7 +373,6 @@ MACRO tt_um_iron_violet_simon
PIN uo_out[4]
DIRECTION OUTPUT TRISTATE ;
USE SIGNAL ;
ANTENNADIFFAREA 0.795200 ;
PORT
LAYER met4 ;
RECT 73.910 110.520 74.210 111.520 ;
Expand Down Expand Up @@ -430,60 +429,60 @@ MACRO tt_um_iron_violet_simon
LAYER met1 ;
RECT 2.760 2.480 159.040 109.780 ;
LAYER met2 ;
RECT 4.230 2.535 159.010 110.685 ;
RECT 4.230 2.535 159.010 111.365 ;
LAYER met3 ;
RECT 3.950 2.555 159.030 110.665 ;
LAYER met4 ;
RECT 4.690 110.120 7.270 111.170 ;
RECT 8.370 110.120 10.950 111.170 ;
RECT 12.050 110.120 14.630 111.170 ;
RECT 15.730 110.120 18.310 111.170 ;
RECT 19.410 110.120 21.990 111.170 ;
RECT 23.090 110.120 25.670 111.170 ;
RECT 26.770 110.120 29.350 111.170 ;
RECT 30.450 110.120 33.030 111.170 ;
RECT 34.130 110.120 36.710 111.170 ;
RECT 37.810 110.120 40.390 111.170 ;
RECT 41.490 110.120 44.070 111.170 ;
RECT 45.170 110.120 47.750 111.170 ;
RECT 48.850 110.120 51.430 111.170 ;
RECT 52.530 110.120 55.110 111.170 ;
RECT 56.210 110.120 58.790 111.170 ;
RECT 59.890 110.120 62.470 111.170 ;
RECT 63.570 110.120 66.150 111.170 ;
RECT 67.250 110.120 69.830 111.170 ;
RECT 70.930 110.120 73.510 111.170 ;
RECT 74.610 110.120 77.190 111.170 ;
RECT 78.290 110.120 80.870 111.170 ;
RECT 81.970 110.120 84.550 111.170 ;
RECT 85.650 110.120 88.230 111.170 ;
RECT 89.330 110.120 91.910 111.170 ;
RECT 93.010 110.120 95.590 111.170 ;
RECT 96.690 110.120 99.270 111.170 ;
RECT 100.370 110.120 102.950 111.170 ;
RECT 104.050 110.120 106.630 111.170 ;
RECT 107.730 110.120 110.310 111.170 ;
RECT 111.410 110.120 113.990 111.170 ;
RECT 115.090 110.120 117.670 111.170 ;
RECT 118.770 110.120 121.350 111.170 ;
RECT 122.450 110.120 125.030 111.170 ;
RECT 126.130 110.120 128.710 111.170 ;
RECT 129.810 110.120 132.390 111.170 ;
RECT 133.490 110.120 136.070 111.170 ;
RECT 137.170 110.120 139.750 111.170 ;
RECT 140.850 110.120 143.430 111.170 ;
RECT 144.530 110.120 147.110 111.170 ;
RECT 148.210 110.120 150.790 111.170 ;
RECT 151.890 110.120 154.470 111.170 ;
RECT 3.950 2.555 159.030 111.345 ;
LAYER met4 ;
RECT 4.690 110.120 7.270 111.345 ;
RECT 8.370 110.120 10.950 111.345 ;
RECT 12.050 110.120 14.630 111.345 ;
RECT 15.730 110.120 18.310 111.345 ;
RECT 19.410 110.120 21.990 111.345 ;
RECT 23.090 110.120 25.670 111.345 ;
RECT 26.770 110.120 29.350 111.345 ;
RECT 30.450 110.120 33.030 111.345 ;
RECT 34.130 110.120 36.710 111.345 ;
RECT 37.810 110.120 40.390 111.345 ;
RECT 41.490 110.120 44.070 111.345 ;
RECT 45.170 110.120 47.750 111.345 ;
RECT 48.850 110.120 51.430 111.345 ;
RECT 52.530 110.120 55.110 111.345 ;
RECT 56.210 110.120 58.790 111.345 ;
RECT 59.890 110.120 62.470 111.345 ;
RECT 63.570 110.120 66.150 111.345 ;
RECT 67.250 110.120 69.830 111.345 ;
RECT 70.930 110.120 73.510 111.345 ;
RECT 74.610 110.120 77.190 111.345 ;
RECT 78.290 110.120 80.870 111.345 ;
RECT 81.970 110.120 84.550 111.345 ;
RECT 85.650 110.120 88.230 111.345 ;
RECT 89.330 110.120 91.910 111.345 ;
RECT 93.010 110.120 95.590 111.345 ;
RECT 96.690 110.120 99.270 111.345 ;
RECT 100.370 110.120 102.950 111.345 ;
RECT 104.050 110.120 106.630 111.345 ;
RECT 107.730 110.120 110.310 111.345 ;
RECT 111.410 110.120 113.990 111.345 ;
RECT 115.090 110.120 117.670 111.345 ;
RECT 118.770 110.120 121.350 111.345 ;
RECT 122.450 110.120 125.030 111.345 ;
RECT 126.130 110.120 128.710 111.345 ;
RECT 129.810 110.120 132.390 111.345 ;
RECT 133.490 110.120 136.070 111.345 ;
RECT 137.170 110.120 139.750 111.345 ;
RECT 140.850 110.120 143.430 111.345 ;
RECT 144.530 110.120 147.110 111.345 ;
RECT 148.210 110.120 150.790 111.345 ;
RECT 151.890 110.120 154.470 111.345 ;
RECT 3.975 109.440 155.185 110.120 ;
RECT 3.975 19.895 20.995 109.440 ;
RECT 23.395 19.895 40.430 109.440 ;
RECT 42.830 19.895 59.865 109.440 ;
RECT 62.265 19.895 79.300 109.440 ;
RECT 81.700 19.895 98.735 109.440 ;
RECT 101.135 19.895 118.170 109.440 ;
RECT 120.570 19.895 137.605 109.440 ;
RECT 140.005 19.895 155.185 109.440 ;
RECT 3.975 19.215 20.995 109.440 ;
RECT 23.395 19.215 40.430 109.440 ;
RECT 42.830 19.215 59.865 109.440 ;
RECT 62.265 19.215 79.300 109.440 ;
RECT 81.700 19.215 98.735 109.440 ;
RECT 101.135 19.215 118.170 109.440 ;
RECT 120.570 19.215 137.605 109.440 ;
RECT 140.005 19.215 155.185 109.440 ;
END
END tt_um_iron_violet_simon
END LIBRARY
Expand Down
Loading

0 comments on commit 9a3f204

Please sign in to comment.