Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update project tt_um_7seg_animated (adennen/tt06-arond-project) #502

Merged
merged 1 commit into from
Apr 19, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions projects/tt_um_7seg_animated/commit_id.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
{
"app": "Tiny Tapeout tt06 c74b14ac",
"app": "Tiny Tapeout tt06 7f56a586",
"repo": "https://github.com/adennen/tt06-arond-project",
"commit": "8b6b258e393536719b2608c180ef13e5a4c22d2c",
"workflow_url": "https://github.com/adennen/tt06-arond-project/actions/runs/8747807382",
"commit": "61634a0851094493b6f77a0b4e780abdecf41292",
"workflow_url": "https://github.com/adennen/tt06-arond-project/actions/runs/8758050586",
"sort_id": 1712418696060,
"openlane_version": "OpenLane eaba5192c45aa333ab45216ce1773d75d539e9b3",
"pdk_version": "open_pdks cd1748bb197f9b7af62a54507de6624e30363943"
Expand Down
4 changes: 4 additions & 0 deletions projects/tt_um_7seg_animated/docs/info.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,12 +13,16 @@ Animates the 7-segment display by reading in the input switches to create a cust

Inputs 0 through 6 map to outputs 0 though 6 (display segments a through g). Output 7 becomes active while input 7 is active.

The uio inputs are used for an experimental pwm dimming feature, to enable pwm display dimming, set uio pin 7 active. uio inputs 0 through 6 set a 7-bit pwm dimming value on an 8-bit pwm unit. The pwm lsb input is tied to 0.

The circuit works by iterating over the character bit pattern, enabling segments sequentially at a speed of about 0.12 seconds per segment.

## How to test

Toggle the input switches to create a character with inputs 0-6, toggle input 7 to start the character animation sequence.

Optionally dim the display by enabling the pwm feature described above.

## External hardware

none
17 changes: 9 additions & 8 deletions projects/tt_um_7seg_animated/info.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,7 @@ project:
- "tt_um_7seg_animated.v"
- "segment_animator.v"
- "clock_divider.v"
- "pwm.v"

# The pinout of your project. Leave unused pins blank. DO NOT delete or add any pins.
pinout:
Expand All @@ -42,14 +43,14 @@ pinout:
uo[7]: "seg7"

# Bidirectional pins
uio[0]: ""
uio[1]: ""
uio[2]: ""
uio[3]: ""
uio[4]: ""
uio[5]: ""
uio[6]: ""
uio[7]: ""
uio[0]: "pwm_bit1"
uio[1]: "pwm_bit2"
uio[2]: "pwm_bit3"
uio[3]: "pwm_bit4"
uio[4]: "pwm_bit5"
uio[5]: "pwm_bit6"
uio[6]: "pwm_bit7"
uio[7]: "usePwm"

# Do not change!
yaml_version: 6
2 changes: 1 addition & 1 deletion projects/tt_um_7seg_animated/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_7seg_animated,wokwi,flow completed,0h1m12s0ms,0h0m53s0ms,39766.70201484623,0.01795472,19883.351007423116,20.31,22.8873,516.57,312,0,0,0,0,0,0,0,0,0,0,-1,-1,5523,2112,0.0,-1,-1,-1,-1,0.0,-1,-1,-1,-1,3643725.0,0.0,12.33,8.12,1.15,0.24,-1,252,352,37,137,0,0,0,275,3,18,16,25,52,16,6,10,63,105,7,1026,225,0,303,357,1911,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_7seg_animated,wokwi,flow completed,0h1m17s0ms,0h0m59s0ms,44445.13754600462,0.01795472,22222.56877300231,22.98,24.996199999999998,522.75,345,0,0,0,0,0,0,0,0,0,0,-1,-1,6477,2547,0.0,-1,-1,-1,-1,0.0,-1,-1,-1,-1,4078110.0,0.0,13.88,10.59,1.68,0.39,-1,283,453,45,166,0,0,0,339,28,18,10,23,44,27,8,17,80,69,8,1024,225,0,289,399,1937,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
84 changes: 37 additions & 47 deletions projects/tt_um_7seg_animated/stats/synthesis-stats.txt
Original file line number Diff line number Diff line change
@@ -1,64 +1,54 @@

65. Printing statistics.
66. Printing statistics.

=== tt_um_7seg_animated ===

Number of wires: 296
Number of wire bits: 331
Number of public wires: 61
Number of public wire bits: 96
Number of wires: 329
Number of wire bits: 364
Number of public wires: 77
Number of public wire bits: 112
Number of memories: 0
Number of memory bits: 0
Number of processes: 0
Number of cells: 312
sky130_fd_sc_hd__a211o_2 1
Number of cells: 345
sky130_fd_sc_hd__a211oi_2 1
sky130_fd_sc_hd__a21boi_2 1
sky130_fd_sc_hd__a21o_2 2
sky130_fd_sc_hd__a21oi_2 3
sky130_fd_sc_hd__a221o_2 1
sky130_fd_sc_hd__a22o_2 1
sky130_fd_sc_hd__a2bb2o_2 1
sky130_fd_sc_hd__a21bo_2 1
sky130_fd_sc_hd__a21boi_2 2
sky130_fd_sc_hd__a21o_2 8
sky130_fd_sc_hd__a21oi_2 13
sky130_fd_sc_hd__a221o_2 2
sky130_fd_sc_hd__a22o_2 7
sky130_fd_sc_hd__a31o_2 10
sky130_fd_sc_hd__a32o_2 3
sky130_fd_sc_hd__and2_2 14
sky130_fd_sc_hd__and2b_2 1
sky130_fd_sc_hd__and3_2 7
sky130_fd_sc_hd__and3b_2 1
sky130_fd_sc_hd__and4_2 6
sky130_fd_sc_hd__and4b_2 4
sky130_fd_sc_hd__a32o_2 1
sky130_fd_sc_hd__a41o_2 1
sky130_fd_sc_hd__and2_2 25
sky130_fd_sc_hd__and2b_2 4
sky130_fd_sc_hd__and3_2 15
sky130_fd_sc_hd__and3b_2 6
sky130_fd_sc_hd__and4_2 8
sky130_fd_sc_hd__and4b_2 5
sky130_fd_sc_hd__and4bb_2 2
sky130_fd_sc_hd__buf_1 36
sky130_fd_sc_hd__buf_2 1
sky130_fd_sc_hd__buf_1 35
sky130_fd_sc_hd__conb_1 16
sky130_fd_sc_hd__dfrtp_2 52
sky130_fd_sc_hd__dfxtp_2 8
sky130_fd_sc_hd__inv_2 66
sky130_fd_sc_hd__mux2_2 14
sky130_fd_sc_hd__dfxtp_2 77
sky130_fd_sc_hd__inv_2 16
sky130_fd_sc_hd__mux2_2 9
sky130_fd_sc_hd__mux4_2 1
sky130_fd_sc_hd__nand2_2 10
sky130_fd_sc_hd__nand2b_2 1
sky130_fd_sc_hd__nand2_2 12
sky130_fd_sc_hd__nand3_2 1
sky130_fd_sc_hd__nand4_2 1
sky130_fd_sc_hd__nor2_2 10
sky130_fd_sc_hd__nor2b_2 1
sky130_fd_sc_hd__nor3_2 3
sky130_fd_sc_hd__o2111a_2 1
sky130_fd_sc_hd__nor2_2 16
sky130_fd_sc_hd__nor3_2 1
sky130_fd_sc_hd__nor4_2 1
sky130_fd_sc_hd__nor4b_2 2
sky130_fd_sc_hd__o211a_2 3
sky130_fd_sc_hd__o211ai_2 1
sky130_fd_sc_hd__o21a_2 10
sky130_fd_sc_hd__o21ai_2 1
sky130_fd_sc_hd__o2bb2a_2 1
sky130_fd_sc_hd__o31a_2 2
sky130_fd_sc_hd__o31ai_2 2
sky130_fd_sc_hd__o32a_2 1
sky130_fd_sc_hd__or2_2 1
sky130_fd_sc_hd__or2b_2 1
sky130_fd_sc_hd__or3_2 1
sky130_fd_sc_hd__or4_2 1
sky130_fd_sc_hd__or4b_2 2
sky130_fd_sc_hd__o21a_2 16
sky130_fd_sc_hd__o21ai_2 10
sky130_fd_sc_hd__o221a_2 3
sky130_fd_sc_hd__o22a_2 2
sky130_fd_sc_hd__or2_2 6
sky130_fd_sc_hd__or2b_2 5
sky130_fd_sc_hd__or4b_2 1
sky130_fd_sc_hd__xnor2_2 1
sky130_fd_sc_hd__xor2_2 3

Chip area for module '\tt_um_7seg_animated': 3233.100800
Chip area for module '\tt_um_7seg_animated': 3658.508800

Binary file modified projects/tt_um_7seg_animated/tt_um_7seg_animated.gds
Binary file not shown.
53 changes: 27 additions & 26 deletions projects/tt_um_7seg_animated/tt_um_7seg_animated.lef
Original file line number Diff line number Diff line change
Expand Up @@ -149,6 +149,7 @@ MACRO tt_um_7seg_animated
PIN uio_in[0]
DIRECTION INPUT ;
USE SIGNAL ;
ANTENNAGATEAREA 0.196500 ;
PORT
LAYER met4 ;
RECT 118.070 110.520 118.370 111.520 ;
Expand All @@ -157,6 +158,7 @@ MACRO tt_um_7seg_animated
PIN uio_in[1]
DIRECTION INPUT ;
USE SIGNAL ;
ANTENNAGATEAREA 0.196500 ;
PORT
LAYER met4 ;
RECT 114.390 110.520 114.690 111.520 ;
Expand All @@ -165,6 +167,7 @@ MACRO tt_um_7seg_animated
PIN uio_in[2]
DIRECTION INPUT ;
USE SIGNAL ;
ANTENNAGATEAREA 0.196500 ;
PORT
LAYER met4 ;
RECT 110.710 110.520 111.010 111.520 ;
Expand All @@ -173,6 +176,7 @@ MACRO tt_um_7seg_animated
PIN uio_in[3]
DIRECTION INPUT ;
USE SIGNAL ;
ANTENNAGATEAREA 0.196500 ;
PORT
LAYER met4 ;
RECT 107.030 110.520 107.330 111.520 ;
Expand All @@ -181,6 +185,7 @@ MACRO tt_um_7seg_animated
PIN uio_in[4]
DIRECTION INPUT ;
USE SIGNAL ;
ANTENNAGATEAREA 0.196500 ;
PORT
LAYER met4 ;
RECT 103.350 110.520 103.650 111.520 ;
Expand All @@ -189,6 +194,7 @@ MACRO tt_um_7seg_animated
PIN uio_in[5]
DIRECTION INPUT ;
USE SIGNAL ;
ANTENNAGATEAREA 0.196500 ;
PORT
LAYER met4 ;
RECT 99.670 110.520 99.970 111.520 ;
Expand All @@ -197,6 +203,7 @@ MACRO tt_um_7seg_animated
PIN uio_in[6]
DIRECTION INPUT ;
USE SIGNAL ;
ANTENNAGATEAREA 0.196500 ;
PORT
LAYER met4 ;
RECT 95.990 110.520 96.290 111.520 ;
Expand All @@ -205,6 +212,7 @@ MACRO tt_um_7seg_animated
PIN uio_in[7]
DIRECTION INPUT ;
USE SIGNAL ;
ANTENNAGATEAREA 0.196500 ;
PORT
LAYER met4 ;
RECT 92.310 110.520 92.610 111.520 ;
Expand Down Expand Up @@ -341,8 +349,7 @@ MACRO tt_um_7seg_animated
PIN uo_out[0]
DIRECTION OUTPUT TRISTATE ;
USE SIGNAL ;
ANTENNAGATEAREA 0.247500 ;
ANTENNADIFFAREA 0.891000 ;
ANTENNADIFFAREA 0.445500 ;
PORT
LAYER met4 ;
RECT 88.630 110.520 88.930 111.520 ;
Expand All @@ -351,8 +358,7 @@ MACRO tt_um_7seg_animated
PIN uo_out[1]
DIRECTION OUTPUT TRISTATE ;
USE SIGNAL ;
ANTENNAGATEAREA 0.247500 ;
ANTENNADIFFAREA 0.891000 ;
ANTENNADIFFAREA 0.445500 ;
PORT
LAYER met4 ;
RECT 84.950 110.520 85.250 111.520 ;
Expand All @@ -361,8 +367,7 @@ MACRO tt_um_7seg_animated
PIN uo_out[2]
DIRECTION OUTPUT TRISTATE ;
USE SIGNAL ;
ANTENNAGATEAREA 0.247500 ;
ANTENNADIFFAREA 0.891000 ;
ANTENNADIFFAREA 0.445500 ;
PORT
LAYER met4 ;
RECT 81.270 110.520 81.570 111.520 ;
Expand All @@ -371,8 +376,7 @@ MACRO tt_um_7seg_animated
PIN uo_out[3]
DIRECTION OUTPUT TRISTATE ;
USE SIGNAL ;
ANTENNAGATEAREA 0.247500 ;
ANTENNADIFFAREA 0.891000 ;
ANTENNADIFFAREA 0.445500 ;
PORT
LAYER met4 ;
RECT 77.590 110.520 77.890 111.520 ;
Expand All @@ -381,8 +385,7 @@ MACRO tt_um_7seg_animated
PIN uo_out[4]
DIRECTION OUTPUT TRISTATE ;
USE SIGNAL ;
ANTENNAGATEAREA 0.247500 ;
ANTENNADIFFAREA 0.891000 ;
ANTENNADIFFAREA 0.445500 ;
PORT
LAYER met4 ;
RECT 73.910 110.520 74.210 111.520 ;
Expand All @@ -391,8 +394,7 @@ MACRO tt_um_7seg_animated
PIN uo_out[5]
DIRECTION OUTPUT TRISTATE ;
USE SIGNAL ;
ANTENNAGATEAREA 0.247500 ;
ANTENNADIFFAREA 0.891000 ;
ANTENNADIFFAREA 0.445500 ;
PORT
LAYER met4 ;
RECT 70.230 110.520 70.530 111.520 ;
Expand All @@ -401,8 +403,7 @@ MACRO tt_um_7seg_animated
PIN uo_out[6]
DIRECTION OUTPUT TRISTATE ;
USE SIGNAL ;
ANTENNAGATEAREA 0.247500 ;
ANTENNADIFFAREA 0.891000 ;
ANTENNADIFFAREA 0.445500 ;
PORT
LAYER met4 ;
RECT 66.550 110.520 66.850 111.520 ;
Expand All @@ -411,7 +412,7 @@ MACRO tt_um_7seg_animated
PIN uo_out[7]
DIRECTION OUTPUT TRISTATE ;
USE SIGNAL ;
ANTENNADIFFAREA 0.795200 ;
ANTENNADIFFAREA 0.891000 ;
PORT
LAYER met4 ;
RECT 62.870 110.520 63.170 111.520 ;
Expand Down Expand Up @@ -442,11 +443,11 @@ MACRO tt_um_7seg_animated
LAYER li1 ;
RECT 2.760 2.635 158.240 108.885 ;
LAYER met1 ;
RECT 2.760 2.480 159.460 109.440 ;
RECT 2.760 2.480 159.040 109.040 ;
LAYER met2 ;
RECT 4.230 2.535 159.010 110.005 ;
RECT 4.230 2.535 159.010 110.685 ;
LAYER met3 ;
RECT 3.950 2.555 159.030 109.985 ;
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 ;
Expand Down Expand Up @@ -491,14 +492,14 @@ MACRO tt_um_7seg_animated
RECT 151.890 110.120 154.470 111.170 ;
RECT 155.570 110.120 158.150 111.170 ;
RECT 3.975 109.440 158.865 110.120 ;
RECT 3.975 88.575 20.995 109.440 ;
RECT 23.395 88.575 40.430 109.440 ;
RECT 42.830 88.575 59.865 109.440 ;
RECT 62.265 88.575 79.300 109.440 ;
RECT 81.700 88.575 98.735 109.440 ;
RECT 101.135 88.575 118.170 109.440 ;
RECT 120.570 88.575 137.605 109.440 ;
RECT 140.005 88.575 157.040 109.440 ;
RECT 3.975 74.295 20.995 109.440 ;
RECT 23.395 74.295 40.430 109.440 ;
RECT 42.830 74.295 59.865 109.440 ;
RECT 62.265 74.295 79.300 109.440 ;
RECT 81.700 74.295 98.735 109.440 ;
RECT 101.135 74.295 118.170 109.440 ;
RECT 120.570 74.295 137.605 109.440 ;
RECT 140.005 74.295 157.040 109.440 ;
END
END tt_um_7seg_animated
END LIBRARY
Expand Down
Loading